mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cleanup some localications and added Esperanto
This commit is contained in:
parent
b5920cbc32
commit
db95565b70
40 changed files with 44 additions and 227 deletions
|
|
@ -16,13 +16,12 @@ export class UserSettingsContacts /*extends AbstractViewSettings*/ {
|
|||
this.syncUser = ContactUserStore.syncUser;
|
||||
this.syncPass = ContactUserStore.syncPass;
|
||||
|
||||
const i18nSyncMode = key => i18n('SETTINGS_CONTACTS/SYNC_' + key);
|
||||
this.syncModeOptions = koComputable(() => {
|
||||
translatorTrigger();
|
||||
return [
|
||||
{ id: 0, name: i18nSyncMode('NO') },
|
||||
{ id: 1, name: i18nSyncMode('YES') },
|
||||
{ id: 2, name: i18nSyncMode('READ') },
|
||||
{ id: 0, name: i18n('GLOBAL/NO') },
|
||||
{ id: 1, name: i18n('GLOBAL/YES') },
|
||||
{ id: 2, name: i18n('SETTINGS_CONTACTS/SYNC_READ') },
|
||||
];
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@ export class AskPopupView extends AbstractViewPopup {
|
|||
this.askDesc(sAskDesc || '');
|
||||
this.askPass(askPass);
|
||||
this.passphrase('');
|
||||
this.yesButton(i18n(btnText || 'POPUPS_ASK/BUTTON_YES'));
|
||||
this.noButton(i18n(askPass ? 'GLOBAL/CANCEL' : 'POPUPS_ASK/BUTTON_NO'));
|
||||
this.yesButton(i18n(btnText || 'GLOBAL/YES'));
|
||||
this.noButton(i18n(askPass ? 'GLOBAL/CANCEL' : 'GLOBAL/NO'));
|
||||
this.fYesAction = fYesFunc;
|
||||
this.fNoAction = fNoFunc;
|
||||
this.focusOnShow = focusOnShow ? (askPass ? 'input[type="password"]' : '.buttonYes') : '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue