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:
committed by
Kyle Spearrin
parent
53af5e234b
commit
6d60eb621e
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user