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": { "autoFillInfo": {
"message": "There are no logins available to auto-fill for the current browser tab." "message": "There are no logins available to auto-fill for the current browser tab."
}, },
"addLogin": { "addItem": {
"message": "Add a Login" "message": "Add an Item"
}, },
"passwordHint": { "passwordHint": {
"message": "Password Hint" "message": "Password Hint"
@ -191,26 +191,25 @@
"message": "bitwarden Web Vault" "message": "bitwarden Web Vault"
}, },
"bitWebVaultInfo": { "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": { "bitIosVault": {
"message": "bitwarden iOS Vault" "message": "bitwarden iOS Vault"
}, },
"bitIosVaultInfo": { "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": { "bitAndrVault": {
"message": "bitwarden Android Vault" "message": "bitwarden Android Vault"
}, },
"bitAndrVaultInfo": { "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": { "importItems": {
"message": "Import Logins", "message": "Import Items"
"description": "Import Logins"
}, },
"importLoginsInfo": { "importItemsInfo": {
"message": "Quickly bulk import your logins from other password management applications." "message": "Quickly bulk import your items from other password management applications."
}, },
"select": { "select": {
"message": "Select" "message": "Select"
@ -248,8 +247,8 @@
"noItemsInList": { "noItemsInList": {
"message": "There are no items to list." "message": "There are no items to list."
}, },
"loginInformation": { "itemInformation": {
"message": "Login Information" "message": "Item Information"
}, },
"username": { "username": {
"message": "Username" "message": "Username"
@ -263,17 +262,17 @@
"notes": { "notes": {
"message": "Notes" "message": "Notes"
}, },
"editLogin": { "editItem": {
"message": "Edit Login" "message": "Edit Item"
}, },
"folder": { "folder": {
"message": "Folder" "message": "Folder"
}, },
"deleteLogin": { "deleteItem": {
"message": "Delete Login" "message": "Delete Item"
}, },
"viewLogin": { "viewItem": {
"message": "View Login" "message": "View Item"
}, },
"launchWebsite": { "launchWebsite": {
"message": "Launch Website" "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'" "description": "' copied'. This is part of a sentence so be sure to leave the space prefix. For example: 'Password copied'"
}, },
"autofillError": { "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": { "loggedOut": {
"message": "Logged out" "message": "Logged out"
@ -444,8 +443,8 @@
"syncingFailed": { "syncingFailed": {
"message": "Syncing failed" "message": "Syncing failed"
}, },
"importLoginsConfirmation": { "importItemsConfirmation": {
"message": "You can bulk import logins from the bitwarden.com web vault. Do you want to visit the website now?" "message": "You can bulk import items from the bitwarden.com web vault. Do you want to visit the website now?"
}, },
"passwordCopied": { "passwordCopied": {
"message": "Password copied" "message": "Password copied"
@ -453,17 +452,17 @@
"uri": { "uri": {
"message": "URI" "message": "URI"
}, },
"addedLogin": { "addedItem": {
"message": "Added login" "message": "Added item"
}, },
"editedLogin": { "editedItem": {
"message": "Edited login" "message": "Edited item"
}, },
"deleteLoginConfirmation": { "deleteItemConfirmation": {
"message": "Are you sure you want to delete this login?" "message": "Are you sure you want to delete this item?"
}, },
"deletedLogin": { "deletedItem": {
"message": "Deleted login" "message": "Deleted item"
}, },
"overwritePassword": { "overwritePassword": {
"message": "Overwrite Password" "message": "Overwrite Password"
@ -485,7 +484,7 @@
}, },
"noneFolder": { "noneFolder": {
"message": "No Folder", "message": "No Folder",
"description": "This is the folder for uncategorized logins" "description": "This is the folder for uncategorized items"
}, },
"features": { "features": {
"message": "Features" "message": "Features"
@ -537,7 +536,7 @@
"message": "Share Your Vault" "message": "Share Your Vault"
}, },
"shareVaultInfo": { "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": { "contribute": {
"message": "You can contribute too!" "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-items" ng-class="{'list-no-selection': !loginCiphers.length}">
<div class="list-section-item" ng-if="loaded && !loginCiphers.length"> <div class="list-section-item" ng-if="loaded && !loginCiphers.length">
<p>{{i18n.autoFillInfo}}</p> <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> </div>
<cipher-items ng-if="loginCiphers.length" ciphers="loginCiphers" on-view="viewCipher" <cipher-items ng-if="loginCiphers.length" ciphers="loginCiphers" on-view="viewCipher"
on-selected="fillCipher" selection-title="i18n.autoFill"></cipher-items> on-selected="fillCipher" selection-title="i18n.autoFill"></cipher-items>

View File

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

View File

@ -35,8 +35,8 @@
</a> </a>
<a class="list-section-item wrap" href="" ng-click="launchImport()"> <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="leading-icon" style="color: #6fc2ff;"><i class="fa fa-cloud-upload fa-fw"></i></span>
<span class="text">{{i18n.importLogins}}</span> <span class="text">{{i18n.importItems}}</span>
<span class="detail">{{i18n.importLoginsInfo}}</span> <span class="detail">{{i18n.importItemsInfo}}</span>
</a> </a>
<a class="list-section-item wrap" ui-sref="export({animation: 'in-slide-up'})" ng-if="showExport"> <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> <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); return cipherService.saveWithServer(cipher);
}).then(function (c) { }).then(function (c) {
$analytics.eventTrack('Added Cipher'); $analytics.eventTrack('Added Cipher');
toastr.success(i18nService.addedLogin); toastr.success(i18nService.addedItem);
$scope.close(); $scope.close();
}); });
}; };

View File

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

View File

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

View File

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

View File

@ -76,7 +76,7 @@
<div class="centered-message" ng-if="loaded && !vaultCiphers.length"> <div class="centered-message" ng-if="loaded && !vaultCiphers.length">
<p> <p>
{{i18n.noItemsInList}} {{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> </p>
</div> </div>
<div class="page-loading" ng-if="!loaded"> <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> <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> <i class="fa fa-spinner fa-lg" ng-show="theForm.$loading" ng-class="{'fa-spin' : theForm.$loading}"></i>
</div> </div>
<div class="title">{{i18n.addLogin}}</div> <div class="title">{{i18n.addItem}}</div>
</div> </div>
<div class="content"> <div class="content">
<div class="list"> <div class="list">
<div class="list-section"> <div class="list-section">
<div class="list-section-header"> <div class="list-section-header">
{{i18n.loginInformation}} {{i18n.itemInformation}}
</div> </div>
<div class="list-section-items"> <div class="list-section-items">
<div class="list-section-item"> <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> <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> <i class="fa fa-spinner fa-lg" ng-show="theForm.$loading" ng-class="{'fa-spin' : theForm.$loading}"></i>
</div> </div>
<div class="title">{{i18n.editLogin}}</div> <div class="title">{{i18n.editItem}}</div>
</div> </div>
<div class="content"> <div class="content">
<div class="list"> <div class="list">
<div class="list-section"> <div class="list-section">
<div class="list-section-header"> <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> <i class="fa fa-share-alt fa-lg pull-right" ng-if="cipher.organizationId" title="{{i18n.shared}}"></i>
</div> </div>
<div class="list-section-items"> <div class="list-section-items">
@ -262,7 +262,7 @@
<div class="list-section"> <div class="list-section">
<div class="list-section-items"> <div class="list-section-items">
<a href="" ng-click="delete()" class="list-section-item text-danger"> <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> </a>
</div> </div>
</div> </div>

View File

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

View File

@ -37,7 +37,7 @@
<div class="centered-message" ng-if="loaded && !vaultCiphers.length"> <div class="centered-message" ng-if="loaded && !vaultCiphers.length">
<p> <p>
{{i18n.noItemsInList}} {{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> </p>
</div> </div>
<div class="page-loading" ng-if="!loaded"> <div class="page-loading" ng-if="!loaded">