diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-12-29 11:30:36 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-12-29 11:30:43 +0100 |
commit | edf2e4865d931f560c58b7cbf7b2efbbf3a7a4c3 (patch) | |
tree | 52c895b047bbeb95456cdbc2e3a312f7b500f2ef /templates | |
parent | 5869e1440c67400f9eff62ea0ab4254c0b883f48 (diff) |
Add missing translation strings
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/addressBook.html | 18 | ||||
-rw-r--r-- | templates/contactDetails.html | 4 | ||||
-rw-r--r-- | templates/detailItems/adr.html | 2 | ||||
-rw-r--r-- | templates/detailItems/date.html | 2 | ||||
-rw-r--r-- | templates/detailItems/n.html | 2 | ||||
-rw-r--r-- | templates/detailItems/tel.html | 2 | ||||
-rw-r--r-- | templates/detailItems/text.html | 2 | ||||
-rw-r--r-- | templates/detailItems/textarea.html | 2 | ||||
-rw-r--r-- | templates/detailItems/url.html | 2 |
9 files changed, 18 insertions, 18 deletions
diff --git a/templates/addressBook.html b/templates/addressBook.html index 06379eb1..4d497f74 100644 --- a/templates/addressBook.html +++ b/templates/addressBook.html @@ -3,21 +3,21 @@ <span class="action" ng-show="ctrl.canExport"> <a href="{{ctrl.addressBook.url}}?export" id="addressBooklist-icon download" - title="Download" + title="{{ctrl.t.download}}" class="icon-download"> </a> </span> <span class="action"> <span class="addressbooklist-icon icon-public" - title="Show URL" + title="{{ctrl.t.showURL}}" ng-click="ctrl.toggleShowUrl()"> </span> </span> <span class="action"> <span class="addressbooklist-icon icon-share" - title="Share Addressbook" + title="{{ctrl.t.shareAddressbook}}" ng-click="ctrl.toggleSharesEditor(ctrl.addressBook)"> </span> </span> @@ -25,7 +25,7 @@ <span class="addressbooklist-icon icon-delete" ng-class="{hidden: ctrl.list.length === 1}" - title="Delete Addressbook" + title="{{ctrl.t.deleteAddressbook}}" ng-click="ctrl.deleteAddressBook()"> </span> </span> @@ -40,7 +40,7 @@ typeahead-on-select="ctrl.onSelectSharee($item)" typeahead-loading="ctrl.loadingSharees" ng-model="ctrl.selectedSharee" - placeholder="Share with users or groups"> + placeholder="{{ctrl.t.shareInputPlaceHolder}}"> <ul class="addressBook-share-list"> <li ng-repeat="userShare in ctrl.addressBook.sharedWith.users" class="addressBook-share-item"> <span class="shareeIdentifier">{{ userShare.displayname }}</span> - @@ -48,13 +48,13 @@ id="checkbox_sharedWithUser_{{ctrl.addressBook.tmpId}}_{{$id}}" ng-model="userShare.writable" value="edit" ng-change="ctrl.updateExistingUserShare(userShare.id, userShare.writable)"> - <label for="checkbox_sharedWithUser_{{ctrl.addressBook.tmpId}}_{{$id}}"> can edit</label> + <label for="checkbox_sharedWithUser_{{ctrl.addressBook.tmpId}}_{{$id}}"> {{ctrl.t.canEdit}}</label> <span class="utils"> <span class="action"> <span href="#" id="addressBooklist-icon delete" data-id="{{ ctrl.addressBook.uri }}" - title="Delete" + title="{{ctrl.t.delete}}" class="icon-delete" ng-click="ctrl.unshareFromUser(userShare.id)"> </span> @@ -67,13 +67,13 @@ id="checkbox_sharedWithGroup_{{ctrl.addressBook.tmpId}}_{{$id}}" ng-model="groupShare.writable" value="edit" ng-change="ctrl.updateExistingGroupShare(groupShare.id, groupShare.writable)"> - <label for="checkbox_sharedWithGroup_{{ctrl.addressBook.tmpId}}_{{$id}}"> can edit</label> + <label for="checkbox_sharedWithGroup_{{ctrl.addressBook.tmpId}}_{{$id}}"> {{ctrl.t.canEdit}}</label> <span class="utils hide"> <span class="action"> <span href="#" id="addressBooklist-icon delete" data-id="{{ ctrl.addressBook.uri }}" - title="Delete" + title="{{ctrl.t.delete}}" class="icon-delete" ng-click="ctrl.unshareFromGroup(groupShare.id)"> </span> diff --git a/templates/contactDetails.html b/templates/contactDetails.html index 42ffc65a..6d4a8ed8 100644 --- a/templates/contactDetails.html +++ b/templates/contactDetails.html @@ -24,8 +24,8 @@ </div> </div> <div id="details-actions"> - <a href="{{ctrl.contact.data.url}}" id="contact-export-link" class="icon-download-white" title="Download"></a> - <button ng-click="ctrl.deleteContact()" class="icon-delete-white" title="Delete"></button> + <a href="{{ctrl.contact.data.url}}" id="contact-export-link" class="icon-download-white" title="{{ctrl.t.download}}"></a> + <button ng-click="ctrl.deleteContact()" class="icon-delete-white" title="{{ctrl.t.download}}"></button> </div> </header> <section> diff --git a/templates/detailItems/adr.html b/templates/detailItems/adr.html index 6590ab6f..41926d30 100644 --- a/templates/detailItems/adr.html +++ b/templates/detailItems/adr.html @@ -1,7 +1,7 @@ <select ng-model="ctrl.type" ng-model-options="{ debounce: 500 }" ng-change="ctrl.changeType(ctrl.type)"> <option ng-repeat="option in ctrl.availableOptions" value="{{option.id}}">{{option.name}}</option> </select> -<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button> +<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button> <div> <label for="details-pobox">{{ctrl.t.poBox}}</label> <input type="text" id="details-pobox" name="address" ng-model="ctrl.data.value[0]" ng-model-options="{ debounce: 500 }" ng-change="ctrl.model.updateContact()" value="" /> diff --git a/templates/detailItems/date.html b/templates/detailItems/date.html index 61e5050a..1c49848b 100644 --- a/templates/detailItems/date.html +++ b/templates/detailItems/date.html @@ -4,4 +4,4 @@ ng-change="ctrl.model.updateContact()" value="" focus-expression="$parent.ctrl.focus === ctrl.name" /> -<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button> +<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button> diff --git a/templates/detailItems/n.html b/templates/detailItems/n.html index 098a442f..16d1dc53 100644 --- a/templates/detailItems/n.html +++ b/templates/detailItems/n.html @@ -1,5 +1,5 @@ <label ng-if="ctrl.availableOptions.length === 0" for="details-{{ctrl.name}}">{{ctrl.meta.readableName}}</label> -<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button> +<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button> <div> <label for="details-honorificPrefix">{{ctrl.t.honorificPrefix}}</label> <input type="text" id="details-honorificPrefix" name="honorificPrefix" ng-model="ctrl.data.value[3]" ng-model-options="{ debounce: 500 }" ng-change="ctrl.updateDetailedName()" diff --git a/templates/detailItems/tel.html b/templates/detailItems/tel.html index e294c6cd..1c5865cd 100644 --- a/templates/detailItems/tel.html +++ b/templates/detailItems/tel.html @@ -7,4 +7,4 @@ placeholder="{{ctrl.meta.readableName}}" focus-expression="$parent.ctrl.focus === ctrl.name" /> -<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button> +<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button> diff --git a/templates/detailItems/text.html b/templates/detailItems/text.html index c33d5f2d..c3295170 100644 --- a/templates/detailItems/text.html +++ b/templates/detailItems/text.html @@ -8,4 +8,4 @@ placeholder="{{ctrl.meta.readableName}}" focus-expression="$parent.ctrl.focus === ctrl.name" /> -<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button> +<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button> diff --git a/templates/detailItems/textarea.html b/templates/detailItems/textarea.html index a436be49..0487e67f 100644 --- a/templates/detailItems/textarea.html +++ b/templates/detailItems/textarea.html @@ -5,4 +5,4 @@ placeholder="{{ctrl.meta.readableName}}" focus-expression="$parent.ctrl.focus === ctrl.name"> </textarea> -<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button> +<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button> diff --git a/templates/detailItems/url.html b/templates/detailItems/url.html index 3927f3ea..e0ff862c 100644 --- a/templates/detailItems/url.html +++ b/templates/detailItems/url.html @@ -5,5 +5,5 @@ placeholder="https://…" focus-expression="$parent.ctrl.focus === ctrl.name" /> -<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button> +<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button> <a ng-if="ctrl.data.value.length" class="url-link" target="_blank" href="{{ctrl.data.value}}">↗</a> |