renaming logins to generic items

This commit is contained in:
Kyle Spearrin 2017-10-18 12:22:56 -04:00
parent f4e72aae8a
commit 170484ba11
13 changed files with 52 additions and 53 deletions

View File

@ -91,8 +91,8 @@
"autoFillInfo": {
"message": "There are no logins available to auto-fill for the current browser tab."
},
"addLogin": {
"message": "Add a Login"
"addItem": {
"message": "Add an Item"
},
"passwordHint": {
"message": "Password Hint"
@ -191,26 +191,25 @@
"message": "bitwarden Web Vault"
},
"bitWebVaultInfo": {
"message": "Manage your logins from any web browser with the bitwarden web vault."
"message": "Manage your items from any web browser with the bitwarden web vault."
},
"bitIosVault": {
"message": "bitwarden iOS Vault"
},
"bitIosVaultInfo": {
"message": "Manage your logins from your mobile devices with the bitwarden iOS vault."
"message": "Manage your items from your mobile devices with the bitwarden iOS vault."
},
"bitAndrVault": {
"message": "bitwarden Android Vault"
},
"bitAndrVaultInfo": {
"message": "Manage your logins from your mobile devices with the bitwarden Android vault."
"message": "Manage your items from your mobile devices with the bitwarden Android vault."
},
"importLogins": {
"message": "Import Logins",
"description": "Import Logins"
"importItems": {
"message": "Import Items"
},
"importLoginsInfo": {
"message": "Quickly bulk import your logins from other password management applications."
"importItemsInfo": {
"message": "Quickly bulk import your items from other password management applications."
},
"select": {
"message": "Select"
@ -248,8 +247,8 @@
"noItemsInList": {
"message": "There are no items to list."
},
"loginInformation": {
"message": "Login Information"
"itemInformation": {
"message": "Item Information"
},
"username": {
"message": "Username"
@ -263,17 +262,17 @@
"notes": {
"message": "Notes"
},
"editLogin": {
"message": "Edit Login"
"editItem": {
"message": "Edit Item"
},
"folder": {
"message": "Folder"
},
"deleteLogin": {
"message": "Delete Login"
"deleteItem": {
"message": "Delete Item"
},
"viewLogin": {
"message": "View Login"
"viewItem": {
"message": "View Item"
},
"launchWebsite": {
"message": "Launch Website"
@ -379,7 +378,7 @@
"description": "' copied'. This is part of a sentence so be sure to leave the space prefix. For example: 'Password copied'"
},
"autofillError": {
"message": "Unable to auto-fill the selected login on this page. Copy/paste your username and/or password instead."
"message": "Unable to auto-fill the selected item on this page. Copy and paste the information instead."
},
"loggedOut": {
"message": "Logged out"
@ -444,8 +443,8 @@
"syncingFailed": {
"message": "Syncing failed"
},
"importLoginsConfirmation": {
"message": "You can bulk import logins from the bitwarden.com web vault. Do you want to visit the website now?"
"importItemsConfirmation": {
"message": "You can bulk import items from the bitwarden.com web vault. Do you want to visit the website now?"
},
"passwordCopied": {
"message": "Password copied"
@ -453,17 +452,17 @@
"uri": {
"message": "URI"
},
"addedLogin": {
"message": "Added login"
"addedItem": {
"message": "Added item"
},
"editedLogin": {
"message": "Edited login"
"editedItem": {
"message": "Edited item"
},
"deleteLoginConfirmation": {
"message": "Are you sure you want to delete this login?"
"deleteItemConfirmation": {
"message": "Are you sure you want to delete this item?"
},
"deletedLogin": {
"message": "Deleted login"
"deletedItem": {
"message": "Deleted item"
},
"overwritePassword": {
"message": "Overwrite Password"
@ -485,7 +484,7 @@
},
"noneFolder": {
"message": "No Folder",
"description": "This is the folder for uncategorized logins"
"description": "This is the folder for uncategorized items"
},
"features": {
"message": "Features"
@ -537,7 +536,7 @@
"message": "Share Your Vault"
},
"shareVaultInfo": {
"message": "Create an organization to securely share your logins with other users."
"message": "Create an organization to securely share your items with other users."
},
"contribute": {
"message": "You can contribute too!"

View File

@ -22,7 +22,7 @@
<div class="list-section-items" ng-class="{'list-no-selection': !loginCiphers.length}">
<div class="list-section-item" ng-if="loaded && !loginCiphers.length">
<p>{{i18n.autoFillInfo}}</p>
<button ng-click="addCipher()" class="btn btn-link btn-block">{{i18n.addLogin}}</button>
<button ng-click="addCipher()" class="btn btn-link btn-block">{{i18n.addItem}}</button>
</div>
<cipher-items ng-if="loginCiphers.length" ciphers="loginCiphers" on-view="viewCipher"
on-selected="fillCipher" selection-title="i18n.autoFill"></cipher-items>

View File

@ -21,8 +21,8 @@
$scope.launchImport = function () {
SweetAlert.swal({
title: i18nService.importLogins,
text: i18nService.importLoginsConfirmation,
title: i18nService.importItems,
text: i18nService.importItemsConfirmation,
showCancelButton: true,
confirmButtonText: i18nService.yes,
cancelButtonText: i18nService.cancel

View File

@ -35,8 +35,8 @@
</a>
<a class="list-section-item wrap" href="" ng-click="launchImport()">
<span class="leading-icon" style="color: #6fc2ff;"><i class="fa fa-cloud-upload fa-fw"></i></span>
<span class="text">{{i18n.importLogins}}</span>
<span class="detail">{{i18n.importLoginsInfo}}</span>
<span class="text">{{i18n.importItems}}</span>
<span class="detail">{{i18n.importItemsInfo}}</span>
</a>
<a class="list-section-item wrap" ui-sref="export({animation: 'in-slide-up'})" ng-if="showExport">
<span class="leading-icon" style="color: #ff6f6f;"><i class="fa fa-cloud-download fa-fw"></i></span>

View File

@ -56,7 +56,7 @@
return cipherService.saveWithServer(cipher);
}).then(function (c) {
$analytics.eventTrack('Added Cipher');
toastr.success(i18nService.addedLogin);
toastr.success(i18nService.addedItem);
$scope.close();
});
};

View File

@ -113,7 +113,7 @@ angular
};
$scope.close = function () {
$state.go('editLogin', {
$state.go('editCipher', {
loginId: $stateParams.id,
animation: 'out-slide-down',
from: $stateParams.from,

View File

@ -50,7 +50,7 @@ angular
var cipher = new Cipher(cipherModel, true);
return cipherService.saveWithServer(cipher).then(function (c) {
$analytics.eventTrack('Edited Cipher');
toastr.success(i18nService.editedLogin);
toastr.success(i18nService.editedItem);
$scope.close();
});
});
@ -58,8 +58,8 @@ angular
$scope.delete = function () {
SweetAlert.swal({
title: i18nService.deleteLogin,
text: i18nService.deleteLoginConfirmation,
title: i18nService.deleteItem,
text: i18nService.deleteItemConfirmation,
showCancelButton: true,
confirmButtonText: i18nService.yes,
cancelButtonText: i18nService.no
@ -67,7 +67,7 @@ angular
if (confirmed) {
cipherService.deleteWithServer(cipherId).then(function () {
$analytics.eventTrack('Deleted Cipher');
toastr.success(i18nService.deletedLogin);
toastr.success(i18nService.deletedItem);
$state.go('tabs.vault', {
animation: 'out-slide-down'
});

View File

@ -151,7 +151,7 @@
$scope.addCipher = function () {
storeState();
$state.go('addLogin', {
$state.go('addCipher', {
animation: 'in-slide-up',
from: 'folder',
folderId: $scope.folder.id
@ -175,7 +175,7 @@
}
storeState();
$state.go('viewLogin', {
$state.go('viewCipher', {
cipherId: cipher.id,
animation: 'in-slide-up',
from: 'folder'

View File

@ -76,7 +76,7 @@
<div class="centered-message" ng-if="loaded && !vaultCiphers.length">
<p>
{{i18n.noItemsInList}}
<button ng-click="addCipher()" style="margin-top: 20px;" class="btn btn-link btn-block">{{::i18n.addLogin}}</button>
<button ng-click="addCipher()" style="margin-top: 20px;" class="btn btn-link btn-block">{{::i18n.addItem}}</button>
</p>
</div>
<div class="page-loading" ng-if="!loaded">

View File

@ -7,13 +7,13 @@
<button type="submit" class="btn btn-link" ng-show="!theForm.$loading">{{i18n.save}}</button>
<i class="fa fa-spinner fa-lg" ng-show="theForm.$loading" ng-class="{'fa-spin' : theForm.$loading}"></i>
</div>
<div class="title">{{i18n.addLogin}}</div>
<div class="title">{{i18n.addItem}}</div>
</div>
<div class="content">
<div class="list">
<div class="list-section">
<div class="list-section-header">
{{i18n.loginInformation}}
{{i18n.itemInformation}}
</div>
<div class="list-section-items">
<div class="list-section-item">

View File

@ -7,13 +7,13 @@
<button type="submit" class="btn btn-link" ng-show="!theForm.$loading">{{i18n.save}}</button>
<i class="fa fa-spinner fa-lg" ng-show="theForm.$loading" ng-class="{'fa-spin' : theForm.$loading}"></i>
</div>
<div class="title">{{i18n.editLogin}}</div>
<div class="title">{{i18n.editItem}}</div>
</div>
<div class="content">
<div class="list">
<div class="list-section">
<div class="list-section-header">
{{i18n.loginInformation}}
{{i18n.itemInformation}}
<i class="fa fa-share-alt fa-lg pull-right" ng-if="cipher.organizationId" title="{{i18n.shared}}"></i>
</div>
<div class="list-section-items">
@ -262,7 +262,7 @@
<div class="list-section">
<div class="list-section-items">
<a href="" ng-click="delete()" class="list-section-item text-danger">
<i class="fa fa-trash fa-fw fa-lg"></i> {{i18n.deleteLogin}}
<i class="fa fa-trash fa-fw fa-lg"></i> {{i18n.deleteItem}}
</a>
</div>
</div>

View File

@ -5,13 +5,13 @@
<div class="right">
<a href="" ng-click="edit(cipher)">{{i18n.edit}}</a>
</div>
<div class="title">{{i18n.viewLogin}}</div>
<div class="title">{{i18n.viewItem}}</div>
</div>
<div class="content">
<div class="list list-no-selection">
<div class="list-section">
<div class="list-section-header">
{{i18n.loginInformation}}
{{i18n.itemInformation}}
<i class="fa fa-share-alt fa-lg pull-right" ng-if="cipher.organizationId" title="{{i18n.shared}}"></i>
</div>
<div class="list-section-items">

View File

@ -37,7 +37,7 @@
<div class="centered-message" ng-if="loaded && !vaultCiphers.length">
<p>
{{i18n.noItemsInList}}
<button ng-click="addCipher()" style="margin-top: 20px;" class="btn btn-link btn-block">{{i18n.addLogin}}</button>
<button ng-click="addCipher()" style="margin-top: 20px;" class="btn btn-link btn-block">{{i18n.addItem}}</button>
</p>
</div>
<div class="page-loading" ng-if="!loaded">