1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

i18n support

added support for i18n
This commit is contained in:
Artem Nikolaev
2016-10-18 15:10:40 +03:00
committed by Kyle Spearrin
parent 53af5e234b
commit 6d60eb621e
45 changed files with 651 additions and 173 deletions

View File

@@ -2,7 +2,8 @@
.module('bit.vault')
.controller('vaultController', function ($scope, $rootScope, siteService, folderService, $q, $state, $stateParams, toastr,
syncService, utilsService, $analytics) {
syncService, utilsService, $analytics, i18nService) {
$scope.i18n = i18nService;
$('#search').focus();
var syncOnLoad = $stateParams.syncOnLoad;
@@ -109,7 +110,7 @@
};
$scope.clipboardError = function (e) {
toastr.info('Your web browser does not support easy clipboard copying. Copy it manually instead.');
toastr.info(i18n.browserNotSupportClipboard);
};
$scope.clipboardSuccess = function (e, type) {