summaryrefslogtreecommitdiff
path: root/web-ui/app/templates
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-06-23 20:11:08 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-06-23 20:11:08 -0300
commit0837621dd7a4d843adabd1ea80e42d8599cbe5f7 (patch)
tree180592cc063b5e83831c8edda0a944a4f3170fd6 /web-ui/app/templates
parentf1e5f54048cfadec42990f3dfb212c7147bf5faa (diff)
[#619] Fix some missing translation strings
Diffstat (limited to 'web-ui/app/templates')
-rw-r--r--web-ui/app/templates/compose/reply_section.hbs2
-rw-r--r--web-ui/app/templates/mail_actions/actions_box.hbs6
-rw-r--r--web-ui/app/templates/mail_actions/trash_actions_box.hbs4
-rw-r--r--web-ui/app/templates/mails/draft.hbs2
-rw-r--r--web-ui/app/templates/mails/mail_actions.hbs4
-rw-r--r--web-ui/app/templates/mails/sent.hbs2
-rw-r--r--web-ui/app/templates/page/logout.hbs2
-rw-r--r--web-ui/app/templates/page/logout_shortcut.hbs2
-rw-r--r--web-ui/app/templates/page/user_settings_box.hbs6
-rw-r--r--web-ui/app/templates/page/user_settings_icon.hbs2
-rw-r--r--web-ui/app/templates/page/version.hbs2
-rw-r--r--web-ui/app/templates/tags/tag_list.hbs4
12 files changed, 19 insertions, 19 deletions
diff --git a/web-ui/app/templates/compose/reply_section.hbs b/web-ui/app/templates/compose/reply_section.hbs
index 9e833ffe..85ab49c4 100644
--- a/web-ui/app/templates/compose/reply_section.hbs
+++ b/web-ui/app/templates/compose/reply_section.hbs
@@ -1,6 +1,6 @@
<div class="reply-container columns small-12 large-12">
<button id="reply-button" class="column small-12 large-4">{{t 'Reply'}} <i class="fa fa-reply"></i></button>
- <button id="reply-all-button" class="column small-12 large-4">{{t 'Reply to All'}} <i class="fa fa-reply-all"></i></button>
+ <button id="reply-all-button" class="column small-12 large-4">{{t 'reply-to-all'}} <i class="fa fa-reply-all"></i></button>
<button id="forward-button" class="column small-12 large-4">{{t 'Forward'}} <i class="fa fa-mail-forward"></i></button>
<div id="reply-box" style="display:none"></div>
</div>
diff --git a/web-ui/app/templates/mail_actions/actions_box.hbs b/web-ui/app/templates/mail_actions/actions_box.hbs
index 0c9b6737..68a8d0bf 100644
--- a/web-ui/app/templates/mail_actions/actions_box.hbs
+++ b/web-ui/app/templates/mail_actions/actions_box.hbs
@@ -1,7 +1,7 @@
<li><input type="checkbox" id="toggle-check-all-emails"/></li>
-<li><input type="button" id="mark-selected-as-read" value="{{t 'Mark as read'}}" disabled="disabled"/></li>
+<li><input type="button" id="mark-selected-as-read" value="{{t 'mark-as-read'}}" disabled="disabled"/></li>
<li><input type="button" id="mark-selected-as-unread" value="{{t 'mark-as-unread'}}" disabled="disabled"/></li>
-<li><input type="button" id="delete-selected" value="{{t 'Delete'}}" disabled="disabled"/></li>
-<li><input type="button" id="archive-selected" value="{{t 'Archive'}}" disabled="disabled"/></li>
+<li><input type="button" id="delete-selected" value="{{t 'delete'}}" disabled="disabled"/></li>
+<li><input type="button" id="archive-selected" value="{{t 'archive'}}" disabled="disabled"/></li>
<li id="pagination-trigger" class="right"></li>
<li id="refresh-trigger" class="right"></li>
diff --git a/web-ui/app/templates/mail_actions/trash_actions_box.hbs b/web-ui/app/templates/mail_actions/trash_actions_box.hbs
index 7852bd6f..4e0ec332 100644
--- a/web-ui/app/templates/mail_actions/trash_actions_box.hbs
+++ b/web-ui/app/templates/mail_actions/trash_actions_box.hbs
@@ -1,5 +1,5 @@
<li><input type="checkbox" id="toggle-check-all-emails"/></li>
-<li><input type="button" id="delete-selected" value="{{t 'Delete permanently'}}" disabled="disabled"/></li>
-<li><input type="button" id="recover-selected" value="{{t 'Move to Inbox'}}" disabled="disabled"/></li>
+<li><input type="button" id="delete-selected" value="{{t 'delete-permanently'}}" disabled="disabled"/></li>
+<li><input type="button" id="recover-selected" value="{{t 'move-to-inbox'}}" disabled="disabled"/></li>
<li id="pagination-trigger" class="right"></li>
<li id="refresh-trigger" class="right"></li>
diff --git a/web-ui/app/templates/mails/draft.hbs b/web-ui/app/templates/mails/draft.hbs
index d223c0a4..942b9815 100644
--- a/web-ui/app/templates/mails/draft.hbs
+++ b/web-ui/app/templates/mails/draft.hbs
@@ -5,7 +5,7 @@
<a class="mail-list-entry__item" href="/#/{{ currentTag }}/mail/{{ ident }}">
<div>
<div class="mail-list-entry__item-from">
- {{t 'to:'}}
+ {{t 'to'}}:
{{#if header.to }}
{{ header.to }}
{{else}}
diff --git a/web-ui/app/templates/mails/mail_actions.hbs b/web-ui/app/templates/mails/mail_actions.hbs
index 0b717373..0adfe853 100644
--- a/web-ui/app/templates/mails/mail_actions.hbs
+++ b/web-ui/app/templates/mails/mail_actions.hbs
@@ -1,6 +1,6 @@
<button id="reply-button-top" class="mail-read-view__header-actions-button mail-read-view__header-actions-button--reply"><i class="fa fa-reply"></i></button>
<button id="view-more-actions" class="mail-read-view__header-actions-button mail-read-view__header-actions-button--more"><i class="fa fa-caret-down"></i></button>
<ul id="more-actions" class="mail-read-view__header-actions-dropdown">
- <li id="reply-all-button-top" class="mail-read-view__header-actions-dropdown-entry">{{t 'Reply to All'}}</li>
- <li id="delete-button-top" class="mail-read-view__header-actions-dropdown-entry">{{t 'Delete this message'}}</li>
+ <li id="reply-all-button-top" class="mail-read-view__header-actions-dropdown-entry">{{t 'reply-to-all'}}</li>
+ <li id="delete-button-top" class="mail-read-view__header-actions-dropdown-entry">{{t 'delete-this-message'}}</li>
</ul>
diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs
index a637e3d2..be51cfd4 100644
--- a/web-ui/app/templates/mails/sent.hbs
+++ b/web-ui/app/templates/mails/sent.hbs
@@ -4,7 +4,7 @@
<a class="mail-list-entry__item" href="/#/{{ currentTag }}/mail/{{ ident }}">
<div>
<div class="mail-list-entry__item-from">
- {{t 'to:'}}
+ {{t 'to'}}:
{{#if header.to }}
{{ header.to }}
{{else}}
diff --git a/web-ui/app/templates/page/logout.hbs b/web-ui/app/templates/page/logout.hbs
index 3768d24f..0cc079bc 100644
--- a/web-ui/app/templates/page/logout.hbs
+++ b/web-ui/app/templates/page/logout.hbs
@@ -3,7 +3,7 @@
<input type="hidden" name="csrftoken" value="{{ csrf_token }}" />
<li>
<div class="fa fa-sign-out"></div>
- <i class="shortcut-label"></i> Logout
+ <i class="shortcut-label"></i> {{t 'logout'}}
</li>
</form>
</ul>
diff --git a/web-ui/app/templates/page/logout_shortcut.hbs b/web-ui/app/templates/page/logout_shortcut.hbs
index 4c1db89a..043ab0dc 100644
--- a/web-ui/app/templates/page/logout_shortcut.hbs
+++ b/web-ui/app/templates/page/logout_shortcut.hbs
@@ -1,6 +1,6 @@
<li>
<a class="left-off-canvas-toggle logout" >
<i class="fa fa-sign-out"></i>
- <div class="shortcut-label">Logout</div>
+ <div class="shortcut-label">{{t 'logout'}}</div>
</a>
</li>
diff --git a/web-ui/app/templates/page/user_settings_box.hbs b/web-ui/app/templates/page/user_settings_box.hbs
index 761bfc16..962d0a69 100644
--- a/web-ui/app/templates/page/user_settings_box.hbs
+++ b/web-ui/app/templates/page/user_settings_box.hbs
@@ -1,10 +1,10 @@
<header>
<span id="user-settings-close"><i class="fa fa-close"></i></span>
<i class="fa fa-user"></i>
- <h1>User Settings</h1>
+ <h1>{{t 'user-settings'}}</h1>
<i class="shortcut-label"></i>
</header>
-<i class="fa fa-envelope-o"></i><h2>E-Mail address</h2>
+<i class="fa fa-envelope-o"></i><h2>{{t 'email-address'}}</h2>
<p>{{ account_email }}</p>
-<i class="fa fa-key"></i><h2>Public key fingerprint</h2>
+<i class="fa fa-key"></i><h2>{{t 'public-key-fingerprint'}}</h2>
<p>{{ formatFingerPrint fingerprint }}</p>
diff --git a/web-ui/app/templates/page/user_settings_icon.hbs b/web-ui/app/templates/page/user_settings_icon.hbs
index 8b61655c..d689a2f8 100644
--- a/web-ui/app/templates/page/user_settings_icon.hbs
+++ b/web-ui/app/templates/page/user_settings_icon.hbs
@@ -2,7 +2,7 @@
<a title="user settings" href='#'>
<li>
<div class="fa fa-user"></div>
- <i class="shortcut-label"></i> User Settings
+ <i class="shortcut-label"></i> {{t 'user-settings'}}
</li>
</a>
</ul>
diff --git a/web-ui/app/templates/page/version.hbs b/web-ui/app/templates/page/version.hbs
index 00344f60..5f43f78a 100644
--- a/web-ui/app/templates/page/version.hbs
+++ b/web-ui/app/templates/page/version.hbs
@@ -1,2 +1,2 @@
-version: UNKNOWN_VERSION <br/>
+{{t 'version'}}: UNKNOWN_VERSION <br/>
<span id="version-date" data-since="COMMIT_DATE"></span>
diff --git a/web-ui/app/templates/tags/tag_list.hbs b/web-ui/app/templates/tags/tag_list.hbs
index e265354f..92a73283 100644
--- a/web-ui/app/templates/tags/tag_list.hbs
+++ b/web-ui/app/templates/tags/tag_list.hbs
@@ -1,6 +1,6 @@
<ul id="default-tag-list"></ul>
<div class="tags-icon side-nav-toggle">
<i class="fa fa-tags"></i>
- <span class="tag-label">Tags</span>
+ <span class="tag-label">{{t 'tags.tags'}}</span>
</div>
-<ul id="custom-tag-list"></ul> \ No newline at end of file
+<ul id="custom-tag-list"></ul>