mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +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 @@
|
||||
.module('bit.tools')
|
||||
|
||||
.controller('toolsPasswordGeneratorController', function ($scope, $state, $stateParams, passwordGenerationService,
|
||||
toastr, $q, utilsService, $analytics) {
|
||||
toastr, $q, utilsService, $analytics, i18nService) {
|
||||
$scope.i18n = i18nService;
|
||||
var addState = $stateParams.addState,
|
||||
editState = $stateParams.editState;
|
||||
|
||||
@@ -62,7 +63,7 @@
|
||||
};
|
||||
|
||||
$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) {
|
||||
|
||||
Reference in New Issue
Block a user