mirror of https://github.com/keeweb/keeweb.git
open plugins from languages
This commit is contained in:
parent
9f87d8fe49
commit
56a07ad0e7
|
@ -326,6 +326,7 @@
|
|||
"setGenThemeSl": "Solarized light",
|
||||
"setGenLocale": "Language",
|
||||
"setGenLocImprove": "translate the app to your language",
|
||||
"setGenLocOther": "other languages are available as plugins",
|
||||
"setGenLocMsg": "Help translating KeeWeb",
|
||||
"setGenLocMsgBody": "If you would like to see KeeWeb in your language, please help us with translation.",
|
||||
"setGenLocMsgLink": "Translate the app",
|
||||
|
|
|
@ -177,11 +177,7 @@ const SettingsGeneralView = Backbone.View.extend({
|
|||
const locale = e.target.value;
|
||||
if (locale === '...') {
|
||||
e.target.value = AppSettingsModel.instance.get('locale') || 'en';
|
||||
Alerts.info({
|
||||
icon: 'language',
|
||||
header: Locale.setGenLocMsg,
|
||||
body: Locale.setGenLocMsgBody + ` <a target="_blank" href="${Links.Translation}">${Locale.setGenLocMsgLink}</a>`
|
||||
});
|
||||
this.appModel.menu.select({ item: this.appModel.menu.pluginsSection.get('items').first() });
|
||||
return;
|
||||
}
|
||||
AppSettingsModel.instance.set('locale', locale);
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
{{#each locales as |name key|}}
|
||||
<option value="{{key}}" {{#ifeq key ../activeLocale}}selected{{/ifeq}}>{{name}}</option>
|
||||
{{/each}}
|
||||
<option value="...">({{res 'setGenLocImprove'}})</option>
|
||||
<option value="...">({{res 'setGenLocOther'}})</option>
|
||||
</select>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue