Merge lp:~canonical-isd-hackers/canonical-identity-provider/device-types-translations into lp:canonical-identity-provider/release

Proposed by Michael Foord
Status: Merged
Approved by: Ricardo Kirkner
Approved revision: no longer in the source branch.
Merged at revision: 417
Proposed branch: lp:~canonical-isd-hackers/canonical-identity-provider/device-types-translations
Merge into: lp:canonical-identity-provider/release
Diff against target: 47 lines (+10/-10)
1 file modified
identityprovider/templates/device/types.html (+10/-10)
To merge this branch: bzr merge lp:~canonical-isd-hackers/canonical-identity-provider/device-types-translations
Reviewer Review Type Date Requested Status
Ricardo Kirkner (community) Approve
Review via email: mp+112158@code.launchpad.net

Commit message

Add translation tags to device type page.

To post a comment you must log in.
Revision history for this message
Ricardo Kirkner (ricardokirkner) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'identityprovider/templates/device/types.html'
2--- identityprovider/templates/device/types.html 2012-06-26 13:31:27 +0000
3+++ identityprovider/templates/device/types.html 2012-06-26 16:05:36 +0000
4@@ -24,33 +24,33 @@
5 <dl>
6
7 <dt style="font-weight: bold"><label>
8- <input type="radio" name="type" value="google" id="type_google" checked="checked"> Android, Apple or Blackberry mobile device
9+ <input type="radio" name="type" value="google" id="type_google" checked="checked"> {% trans "Android, Apple or Blackberry mobile device" %}
10 </label></dt>
11 <dd style="margin-left: 2em">
12- <p><label for="type_google">Smartphone or tablet with the Google Authenticator app (or
13- Auth7 on Windows phone)</label></p>
14+ <p><label for="type_google">{% blocktrans %}Smartphone or tablet with the Google Authenticator app (or
15+ Auth7 on Windows phone){% endblocktrans %}</label></p>
16 </dd>
17
18 <dt style="font-weight: bold"><label>
19- <input type="radio" name="type" value="yubi" id="type_yubi"> YubiKey
20+ <input type="radio" name="type" value="yubi" id="type_yubi"> {% trans "YubiKey" %}
21 </label></dt>
22 <dd style="margin-left: 2em">
23- <p><label for="type_yubi">USB YubiKey one time password generator</label></p>
24+ <p><label for="type_yubi">{% blocktrans %}USB YubiKey one time password generator{% endblocktrans %}</label></p>
25 </dd>
26
27 <dt style="font-weight: bold"><label>
28- <input type="radio" name="type" value="generic" id="type_generic"> Generic HOTP device
29+ <input type="radio" name="type" value="generic" id="type_generic"> {% trans "Generic HOTP device" %}
30 </label></dt>
31 <dd style="margin-left: 2em">
32- <p><label for="type_generic">Any other OATH/HOTP compatible device</label></p>
33+ <p><label for="type_generic">{% blocktrans %}Any other OATH/HOTP compatible device{% endblocktrans %}</label></p>
34 </dd>
35
36 <!-- <dt style="font-weight: bold"><label>
37- <input type="radio" name="type" value="paper" id="type_paper" disabled="disabled"> One-time pad
38+ <input type="radio" name="type" value="paper" id="type_paper" disabled="disabled"> {% trans "One-time pad" %}
39 </label></dt>
40 <dd style="margin-left: 2em">
41- <p><label for="type_paper">A paper with a list of one-time
42- passwords.</label></p>
43+ <p><label for="type_paper">{% blocktrans %}A paper with a list of one-time
44+ passwords.{% endblocktrans %}</label></p>
45 </dd> -->
46
47 </dl>