1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-04 01:23:57 +00:00

added missing i18n strings (#1)

This commit is contained in:
Kyle Spearrin
2016-11-19 01:36:09 -05:00
parent 1968dd2d08
commit e7e4a66750
26 changed files with 262 additions and 92 deletions

View File

@@ -11,7 +11,7 @@ angular
$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;
}
@@ -19,7 +19,7 @@ angular
var folder = new Folder(folderModel, true);
return $q.when(folderService.saveWithServer(folder)).then(function (folder) {
$analytics.eventTrack('Added Folder');
toastr.success('Added folder');
toastr.success(i18nService.addedFolder);
$state.go('folders', { animation: 'out-slide-down' });
});
});