i18n fixes

This commit is contained in:
Kyle Spearrin 2016-12-23 23:57:18 -05:00
parent a3f80abb20
commit 588652b721
5 changed files with 8 additions and 4 deletions

View File

@ -618,5 +618,9 @@
"searchFolder": { "searchFolder": {
"message": "Search folder", "message": "Search folder",
"description": "Search folder" "description": "Search folder"
},
"noneFolder": {
"message": "(none)",
"description": "(none) - this is the folder for uncategorized sites"
} }
} }

View File

@ -192,7 +192,7 @@
"description": "There are no folders to list." "description": "There are no folders to list."
}, },
"helpFeedback": { "helpFeedback": {
"message": "Hjälp & återkoppling", "message": "Hjälp",
"description": "Help & Feedback" "description": "Help & Feedback"
}, },
"emailUs": { "emailUs": {

View File

@ -9,7 +9,7 @@
<div class="list"> <div class="list">
<div class="list-grouped"> <div class="list-grouped">
<a href="javascript:void(0)" ng-click="fillSite(site)" class="list-grouped-item condensed" <a href="javascript:void(0)" ng-click="fillSite(site)" class="list-grouped-item condensed"
title="Auto-fill {{site.name}}" ng-repeat="site in theSites = (sites | orderBy: ['name', 'username'])"> title="{{i18n.autoFill}} {{site.name}}" ng-repeat="site in theSites = (sites | orderBy: ['name', 'username'])">
<span class="btn-list" href="" ng-click="$event.stopPropagation()" title="{{i18n.copyPassword}}" <span class="btn-list" href="" ng-click="$event.stopPropagation()" title="{{i18n.copyPassword}}"
ngclipboard ngclipboard-error="clipboardError(e)" ngclipboard ngclipboard-error="clipboardError(e)"
ngclipboard-success="clipboardSuccess(e, i18n.password)" ngclipboard-success="clipboardSuccess(e, i18n.password)"

View File

@ -14,7 +14,7 @@
$scope.folder = { $scope.folder = {
id: !state.folderId || state.folderId === '0' ? null : state.folderId, id: !state.folderId || state.folderId === '0' ? null : state.folderId,
name: '(none)' name: i18nService.noneFolder
}; };
$scope.i18n = i18nService; $scope.i18n = i18nService;
$('#search').focus(); $('#search').focus();

View File

@ -82,7 +82,7 @@ function initFolderService() {
var promises = []; var promises = [];
var decFolders = [{ var decFolders = [{
id: null, id: null,
name: '(none)' name: i18nService.noneFolder
}]; }];
self.getAll(function (folders) { self.getAll(function (folders) {
for (var i = 0; i < folders.length; i++) { for (var i = 0; i < folders.length; i++) {