mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
added missing i18n strings (#1)
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
$scope.savePromise = null;
|
||||
$scope.save = function (model) {
|
||||
if (!model.name) {
|
||||
toastr.error('Name is required.', 'Errors have occurred');
|
||||
toastr.error(i18nService.nameRequired, i18nService.errorsOccurred);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
var site = new Site(siteModel, true);
|
||||
return $q.when(siteService.saveWithServer(site)).then(function (site) {
|
||||
$analytics.eventTrack('Added Site');
|
||||
toastr.success('Added site');
|
||||
toastr.success(i18nService.addedSite);
|
||||
$scope.close();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user