Upd locale list (#194)

This commit is contained in:
Ildar Galeev 2024-10-17 18:04:21 +07:00 committed by GitHub
parent 1ce9883d5d
commit aeefdc1d2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 16 deletions

View File

@ -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,

View File

@ -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;
}

View File

@ -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": {

View File

@ -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": {