Commit 7401a427 authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

some more translations

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent b2d54b76
......@@ -66,11 +66,11 @@
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group hideinputcharakter">
......
......@@ -129,7 +129,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group hideinputcharakter">
......@@ -164,7 +164,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group">
......@@ -205,7 +205,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -228,7 +228,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -249,7 +249,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -270,7 +270,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -291,7 +291,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
</div>
......
......@@ -75,7 +75,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
</div>
......
......@@ -202,7 +202,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group hideinputcharakter">
......@@ -236,7 +236,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group">
......@@ -276,7 +276,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -299,7 +299,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -320,7 +320,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -341,7 +341,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -362,7 +362,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......
......@@ -93,11 +93,11 @@
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group hideinputcharakter">
......@@ -135,11 +135,11 @@
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......
......@@ -97,7 +97,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group hideinputcharakter">
......@@ -131,7 +131,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group">
......@@ -172,7 +172,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -195,7 +195,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -216,7 +216,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -237,7 +237,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......@@ -258,7 +258,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</form>
......
......@@ -83,11 +83,11 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group hideinputcharakter">
......
{
"NEW": "Neu",
"ACTIONS": "Aktionen",
"SEARCH": "suchen",
"OK": "OK",
"NO_ITEMS": "Keine Einträge.",
"CLICK_ON_THE": "Klicke auf das",
"SYMBOL_IN_THE_TOP_RIGHT": "Symbol in der oberen rechten Ecke um loszulegen.",
"RIGHT_CLICK_HERE_TO_CREATE_ONE": "Hier rechtsklicken um einen zu erstellen.",
"NEW_FOLDER": "Neuer Ordner",
"NEW_ENTRY": "Neuer Eintrag",
"EDIT_FOLDER": "Ordner Bearbeiten",
"FOLDER_NAME": "Ordner Name",
"FOLDER_NAME_IS_REQUIRED": "Der Name des Ordners ist erforderlich",
"GENERATE_NEW_GPG_KEY": "Neuen GPG Key Generieren",
"WE_GENERATE_YOUR_GPG_KEYS_PLEASE_WAIT": "Wir generieren ihren GPG Key. Dies kann einige Minuten dauern, je nach Hardware.",
"NAME_AND_EMAIL_ADDRESS_WILL_BE_PUBLICLY_AVAILABLE": "Der Name und die E-Mail Adresse werden öffentlich verfügbar sein. Die E-Mail Adresse kann kein \"fake\" sein falls sie möchten dass andere Leute ihre E-Mails entschlüsseln können. Der Name kann alles sein, wonach andere Leute später suchen können, aber wir raten ihnen ihren echten Namen zu verwenden.",
"PUBLISH_PUBLIC_KEY": "Publik Key veröffentlichen",
"YOUR_PUBLIC_GPG_KEY_IS_REQUIRED": "Dein public key ist erforderlich",
"YOUR_PRIVATE_GPG_KEY_IS_REQUIRED": "Dein private key ist erforderlich",
"YOUR_PUBLIC_GPG_KEY": "Dein public key (erforderlich), einschließlich:",
"YOUR_PRIVATE_GPG_KEY": "Dein private key (erforderlich), einschließlich:",
"TITLE_IS_REQUIRED": "Der Title ist erforderlich",
"NAME_IS_REQUIRED": "Der Name ist erforderlich",
"EMAIL_IS_REQUIRED": "The e-mail is required",
"YOUR_REQUIRED_NAME": "Dein Name (erforderlich)",
"YOUR_REQUIRED_EMAIL": "Deine E-Mail Adresse (erforderlich)",
"YOUR_KEYS_PASSPHRASE": "Die Passphrase deines Keys (falls er passwortgeschützt ist)",
"TITLE_TO_IDENTIFY_THIS_KEY": "Title um diesen Key zu identifizieren (erforderlich)",
"IMPORT_GPG_KEY": "Import GPG Key",
"SET_LONGER_PASSWORD": "Benutzen sie ein längeres Passwort (length <= {{ min_password_length }})",
"SET_LONGER_PASSWORD_10": "Benutzen sie ein längeres Passwort",
"REMOVE_USERNAME_FROM_PASSWORD": "Entfernen sie den Benutzernamen vom Passwort",
......
{
"NEW": "New",
"ACTIONS": "Actions",
"SEARCH": "search",
"OK": "OK",
"NO_ITEMS": "No items.",
"CLICK_ON_THE": "Cick on the",
"SYMBOL_IN_THE_TOP_RIGHT": "symbol in the top right corner to start.",
"RIGHT_CLICK_HERE_TO_CREATE_ONE": "Right click here to create one.",
"NEW_FOLDER": "New Folder",
"NEW_ENTRY": "New Entry",
"EDIT_FOLDER": "Edit Folder",
"FOLDER_NAME": "Folder Name",
"FOLDER_NAME_IS_REQUIRED": "The folder's name is required",
"GENERATE_NEW_GPG_KEY": "Generate New GPG Key",
"WE_GENERATE_YOUR_GPG_KEYS_PLEASE_WAIT": "We are generating your GPG Keys now. This can take several minutes, depending on your hardware.",
"NAME_AND_EMAIL_ADDRESS_WILL_BE_PUBLICLY_AVAILABLE": "The name and email address will be publicly available. The email address cannot be \"fake\" if you want that other people can decrypt your emails. The name can be anything, that other people can later search for, yet we advise you to take your real name.",
"PUBLISH_PUBLIC_KEY": "Publish public key",
"YOUR_PUBLIC_GPG_KEY_IS_REQUIRED": "Your public key is required",
"YOUR_PRIVATE_GPG_KEY_IS_REQUIRED": "Your private key is required",
"YOUR_PUBLIC_GPG_KEY": "Your public key (required), including:",
"YOUR_PRIVATE_GPG_KEY": "Your private key (required), including:",
"TITLE_IS_REQUIRED": "The title is required",
"NAME_IS_REQUIRED": "The name is required",
"EMAIL_IS_REQUIRED": "The e-mail is required",
"YOUR_REQUIRED_NAME": "Your name (required)",
"YOUR_REQUIRED_EMAIL": "Your email address (required)",
"YOUR_KEYS_PASSPHRASE": "Your key's passphrase (if its password protected)",
"TITLE_TO_IDENTIFY_THIS_KEY": "Title to identify this key (required)",
"IMPORT_GPG_KEY": "Import GPG Key",
"SET_LONGER_PASSWORD": "Set longer password (length <= {{ min_password_length }})",
"SET_LONGER_PASSWORD_10": "Set a longer password",
"REMOVE_USERNAME_FROM_PASSWORD": "Remove username from password",
......
......@@ -61,8 +61,8 @@
<div>
<button class="btn btn-primary" type="button" ng-click="submitted=true; save();">{{'SAVE' | translate}}</button>
<span class="error" ng-repeat="e in errors">{{e}}</span>
<span ng-repeat="m in msgs">{{m}}</span>
<div class="error" ng-repeat="e in errors"><span translate="{{ e }}"></span></div>
<div ng-repeat="e in msgs"><span translate="{{ e }}"></span></div>
</div>
</form>
......
This diff is collapsed.
......@@ -42,7 +42,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</div>
......
......@@ -20,7 +20,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group">
<button ng-click="encrypt()" type="submit" class="btn btn-primary">Encrypt</button>
......
......@@ -145,11 +145,11 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div ng-if="state.download_ongoing">
......
......@@ -14,7 +14,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group">
<button ng-click="decrypt()" type="submit-" class="btn btn-primary">Decrypt</button>
......
......@@ -16,7 +16,7 @@
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
......
......@@ -10,7 +10,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group alert alert-danger">
......
<form name="editEntryForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Edit {{bp.selected.name}}</h3>
<h3 class="modal-title">{{'EDIT' | translate}} {{bp.selected.name}}</h3>
</div>
<div class="modal-body">
<!--
......@@ -33,7 +33,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -76,7 +76,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -119,7 +119,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -166,7 +166,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -191,11 +191,11 @@
</div>
<div class="alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</div>
......
<form name="editFolderForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Edit Folder</h3>
<h3 class="modal-title">{{'EDIT_FOLDER' | translate}}</h3>
</div>
<div class="modal-body">
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newFolderForm.name.$invalid]">
<input type="text" name="name" class="form-control" id="folderName" placeholder="Folder Name" ng-model="name" required>
<p class="help-block" ng-show="submitted && newFolderForm.name.$error.required">The folder's name is required</p>
<input type="text" name="name" class="form-control" id="folderName" placeholder="{{'FOLDER_NAME' | translate}}" ng-model="name" required>
<p class="help-block" ng-show="submitted && newFolderForm.name.$error.required">{{'FOLDER_NAME_IS_REQUIRED' | translate}}</p>
</div>
</div>
<div class="modal-footer">
......
......@@ -65,7 +65,9 @@
<button class="btn btn-primary" type="button" ng-click="add_new_public_key();">Add</button>
</div>
<div class="form-group" ng-if="data.new_public_key | fingerprint">
<span class="error" ng-repeat="e in errors">{{e}}</span>
<div class="error" ng-repeat="e in errors">
<span translate="{{ e }}"></span>
</div>
</div>
</uib-tab>
......
......@@ -104,7 +104,7 @@
</uib-tabset>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</div>
<div class="modal-footer">
......
......@@ -19,7 +19,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
<div class="form-group">
<button ng-click="encrypt()" type="submit" class="btn btn-primary">Encrypt</button>
......
<form name="modalShowRecoverycodeForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="close()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Generate New GPG Key</h3>
<h3 class="modal-title">{{'GENERATE_NEW_GPG_KEY' | translate}}</h3>
</div>
<div class="modal-body" ng-if="!generating">
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newMailKeyForm.title.$invalid]">
<input type="text" name="title" class="form-control" id="keyTitle" placeholder="Title to identify this key (required)" ng-model="data.title" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.name.$error.required">The title is required</p>
<input type="text" name="title" class="form-control" id="keyTitle" placeholder="{{'TITLE_TO_IDENTIFY_THIS_KEY' | translate}}" ng-model="data.title" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.name.$error.required">{{'TITLE_IS_REQUIRED' | translate}}</p>
</div>
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newMailKeyForm.name.$invalid]">
<input type="text" name="name" class="form-control" id="keyName" placeholder="Your name (optional)" ng-model="data.name" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.email.$error.required">Your email address is required</p>
<input type="text" name="name" class="form-control" id="keyName" placeholder="{{'YOUR_REQUIRED_NAME' | translate}}" ng-model="data.name" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.email.$error.required">{{'NAME_IS_REQUIRED' | translate}}</p>
</div>
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newMailKeyForm.email.$invalid]">
<input type="text" name="email" class="form-control" id="keyEmail" placeholder="Your email address (required)" ng-model="data.email" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.email.$error.required">Your email address is required</p>
<input type="text" name="email" class="form-control" id="keyEmail" placeholder="{{'YOUR_REQUIRED_EMAIL' | translate}}" ng-model="data.email" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.email.$error.required">{{'EMAIL_IS_REQUIRED' | translate}}</p>
</div>
<div class="form-group">
<input type="checkbox" ng-model="data.publish"> Publish public key?
<input type="checkbox" ng-model="data.publish"> {{'PUBLISH_PUBLIC_KEY' | translate}}?
</div>
<div class="form-group">
<div class="alert alert-info">
<strong>{{'INFO' | translate}}!</strong> The name and email address will be publicly available. The email address cannot
be "fake" if you want that other people can decrypt your emails. The name can be anything, that
other people can later search for, yet we advise you to take your real name.
<strong>{{'INFO' | translate}}!</strong> {{'NAME_AND_EMAIL_ADDRESS_WILL_BE_PUBLICLY_AVAILABLE' | translate}}
</div>
</div>
<div class="form-group" ng-if="errors || msgs">
<span class="error" ng-repeat="e in errors">{{e}}</span>
<span ng-repeat="m in msgs">{{m}}</span>
<div class="error" ng-repeat="e in errors"><span translate="{{ e }}"></span></div>
<div ng-repeat="e in msgs"><span translate="{{ e }}"></span></div>
</div>
</div>
<div class="modal-body" ng-if="generating">
<div class="alert alert-info">
<strong>{{'INFO' | translate}}!</strong> We are generating your GPG Keys now. This can take several minutes, depending on your hardware.
<strong>{{'INFO' | translate}}!</strong> {{'WE_GENERATE_YOUR_GPG_KEYS_PLEASE_WAIT' | translate}}
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" type="submit" ng-click="save();" ng-disabled="generating">Generate</button>
<button class="btn btn-primary" type="submit" ng-click="save();" ng-disabled="generating">{{'GENERATE' | translate}}</button>
<button class="btn" type="button" ng-click="close();" ng-disabled="generating">{{'CANCEL' | translate}}</button>
</div>
</form>
\ No newline at end of file
......@@ -14,7 +14,7 @@
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</div>
<div class="modal-body" ng-if="!state.started_load_all_datastores">
......
<form name="modalShowRecoverycodeForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="close()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Import GPG Key</h3>
<h3 class="modal-title">{{'IMPORT_GPG_KEY' | translate}}</h3>
</div>
<div class="modal-body">
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newMailKeyForm.title.$invalid]">
<input type="text" name="title" class="form-control" id="keyTitle" placeholder="Title to identify this key (required)" ng-model="data.title" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.name.$error.required">The title is required</p>
<input type="text" name="title" class="form-control" id="keyTitle" placeholder="{{'TITLE_TO_IDENTIFY_THIS_KEY' | translate}}" ng-model="data.title" required>
<p class="help-block" ng-show="submitted && newMailKeyForm.name.$error.required">{{'TITLE_IS_REQUIRED' | translate}}</p>
</div>
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newMailKeyForm.passphrase.$invalid]">
<input type="password" name="passphrase" class="form-control" id="keyPassphrase" placeholder="Your key's passphrase (if its password protected)" ng-model="data.passphrase">
<p class="help-block" ng-show="submitted && newMailKeyForm.passphrase.$error.required">Your key's passphrase is required</p>
<input type="password" name="passphrase" class="form-control" id="keyPassphrase" placeholder="{{'YOUR_KEYS_PASSPHRASE' | translate}}" ng-model="data.passphrase">
</div>
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newMailKeyForm.public_key.$invalid]">
<textarea class="form-control"
placeholder="Your public key (required), including: -----BEGIN PGP PUBLIC KEY BLOCK----- and -----END PGP PUBLIC KEY BLOCK-----"
placeholder="{{'YOUR_PUBLIC_GPG_KEY' | translate}} -----BEGIN PGP PUBLIC KEY BLOCK----- and -----END PGP PUBLIC KEY BLOCK-----"
ng-model="data.public_key" required></textarea>
<p class="help-block" ng-show="submitted && newMailKeyForm.public_key.$error.required">Your public key is required</p>
<p class="help-block" ng-show="submitted && newMailKeyForm.public_key.$error.required">{{ YOUR_PUBLIC_GPG_KEY_IS_REQUIRED }}</p>
</div>
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newMailKeyForm.private_key.$invalid]">
<textarea class="form-control"
placeholder="Your private key (required), including: -----BEGIN PGP PRIVATE KEY BLOCK----- and -----END PGP PRIVATE KEY BLOCK-----"
placeholder="{{'YOUR_PRIVATE_GPG_KEY' | translate}} -----BEGIN PGP PRIVATE KEY BLOCK----- and -----END PGP PRIVATE KEY BLOCK-----"
ng-model="data.private_key" required></textarea>
<p class="help-block" ng-show="submitted && newMailKeyForm.private_key.$error.required">Your private key is required</p>
<p class="help-block" ng-show="submitted && newMailKeyForm.private_key.$error.required">{{ YOUR_PRIVATE_GPG_KEY_IS_REQUIRED }}</p>
</div>
<div class="form-group" ng-if="errors || msgs">
<span class="error" ng-repeat="e in errors">{{e}}</span>
<span ng-repeat="m in msgs">{{m}}</span>
<div class="error" ng-repeat="e in errors"><span translate="{{ e }}"></span></div>
<div ng-repeat="e in msgs"><span translate="{{ e }}"></span></div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" type="submit" ng-click="save();">Import</button>
<button class="btn btn-primary" type="submit" ng-click="save();">{{'IMPORT' | translate}}</button>
<button class="btn" type="button" ng-click="close();">{{'CANCEL' | translate}}</button>
</div>
</form>
\ No newline at end of file
<form name="newEntryForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">New {{bp.selected.name}}</h3>
<h3 class="modal-title">{{'NEW' | translate}} {{bp.selected.name}}</h3>
</div>
<div class="modal-body">
......@@ -39,7 +39,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -92,7 +92,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -144,7 +144,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -200,7 +200,7 @@
ng-change="bp.selected[n.onChange](bp.selected.fields)">
<div class="input-group-btn" uib-dropdown is-open="status.isopen">
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle ng-disabled="disabled">
Actions <span class="caret"></span>
{{'ACTIONS' | translate}} <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu">
<li role="menuitem" ng-repeat="di in n.dropmenuItems track by $index" ng-if="!di.hide_offline || !offline">
......@@ -224,8 +224,12 @@
</div>
<span ng-repeat="e in errors" class="help-block">{{e}}</span>
<span ng-repeat="e in msgs" class="help-block">{{e}}</span>
<div ng-repeat="e in errors" class="help-block">
<span translate="{{ e }}"></span>
</div>
<div ng-repeat="e in msgs" class="help-block">
<span translate="{{ e }}"></span>
</div>
</div>
<div class="modal-footer">
......
<form name="newFolderForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">New Folder</h3>
<h3 class="modal-title">{{'NEW_FOLDER' | translate}}</h3>
</div>
<div class="modal-body">
<div class="form-group" ng-class="{true: 'has-error'}[submitted && newFolderForm.name.$invalid]">
<input type="text" name="name" class="form-control" id="folderName" placeholder="Folder Name" ng-model="name" required autofocus>
<p class="help-block" ng-show="submitted && newFolderForm.name.$error.required">The folder's name is required</p>
<input type="text" name="name" class="form-control" id="folderName" placeholder="{{'FOLDER_NAME' | translate}}" ng-model="name" required autofocus>
<p class="help-block" ng-show="submitted && newFolderForm.name.$error.required">{{'FOLDER_NAME_IS_REQUIRED' | translate}}</p>
</div>
</div>
<div class="modal-footer">