1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-21 07:06:39 +02:00

cleanup locale

This commit is contained in:
antelle 2016-08-23 23:20:13 +03:00
parent eca1179192
commit 4dfcc89988
16 changed files with 67 additions and 87 deletions

View File

@ -17,6 +17,13 @@
"noTitle": "no title",
"or": "or",
"notImplemented": "Not Implemented",
"saveChanges": "Save changes",
"discardChanges": "Discard changes",
"advanced": "Advanced",
"shortcuts": "Shortcuts",
"help": "Help",
"settings": "Settings",
"history": "history",
"cache": "cache",
"file": "file",
@ -27,11 +34,8 @@
"menuAllItems": "All Items",
"menuColors": "Colors",
"menuTags": "Tags",
"menuTrash": "Trash",
"menuSetGeneral": "General",
"menuSetShortcuts": "Shortcuts",
"menuSetHelp": "Help",
"menuSetAbout": "About",
"menuAlertNoTags": "No tags",
"menuAlertNoTagsBody": "You can add new tags while editing fields, in tags section.",
@ -52,8 +56,6 @@
"footerOpen": "Open / New",
"footerSyncError": "Sync error",
"footerTitleHelp": "Help",
"footerTitleSettings": "Settings",
"footerTitleGen": "Generate",
"footerTitleLock": "Lock",
@ -121,9 +123,6 @@
"searchAddNew": "Add New",
"searchSort": "Sort",
"searchTitle": "Title",
"searchWebsite": "Website",
"searchUser": "User",
"searchCreated": "Created",
"searchUpdated": "Updated",
"searchAttachments": "Attachments",
@ -139,14 +138,12 @@
"searchOptions": "Options",
"searchCase": "Match case",
"searchRegex": "RegEx",
"searchHistory": "History",
"openOpen": "Open",
"openNew": "New",
"openMore": "More",
"openDemo": "Demo",
"openXml": "Import XML",
"openSettings": "Settings",
"openCaps": "Caps Lock is on",
"openClickToOpen": "Click to open a file",
"openKeyFile": "key file",
@ -168,14 +165,14 @@
"openLocalFileBody": "You are going to open a file which will be stored inside the app. Changes you make will not be saved back to file system. To get the file with your data, export it from settings.",
"openLocalFileDontShow": "Don't show this again",
"openWrongFile": "Bad file",
"openWrongFileBody": "This file format is not supported. This app works with KeePass database format files (KDBX).",
"openKdbFileBody": "You are opening an old version format file (KDB). This app supports only new format (KDBX), please use KeePass v2 to convert between them.",
"openWrongFileBody": "This file format is not supported. This app works with KeePass database format files (kdbx).",
"openKdbFileBody": "You are opening an old version format file (KDB). This app supports only new format (kdbx), please use KeePass v2 to convert between them.",
"openConfigHeader": "{} Settings",
"openUrl": "URL",
"openUrlDesc": "https://server/path/file.kdbx, or just file.kdbx",
"openUser": "Username",
"openUserDesc": "WebDAV server username (if required)",
"openUserPlaceholder": "no username",
"openUser": "User",
"openUserDesc": "WebDAV server user (if required)",
"openUserPlaceholder": "no user",
"openPass": "Password",
"openPassDesc": "WebDAV server password (this is not your file password)",
"openPassPlaceholder": "no password",
@ -193,14 +190,12 @@
"detHistoryReturn": "return to entry",
"detHistoryRevert": "Revert to state",
"detHistoryDel": "Delete state",
"detHistoryDiscard": "Discard changes",
"detHistoryEmpty": "empty",
"detHistoryModified": "modified",
"detHistoryRec": "record",
"detHistoryRecs": "records",
"detHistoryVersion": "Version",
"detHistorySaved": "Saved",
"detHistoryTitle": "Title",
"detHistoryNoTitle": "no title",
"detHistoryCurState": "current state",
"detHistoryCurUnsavedState": "current unsaved state",
@ -210,18 +205,11 @@
"detDropAttachments": "drop attachments here",
"detDelEntry": "Delete",
"detDelEntryPerm": "Delete permanently",
"detUser": "User",
"detPassword": "Password",
"detWebsite": "Website",
"detNotes": "Notes",
"detTags": "Tags",
"detExpires": "Expires",
"detExpired": "expired",
"detFile": "File",
"detGroup": "Group",
"detCreated": "Created",
"detUpdated": "Updated",
"detHistory": "History",
"detNetField": "New Field",
"detAttachments": "Attachments",
"detDelFromTrash": "Delete from trash?",
@ -245,7 +233,6 @@
"detAutoTypeEnabled": "Enable auto-type for this entry",
"detAutoTypeSequence": "Keystrokes",
"detAutoTypeInput": "Input",
"detAutoTypeShortcuts": "Shortcuts",
"detAutoTypeShortcutsDesc": "{} or {} while the app is inactive",
"detAutoTypeObfuscation": "Mix real keystrokes with random",
"detAutoTypeWindow": "Window",
@ -288,13 +275,9 @@
"appSecWarnBtn": "I understand the risks, continue",
"appUnsavedWarn": "Unsaved changes!",
"appUnsavedWarnBody": "You have unsaved files, if you close the app, changes will be lost.",
"appExitBtn": "Discard changes",
"appExitSaveBtn": "Save changes",
"appDontExitBtn": "Don't exit",
"appCannotLockAutoInit": "The app cannot be locked because auto save is disabled.",
"appCannotLock": "You have unsaved changes that will be lost. Continue?",
"appSaveChangesBtn": "Save changes",
"appDiscardChangesBtn": "Discard changes",
"appAutoSave": "Save changes automatically",
"appSaveError": "Save Error",
"appSaveErrorBody": "Failed to auto-save file",
@ -324,7 +307,7 @@
"setGenExtractingUpdate": "Extracting update...",
"setGenCheckErr": "There was an error downloading new version",
"setGenNeverChecked": "Never checked for updates",
"setGenRestartToUpdate": "Restart to update",
"setGenRestartToUpdate": "Restart the app to update",
"setGenDownloadAndRestart": "Download update and restart",
"setGenAppearance": "Appearance",
"setGenTheme": "Theme",
@ -361,16 +344,15 @@
"setGenLockMinimize": "Auto-lock on minimize",
"setGenLockCopy": "Auto-lock on password copy",
"setGenStorage": "Storage",
"setGenAdvanced": "Advanced",
"setGenShowAdvanced": "Show advanced settings (these settings may be dangerous)",
"setGenShowAdvanced": "Show advanced settings",
"setGenDevTools": "Show dev tools",
"setGenTryBeta": "Try beta version for one time",
"setGenTryBeta": "Try beta version until restart",
"setGenTryBetaWarning": "Unsaved files",
"setGenTryBetaWarningBody": "Please save all files and click this button again",
"setGenShowAppLogs": "Show app logs",
"setFilePath": "File path",
"setFileStorage": "This file is opened from {}.",
"setFileStorage": "This file is loaded from {}.",
"setFileIntl": "This file is stored in the internal app storage",
"setFileLocalHint": "Want to work seamlessly with local files?",
"setFileDownloadApp": "Download a desktop app",
@ -378,21 +360,17 @@
"setFileSaveTo": "Save to ...",
"setFileClose": "Close",
"setFileSync": "Sync",
"setFileSaveToFile": "File",
"setFileSaveToXml": "XML",
"setFileLastSync": "Last sync",
"setFileLastSyncUnknown": "unknown",
"setFileSyncInProgress": "sync in progress",
"setFileSyncError": "Sync error",
"setFileSettings": "Settings",
"setFilePass": "Master password",
"setFilePassChanged": "password was changed; leave the field blank to use old password",
"setFileKeyFile": "Key file",
"setFileSelKeyFile": "Select a key file",
"setFileNames": "Names",
"setFileName": "Name",
"setFileDefUser": "Default username",
"setFileHistory": "History",
"setFileDefUser": "Default user",
"setFileEnableTrash": "Enable trash",
"setFileHistLen": "History length, keep last records per entry",
"setFileHistSize": "History size, total MB per file",
@ -409,7 +387,6 @@
"setFileBackupWeekly": "Weekly",
"setFileBackupMonthly": "Monthly",
"setFileBackupManually": "Manually, no auto-backups",
"setFileAdvanced": "Advanced",
"setFileRounds": "Key encryption rounds",
"setFileKeyChangeForce": "Ask to change key after (days)",
"setFileUseKeyFile": "Use key file",
@ -436,9 +413,8 @@
"setShTrash": "go to trash",
"setShFind": "search, or just start typing",
"setShClearSearch": "clear search",
"setShEntry": "go to entry",
"setShCopyPass": "copy password or selected field",
"setShCopyUser": "copy username",
"setShCopyUser": "copy user",
"setShCopyUrl": "copy website",
"setShAutoType": "auto-type selected entry",
"setShPrev": "go to previous item",
@ -449,7 +425,7 @@
"setShGen": "generate password",
"setShSet": "app settings",
"setShCopyPassGlobal": "copy password (when app is in background)",
"setShCopyUserGlobal": "copy username (when app is in background)",
"setShCopyUserGlobal": "copy user (when app is in background)",
"setShCopyUrlGlobal": "copy website (when app is in background)",
"setShAutoTypeGlobal": "auto-type (when app is in background)",
"setShLock": "lock database",
@ -462,10 +438,9 @@
"setAboutSecond": " and licensed under {}.",
"setAboutSource": "The source code and issues are on {}.",
"setHelpTitle": "Help",
"setHelpFormat": "File Format",
"setHelpFormatBody": "This is a port of {} app built with web technologies. It understands files in KeePass format (kdbx). You can create such files (password databases) either in KeePass, or in this app. The file format is 100% compatible and should be understood by both apps.",
"setHelpProblems": "Problems?",
"setHelpProblems": "Need some help?",
"setHelpProblems1": "If something goes wrong, please {}",
"setHelpProblems2": "or {}",
"setHelpOpenIssue": "open an issue on GitHub",
@ -492,7 +467,7 @@
"dropboxAppKey": "Dropbox app key",
"dropboxAppKeyDesc": "Copy the key from your Dropbox app (Developer settings)",
"dropboxFolder": "App folder",
"dropboxFolderDesc": "If your app is linked to entire Dropbox (not app folder), set the folder with your Kdbx files here",
"dropboxFolderDesc": "If your app is linked to entire Dropbox (not app folder), set the folder with your kdbx files here",
"dropboxFolderSettingsDesc": "Select any folder in your Dropbox where files will be stored (root folder by default)",
"dropboxFolderPlaceholder": "default folder",
"dropboxLink": "Link the app to",

