aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/address_search.html10
-rw-r--r--templates/details.html1
-rw-r--r--templates/details_extra.html1
-rw-r--r--templates/existing.html2
-rw-r--r--templates/login.html2
-rw-r--r--templates/photo.html1
-rw-r--r--templates/submit.html1
-rw-r--r--templates/submit_confirm.html1
-rw-r--r--templates/submit_email.html1
-rw-r--r--templates/submit_name.html1
-rw-r--r--templates/submit_password.html1
-rw-r--r--templates/submit_set_password.html1
12 files changed, 16 insertions, 7 deletions
diff --git a/templates/address_search.html b/templates/address_search.html
index b8bc71e..59ed708 100644
--- a/templates/address_search.html
+++ b/templates/address_search.html
@@ -1,16 +1,16 @@
<div id="search-header" data-role="header">
- <a href="#" id="locate" data-transition="slidedown" class="ui-btn-left">Cancel</a>
- <h1>Search</h1>
+ <a href="#" id="locate" data-transition="slidedown" class="ui-btn-left">[% loc('Cancel') %]</a>
+ <h1>[% loc('Search') %]</h1>
</div>
<div data-role="content">
<div id="front-main">
- <h3 class="notopmargin">Enter a nearby GB postcode, or street name and area</h3>
+ <h3 class="notopmargin">[% loc('Enter a nearby GB postcode, or street name and area') %]</h3>
<form class="inputcard" name="postcodeForm" id="postcodeForm">
<div>
- <input data-role="none" type="text" name="pc" value="" id="pc" size="10" maxlength="200" placeholder="e.g. ‘B2 4QA’ or ‘Tib St, Manchester’">
+ <input data-role="none" type="text" name="pc" value="" id="pc" size="10" maxlength="200" placeholder="[% loc('e.g. ‘B2 4QA’ or ‘Tib St, Manchester’') %]">
</div>
</form>
- <input type="button" value="Go" id="submit" data-theme="a">
+ <input type="button" value="[% loc('Go') %]" id="submit" data-theme="a">
</div>
<div id="front-howto">
diff --git a/templates/details.html b/templates/details.html
index 1b68026..930c974 100644
--- a/templates/details.html
+++ b/templates/details.html
@@ -1,4 +1,5 @@
<div data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Details') %]</h1>
<a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Next') %]</a>
</div>
diff --git a/templates/details_extra.html b/templates/details_extra.html
index 8449447..6ef02b3 100644
--- a/templates/details_extra.html
+++ b/templates/details_extra.html
@@ -1,4 +1,5 @@
<div data-role="header" data-position="fixed">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Further Details') %]</h1>
<a id="next" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Next') %]</a>
</div>
diff --git a/templates/existing.html b/templates/existing.html
index ac2739a..1c326b8 100644
--- a/templates/existing.html
+++ b/templates/existing.html
@@ -10,7 +10,7 @@
<div class="meta">
<p>
<% if ( category && category != '[% loc('-- Pick a category --') %]' ) { %>
- [% tprintf('Saved in the %s category', '<%= category %>') %]
+ [% tprintf(loc('Saved in the %s category'), '<%= category %>') %]
<% } %>
</p>
diff --git a/templates/login.html b/templates/login.html
index 46e3c10..aaea43e 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -27,7 +27,7 @@
<input data-role="none" type="password" value="" name="password" id="form_password" placeholder="[% loc('Your password') %]" required>
</div>
<div class="noborder">
- <input type="submit" id="login" name="login" value="Login" data-theme="a">
+ <input type="submit" id="login" name="login" value="[% loc('Login') %]" data-theme="a">
</div>
</form>
</div>
diff --git a/templates/photo.html b/templates/photo.html
index 100be7a..286dac3 100644
--- a/templates/photo.html
+++ b/templates/photo.html
@@ -1,4 +1,5 @@
<div data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Add Photo') %]</h1>
<% if ( file == '' ) { %>
<a id="photo-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">[% loc('Skip') %]</a>
diff --git a/templates/submit.html b/templates/submit.html
index a3b1c73..d358679 100644
--- a/templates/submit.html
+++ b/templates/submit.html
@@ -1,4 +1,5 @@
<div id="submit-header" data-role="header" data-position="fixed" data-id="locate">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>Submit</h1>
</div>
diff --git a/templates/submit_confirm.html b/templates/submit_confirm.html
index be34c4d..c510b5c 100644
--- a/templates/submit_confirm.html
+++ b/templates/submit_confirm.html
@@ -1,4 +1,5 @@
<div id="submit-header" data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Your details') %]</h1>
</div>
diff --git a/templates/submit_email.html b/templates/submit_email.html
index 17f1824..24fc539 100644
--- a/templates/submit_email.html
+++ b/templates/submit_email.html
@@ -1,4 +1,5 @@
<div id="submit-header" data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Your details') %]</h1>
</div>
diff --git a/templates/submit_name.html b/templates/submit_name.html
index 23d9cf4..dbd1197 100644
--- a/templates/submit_name.html
+++ b/templates/submit_name.html
@@ -1,4 +1,5 @@
<div id="submit-header" data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Your details') %]</h1>
</div>
diff --git a/templates/submit_password.html b/templates/submit_password.html
index baf2e52..ff37992 100644
--- a/templates/submit_password.html
+++ b/templates/submit_password.html
@@ -1,4 +1,5 @@
<div id="submit-header" data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Your details') %]</h1>
</div>
diff --git a/templates/submit_set_password.html b/templates/submit_set_password.html
index a57cb86..ee681cc 100644
--- a/templates/submit_set_password.html
+++ b/templates/submit_set_password.html
@@ -1,4 +1,5 @@
<div id="submit-header" data-role="header">
+ <a data-rel="back" data-icon="arrow-l" class="ui-btn-left">[% loc('Back') %]</a>
<h1>[% loc('Your details') %]</h1>
</div>