Skip to content

Commit

Permalink
(fix) add missing localization text in the account recovery panel in …
Browse files Browse the repository at this point in the history
…my account
  • Loading branch information
Achintha Isuru committed Nov 14, 2023
1 parent 9fb6764 commit 5dda670
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const AccountRecoveryComponent: FunctionComponent<AccountRecoveryProps> =
placeholder={
!isAccountRecoveryDetailsLoading &&
!(isQsRecoveryEnabled || isNotificationRecoveryEnabled || isUsernameRecoveryEnabled)
? "No Account Recovery options available"
? t("myAccount:sections.accountRecovery.emptyPlaceholderText")
: null
}
>
Expand Down
3 changes: 2 additions & 1 deletion modules/i18n/src/models/namespaces/myaccount-ns.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -1026,6 +1026,7 @@ export interface MyAccountNS {
sections: {
accountRecovery: {
description: string;
emptyPlaceholderText: string;
heading: string;
};
changePassword: {
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/src/translations/de-DE/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,7 @@ export const myAccount: MyAccountNS = {
"sections": {
"accountRecovery": {
"description": "Verwalten Sie Wiederherstellungsinformationen, mit denen Sie Ihr Passwort wiederherstellen können",
"emptyPlaceholderText": "Keine Optionen zur Wiederherstellung von Kontos zur Verfügung stehen",
"heading": "Konto-Wiederherstellung"
},
"changePassword": {
Expand Down
4 changes: 2 additions & 2 deletions modules/i18n/src/translations/en-US/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1720,8 +1720,8 @@ export const myAccount: MyAccountNS = {
},
sections: {
accountRecovery: {
description:
"Manage recovery information that we can use to help you recover your password",
description: "Manage recovery information that we can use to help you recover your password",
emptyPlaceholderText: "No Account Recovery options available",
heading: "Account Recovery"
},
changePassword: {
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/src/translations/es-ES/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,7 @@ export const myAccount: MyAccountNS = {
"sections": {
"accountRecovery": {
"description": "Administre la información de recuperación que podemos usar para ayudarlo a recuperar su contraseña",
"emptyPlaceholderText": "No hay opciones de recuperación de cuenta disponibles",
"heading": "Recuperación de Cuenta"
},
"changePassword": {
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/src/translations/fr-FR/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,7 @@ export const myAccount: MyAccountNS = {
sections: {
accountRecovery: {
description: "Gérer les informations de récupération que nous pouvons utiliser pour vous aider à récupérer votre mot de passe",
emptyPlaceholderText: "Aucune option de récupération de compte disponible",
heading: "Récupération de votre compte"
},
changePassword: {
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/src/translations/ja-JP/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1586,6 +1586,7 @@ export const myAccount: MyAccountNS = {
"sections": {
"accountRecovery": {
"description": "パスワードの回復に役立つリカバリ情報を管理する",
"emptyPlaceholderText": "アカウントの回復オプションはありません",
"heading": "アカウント復旧"
},
"changePassword": {
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/src/translations/pt-BR/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1708,6 +1708,7 @@ export const myAccount: MyAccountNS = {
sections: {
accountRecovery: {
description: "Gerenciar informações de recuperação que podemos usar para ajudá -lo a recuperar sua senha",
emptyPlaceholderText: "Sem opções de recuperação de conta disponíveis",
heading: "Recuperação de Conta"
},
changePassword: {
Expand Down
4 changes: 2 additions & 2 deletions modules/i18n/src/translations/si-LK/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1715,9 +1715,9 @@ export const myAccount: MyAccountNS = {
},
sections: {
accountRecovery: {
description:
"ඔබගේ පරිශීලක මුරපදය නැවත ලබා ගැනීමට ඔබට උදව් කිරීමට අපට භාවිතා කළ හැකි ප්‍රතිසාධන තොරතුරු " +
description: "ඔබගේ පරිශීලක මුරපදය නැවත ලබා ගැනීමට ඔබට උදව් කිරීමට අපට භාවිතා කළ හැකි ප්‍රතිසාධන තොරතුරු " +
"කළමනාකරණය කරන්න",
emptyPlaceholderText: "ගිණුම් ප්රතිසාධන විකල්ප නොමැත",
heading: "ගිණුම් ප්‍රතිසාධනය"
},
changePassword: {
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/src/translations/ta-IN/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,7 @@ export const myAccount: MyAccountNS = {
sections: {
accountRecovery: {
description: "உங்கள் கடவுச்சொல்லை மீட்டெடுக்க உதவ நாங்கள் பயன்படுத்தக்கூடிய மீட்பு தகவல்களை நிர்வகிக்கவும்",
emptyPlaceholderText: "கணக்கு மீட்பு விருப்பங்கள் எதுவும் கிடைக்கவில்லை",
heading: "கணக்கு மீட்பு"
},
changePassword: {
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/src/translations/zh-CN/portals/myaccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1586,6 +1586,7 @@ export const myAccount: MyAccountNS = {
"sections": {
"accountRecovery": {
"description": "管理我们可以用来帮助您恢复密码的恢复信息",
"emptyPlaceholderText": "没有帐户恢复选项",
"heading": "帐户恢复"
},
"changePassword": {
Expand Down

0 comments on commit 5dda670

Please sign in to comment.