View File

@ -5,6 +5,7 @@ var Backbone = require('backbone'),
MenuSectionModel = require('./menu-section-model'),
GroupsMenuModel = require('./groups-menu-model'),
Locale = require('../../util/locale'),
Format = require('../../util/format'),
Keys = require('../../const/keys'),
Colors = require('../../const/colors');
@ -24,7 +25,7 @@ var MenuModel = Backbone.Model.extend({
this.colorsSection = new MenuSectionModel([{ title: Locale.menuColors, icon: 'bookmark', shortcut: Keys.DOM_VK_C,
cls: 'menu__item-colors', filterKey: 'color', filterValue: true }]);
this.colorsItem = this.colorsSection.get('items').models[0];
var defTags = [{ title: Locale.menuTags, icon: 'tags', defaultItem: true,
var defTags = [{ title: Format.capFirst(Locale.tags), icon: 'tags', defaultItem: true,
disabled: { header: Locale.menuAlertNoTags, body: Locale.menuAlertNoTagsBody, icon: 'tags' } }];
this.tagsSection = new MenuSectionModel(defTags);
this.tagsSection.set({ scrollable: true, drag: true });
@ -44,9 +45,9 @@ var MenuModel = Backbone.Model.extend({
]);
this.generalSection = new MenuSectionModel([{ title: Locale.menuSetGeneral, icon: 'cog', page: 'general', active: true }]);
this.shortcutsSection = new MenuSectionModel([{ title: Locale.menuSetShortcuts, icon: 'keyboard-o', page: 'shortcuts' }]);
this.shortcutsSection = new MenuSectionModel([{ title: Locale.shortcuts, icon: 'keyboard-o', page: 'shortcuts' }]);
this.aboutSection = new MenuSectionModel([{ title: Locale.menuSetAbout, icon: 'info', page: 'about' }]);
this.helpSection = new MenuSectionModel([{ title: Locale.menuSetHelp, icon: 'question', page: 'help' }]);
this.helpSection = new MenuSectionModel([{ title: Locale.help, icon: 'question', page: 'help' }]);
this.filesSection = new MenuSectionModel();
this.filesSection.set({ scrollable: true, grow: true });
this.menus.settings = new MenuSectionCollection([

View File

@ -24,6 +24,9 @@ var Format = {
return dt ? dt.getDate() + ' ' + Locale.monthsShort[dt.getMonth()] + ' ' + dt.getFullYear() : '';
},
capFirst: function(str) {
if (!str) {
return '';
}
return str[0].toUpperCase() + str.substr(1);
},
dtStrFs: function(dt) {

View File

@ -300,8 +300,8 @@ var AppView = Backbone.View.extend({
header: Locale.appUnsavedWarn,
body: Locale.appUnsavedWarnBody,
buttons: [
{result: 'save', title: Locale.appExitSaveBtn},
{result: 'exit', title: Locale.appExitBtn, error: true},
{result: 'save', title: Locale.saveChanges},
{result: 'exit', title: Locale.discardChanges, error: true},
{result: '', title: Locale.appDontExitBtn}
],
success: result => {
@ -386,8 +386,8 @@ var AppView = Backbone.View.extend({
header: 'Lock',
body: message,
buttons: [
{ result: 'save', title: Locale.appSaveChangesBtn },
{ result: 'discard', title: Locale.appDiscardChangesBtn, error: true },
{ result: 'save', title: Locale.saveChanges },
{ result: 'discard', title: Locale.discardChanges, error: true },
{ result: '', title: Locale.alertCancel }
],
checkbox: Locale.appAutoSave,

View File

@ -88,14 +88,15 @@ var DetailsHistoryView = Backbone.View.extend({
value: Format.dtStr(this.record.updated) +
(this.record.unsaved ? ' (' + Locale.detHistoryCurUnsavedState + ')' : '') +
((ix === this.history.length - 1 && !this.record.unsaved) ? ' (' + Locale.detHistoryCurState + ')' : '') } }));
this.fieldViews.push(new FieldViewReadOnlyRaw({ model: { name: '$Title', title: Locale.detHistoryTitle,
this.fieldViews.push(new FieldViewReadOnlyRaw({ model: { name: '$Title', title: Format.capFirst(Locale.title),
value: '<i class="fa fa-' + this.record.icon + ' ' + colorCls + '"></i> ' +
_.escape(this.record.title) || '(' + Locale.detHistoryNoTitle + ')' } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$UserName', title: Locale.detUser, value: this.record.user } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$Password', title: Locale.detPassword, value: this.record.password } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$URL', title: Locale.detWebsite, value: this.record.url } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$Notes', title: Locale.detNotes, value: this.record.notes } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: 'Tags', title: Locale.detTags, value: this.record.tags.join(', ') } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$UserName', title: Format.capFirst(Locale.user), value: this.record.user } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$Password', title: Format.capFirst(Locale.password), value: this.record.password } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$URL', title: Format.capFirst(Locale.website), value: this.record.url } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: '$Notes', title: Format.capFirst(Locale.notes), value: this.record.notes } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: 'Tags', title: Format.capFirst(Locale.tags),
value: this.record.tags.join(', ') } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: 'Expires', title: Locale.detExpires,
value: this.record.expires ? Format.dtStr(this.record.expires) : '' } }));
_.forEach(this.record.fields, function(value, field) {

View File

@ -138,25 +138,25 @@ var DetailsView = Backbone.View.extend({
var fileNames = this.appModel.files.map(function(file) {
return { id: file.id, value: file.get('name'), selected: file === this.model.file };
}, this);
this.fileEditView = new FieldViewSelect({ model: { name: '$File', title: Locale.detFile,
this.fileEditView = new FieldViewSelect({ model: { name: '$File', title: Format.capFirst(Locale.file),
value: function() { return fileNames; } } });
this.fieldViews.push(this.fileEditView);
} else {
this.fieldViews.push(new FieldViewReadOnly({ model: { name: 'File', title: Locale.detFile,
this.fieldViews.push(new FieldViewReadOnly({ model: { name: 'File', title: Format.capFirst(Locale.file),
value: function() { return model.fileName; } } }));
}
this.userEditView = new FieldViewAutocomplete({ model: { name: '$UserName', title: Locale.detUser,
this.userEditView = new FieldViewAutocomplete({ model: { name: '$UserName', title: Format.capFirst(Locale.user),
value: function() { return model.user; }, getCompletions: this.getUserNameCompletions.bind(this) } });
this.fieldViews.push(this.userEditView);
this.passEditView = new FieldViewText({ model: { name: '$Password', title: Locale.detPassword, canGen: true,
this.passEditView = new FieldViewText({ model: { name: '$Password', title: Format.capFirst(Locale.password), canGen: true,
value: function() { return model.password; } } });
this.fieldViews.push(this.passEditView);
this.urlEditView = new FieldViewUrl({ model: { name: '$URL', title: Locale.detWebsite,
this.urlEditView = new FieldViewUrl({ model: { name: '$URL', title: Format.capFirst(Locale.website),
value: function() { return model.url; } } });
this.fieldViews.push(this.urlEditView);
this.fieldViews.push(new FieldViewText({ model: { name: '$Notes', title: Locale.detNotes, multiline: 'true',
this.fieldViews.push(new FieldViewText({ model: { name: '$Notes', title: Format.capFirst(Locale.notes), multiline: 'true',
value: function() { return model.notes; } } }));
this.fieldViews.push(new FieldViewTags({ model: { name: 'Tags', title: Locale.detTags, tags: this.appModel.tags,
this.fieldViews.push(new FieldViewTags({ model: { name: 'Tags', title: Format.capFirst(Locale.tags), tags: this.appModel.tags,
value: function() { return model.tags; } } }));
this.fieldViews.push(new FieldViewDate({ model: { name: 'Expires', title: Locale.detExpires, lessThanNow: '(' + Locale.detExpired + ')',
value: function() { return model.expires; } } }));
@ -166,7 +166,7 @@ var DetailsView = Backbone.View.extend({
value: function() { return Format.dtStr(model.created); } } }));
this.fieldViews.push(new FieldViewReadOnly({ model: { name: 'Updated', title: Locale.detUpdated,
value: function() { return Format.dtStr(model.updated); } } }));
this.fieldViews.push(new FieldViewHistory({ model: { name: 'History', title: Locale.detHistory,
this.fieldViews.push(new FieldViewHistory({ model: { name: 'History', title: Format.capFirst(Locale.history),
value: function() { return { length: model.historyLength, unsaved: model.unsaved }; } } }));
_.forEach(model.fields, function(value, field) {
if (field === 'otp' && this.model.otpGenerator) {

View File

@ -5,6 +5,7 @@ var Backbone = require('backbone'),
KeyHandler = require('../comp/key-handler'),
DropdownView = require('./dropdown-view'),
FeatureDetector = require('../util/feature-detector'),
Format = require('../util/format'),
Locale = require('../util/locale');
var ListSearchView = Backbone.View.extend({
@ -33,12 +34,12 @@ var ListSearchView = Backbone.View.extend({
initialize: function () {
this.sortOptions = [
{ value: 'title', icon: 'sort-alpha-asc', text: Locale.searchTitle + ' ' + this.addArrow(Locale.searchAZ) },
{ value: '-title', icon: 'sort-alpha-desc', text: Locale.searchTitle + ' ' + this.addArrow(Locale.searchZA) },
{ value: 'website', icon: 'sort-alpha-asc', text: Locale.searchWebsite + ' ' + this.addArrow(Locale.searchAZ) },
{ value: '-website', icon: 'sort-alpha-desc', text: Locale.searchWebsite + ' ' + this.addArrow(Locale.searchZA) },
{ value: 'user', icon: 'sort-alpha-asc', text: Locale.searchUser + ' ' + this.addArrow(Locale.searchAZ) },
{ value: '-user', icon: 'sort-alpha-desc', text: Locale.searchUser + ' ' + this.addArrow(Locale.searchZA) },
{ value: 'title', icon: 'sort-alpha-asc', text: Format.capFirst(Locale.title) + ' ' + this.addArrow(Locale.searchAZ) },
{ value: '-title', icon: 'sort-alpha-desc', text: Format.capFirst(Locale.title) + ' ' + this.addArrow(Locale.searchZA) },
{ value: 'website', icon: 'sort-alpha-asc', text: Format.capFirst(Locale.website) + ' ' + this.addArrow(Locale.searchAZ) },
{ value: '-website', icon: 'sort-alpha-desc', text: Format.capFirst(Locale.website) + ' ' + this.addArrow(Locale.searchZA) },
{ value: 'user', icon: 'sort-alpha-asc', text: Format.capFirst(Locale.user) + ' ' + this.addArrow(Locale.searchAZ) },
{ value: '-user', icon: 'sort-alpha-desc', text: Format.capFirst(Locale.user) + ' ' + this.addArrow(Locale.searchZA) },
{ value: 'created', icon: 'sort-numeric-asc', text: Locale.searchCreated + ' ' + this.addArrow(Locale.searchON) },
{ value: '-created', icon: 'sort-numeric-desc', text: Locale.searchCreated + ' ' + this.addArrow(Locale.searchNO) },
{ value: 'updated', icon: 'sort-numeric-asc', text: Locale.searchUpdated + ' ' + this.addArrow(Locale.searchON) },

View File

@ -21,7 +21,7 @@
</div>
</div>
<div class="details__field">
<div class="details__field-label">{{res 'detAutoTypeShortcuts'}}</div>
<div class="details__field-label">{{res 'shortcuts'}}</div>
<div class="details__field-value">{{{detAutoTypeShortcutsDesc}}}</div>
</div>
{{!--{{#each windows as |win|}}

View File

@ -17,6 +17,6 @@
<div class="details__history-buttons">
<button class="details__history-button details__history-button-revert btn-silent">{{res 'detHistoryRevert'}}</button>
<button class="details__history-button details__history-button-delete btn-error">{{res 'detHistoryDel'}}</button>
<button class="details__history-button details__history-button-discard btn-error">{{res 'detHistoryDiscard'}}</button>
<button class="details__history-button details__history-button-discard btn-error">{{res 'discardChanges'}}</button>
</div>
</div>

View File

@ -13,8 +13,8 @@
</div>
{{/each}}
<div class="footer__db footer__db--dimmed footer__db--expanded footer__db-open"><i class="fa fa-plus"></i> {{res 'footerOpen'}}</div>
<div class="footer__btn footer__btn-help" title="{{res 'footerTitleHelp'}}" tip-placement="top"><i class="fa fa-question"></i></div>
<div class="footer__btn footer__btn-settings" title="{{res 'footerTitleSettings'}}" tip-placement="top">
<div class="footer__btn footer__btn-help" title="{{res 'help'}}" tip-placement="top"><i class="fa fa-question"></i></div>
<div class="footer__btn footer__btn-settings" title="{{res 'settings'}}" tip-placement="top">
{{#if updateAvailable}}
<i class="fa fa-bell footer__update-icon"></i>
{{else}}

View File

@ -38,7 +38,7 @@
<div class="list__search-check"><input type="checkbox" id="list__search-adv-check-regex" data-id="regex"
{{#if adv.regex}}checked{{/if}}><label for="list__search-adv-check-regex">{{res 'searchRegex'}}</label></div>
<div class="list__search-check"><input type="checkbox" id="list__search-adv-check-history" data-id="history"
{{#if adv.history}}checked{{/if}}><label for="list__search-adv-check-history">{{res 'searchHistory'}}</label></div>
{{#if adv.history}}checked{{/if}}><label for="list__search-adv-check-history">{{Res 'history'}}</label></div>
</div>
</div>
</div>

View File

@ -59,7 +59,7 @@
{{#if canOpenSettings}}
<div class="open__icon open__icon-settings">
<i class="fa fa-cog open__icon-i"></i>
<div class="open__icon-text">{{res 'openSettings'}}</div>
<div class="open__icon-text">{{res 'settings'}}</div>
</div>
{{/if}}
</div>

View File

@ -21,7 +21,7 @@
<h2>{{res 'setFileSaveTo'}}</h2>
{{#ifneq storage 'file'}}
<div class="settings__file-save-to settings__file-save-to-file">
<i class="fa fa-file-text-o"></i>{{res 'setFileSaveToFile'}}
<i class="fa fa-file-text-o"></i>{{Res 'file'}}
</div>
{{/ifneq}}
{{#each storageProviders as |prv|}}
@ -44,7 +44,7 @@
{{#if syncError}}<div>{{res 'setFileSyncError'}}: {{syncError}}</div>{{/if}}
{{/if}}
<h2>{{res 'setFileSettings'}}</h2>
<h2>{{res 'settings'}}</h2>
<label for="settings__file-master-pass" class="settings__file-master-pass-label input-base">{{res 'setFilePass'}}:
<span class="settings__file-master-pass-warning">
<i class="fa fa-warning"></i> {{res 'setFilePassChanged'}}
@ -57,7 +57,7 @@
<input type="file" id="settings__file-file-select" class="hide-by-pos" />
<h2>{{res 'setFileNames'}}</h2>
<label for="settings__file-name">{{res 'setFileName'}}:</label>
<label for="settings__file-name">{{Res 'name'}}:</label>
<input type="text" class="settings__input input-base" id="settings__file-name" value="{{name}}" required />
<label for="settings__file-def-user">{{res 'setFileDefUser'}}:</label>
<input type="text" class="settings__input input-base" id="settings__file-def-user" value="{{defaultUser}}" />
@ -90,7 +90,7 @@
<button class="btn-silent settings__file-button-backup">{{res 'setFileBackupNow'}}</button>
</div>
<h2>{{res 'setFileHistory'}}</h2>
<h2>{{Res 'history'}}</h2>
<div>
<input type="checkbox" class="settings__input input-base" id="settings__file-trash" {{#if recycleBinEnabled}}checked{{/if}} />
<label for="settings__file-trash">{{res 'setFileEnableTrash'}}</label>
@ -100,7 +100,7 @@
<label for="settings__file-hist-size">{{res 'setFileHistSize'}}:</label>
<input type="text" pattern="\d+" required class="settings__input input-base" id="settings__file-hist-size" value="{{historyMaxSize}}" />
<h2>{{res 'setFileAdvanced'}}</h2>
<h2>{{res 'advanced'}}</h2>
<label for="settings__file-key-rounds">{{res 'setFileRounds'}}:</label>
<input type="text" pattern="\d+" required class="settings__input input-base" id="settings__file-key-rounds" value="{{keyEncryptionRounds}}" />

View File

@ -141,7 +141,7 @@
<div class="settings__general-prv-wrap settings__general-{{prv.name}} {{#ifeq prv.enabled false}}hide{{/ifeq}}"></div>
{{/each}}
<h2>{{res 'setGenAdvanced'}}</h2>
<h2>{{res 'advanced'}}</h2>
<a class="settings__general-show-advanced">{{res 'setGenShowAdvanced'}}</a>
<div class="settings__general-advanced hide">
{{#if devTools}}

View File

@ -1,5 +1,5 @@
<div>
<h1><i class="fa fa-question"></i> {{res 'setHelpTitle'}}</h1>
<h1><i class="fa fa-question"></i> {{res 'help'}}</h1>
<h2>{{res 'setHelpFormat'}}</h2>
<p>{{#res 'setHelpFormatBody'}}<a href="http://keepass.info/" target="_blank">KeePass</a>{{/res}}</p>
<h2>{{res 'setHelpProblems'}}</h2>

View File

@ -5,7 +5,6 @@
<div><span class="shortcut">{{{alt}}}D</span> {{res 'setShTrash'}}</div>
<div><span class="shortcut">{{{cmd}}}F</span> {{res 'setShFind'}}</div>
<div><span class="shortcut">esc</span> {{res 'setShClearSearch'}}</div>
<div><span class="shortcut">⏎</span> {{res 'setShEntry'}}</div>
<div><span class="shortcut">{{{cmd}}}C</span> {{res 'setShCopyPass'}}</div>
<div><span class="shortcut">{{{cmd}}}B</span> {{res 'setShCopyUser'}}</div>
<div><span class="shortcut">{{{cmd}}}U</span> {{res 'setShCopyUrl'}}</div>