Skip to content

Commit

Permalink
Upd locale list (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeinAsylum authored Oct 17, 2024
1 parent 1ce9883 commit aeefdc1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CreatePaymentLinkFormComponent extends FormGroupSuperclass<
onHoldExpiration: HoldExpiration.Cancel,
});

localeCodes = ['ru', 'en', 'ar', 'az', 'bn', 'ja', 'ko', 'pt', 'tr'];
localeCodes = ['ru', 'en', 'ar', 'az', 'pt', 'tj', 'tr', 'uz'];

constructor(
private log: NotifyLogService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ export class LocaleCode implements PipeTransform {
return this.t.translate('createPaymentLinkForm.localeCodes.ar', null, 'components');
case 'az':
return this.t.translate('createPaymentLinkForm.localeCodes.az', null, 'components');
case 'bn':
return this.t.translate('createPaymentLinkForm.localeCodes.bn', null, 'components');
case 'ja':
return this.t.translate('createPaymentLinkForm.localeCodes.ja', null, 'components');
case 'ko':
return this.t.translate('createPaymentLinkForm.localeCodes.ko', null, 'components');
case 'pt':
return this.t.translate('createPaymentLinkForm.localeCodes.pt', null, 'components');
case 'tj':
return this.t.translate('createPaymentLinkForm.localeCodes.tj', null, 'components');
case 'tr':
return this.t.translate('createPaymentLinkForm.localeCodes.tr', null, 'components');
case 'uz':
return this.t.translate('createPaymentLinkForm.localeCodes.uz', null, 'components');
default:
return localeCode;
}
Expand Down
7 changes: 3 additions & 4 deletions src/assets/i18n/components/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,10 @@
"en": "en - English",
"ar": "ar - Arabic",
"az": "az - Azerbaijani",
"bn": "bn - Bengali",
"ja": "ja - Japanese",
"ko": "ko - Korean",
"pt": "pt - Portuguese",
"tr": "tr - Turkish"
"tj": "tj - Tajik",
"tr": "tr - Turkish",
"uz": "uz - Uzbek"
}
},
"createdExistingSwitch": {
Expand Down
9 changes: 4 additions & 5 deletions src/assets/i18n/components/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,15 @@
"capture": "Списать с покупателя"
},
"localeCodes": {
"auto": "Определять автоматически",
"auto": "Определить автоматически",
"ru": "ru - Русский",
"en": "en - Английский",
"ar": "ar - Арабский",
"az": "az - Азербайджанский",
"bn": "bn - Бенгальский",
"ja": "ja - Японский",
"ko": "ko - Корейский",
"pt": "pt - Португальский",
"tr": "tr - Турецкий"
"tj": "tj - Таджикский",
"tr": "tr - Турецкий",
"uz": "uz - Узбекский"
}
},
"createdExistingSwitch": {
Expand Down

0 comments on commit aeefdc1

Please sign in to comment.