1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +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 @@ angular
.module('bit.vault')
.controller('vaultViewSiteController', function ($scope, $state, $stateParams, siteService, tldjs, toastr, $q,
$analytics) {
$analytics, i18nService) {
$scope.i18n = i18nService;
var returnScrollY = $stateParams.returnScrollY;
var returnSearchText = $stateParams.returnSearchText;
@@ -66,7 +67,7 @@ angular
};
$scope.clipboardError = function (e, password) {
toastr.info('Your web browser does not support easy clipboard copying. Copy it manually instead.');
toastr.info(i18n.browserNotSupportClipboard);
};
$scope.clipboardSuccess = function (e, type) {