diff options
author | equinox <equinox@diac24.net> | 2011-09-27 08:01:14 +0200 |
---|---|---|
committer | equinox <equinox@diac24.net> | 2011-09-27 08:01:14 +0200 |
commit | 2066915a49fa45aeb2bc3ed79b7c6e0484b8d0af (patch) | |
tree | 9c7028cf5b09f38023fade23a70f485a4d1eea19 /templates/select.html | |
parent | 2a13c8256b2b64c3c61e043a1d9268b75a4597a4 (diff) |
i18n support
Diffstat (limited to 'templates/select.html')
-rw-r--r-- | templates/select.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/select.html b/templates/select.html index b25cd1c..5132cdc 100644 --- a/templates/select.html +++ b/templates/select.html @@ -2,13 +2,14 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" + xmlns:i18n="http://genshi.edgewall.org/i18n" xmlns:sub="http://local.sublab.org/subdap/xmlns-templates" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="layout.xi"/> <head> <title>login</title> </head> - <sub:infobox py:if="message.has_key('pwchangeok')"> + <sub:infobox py:if="message.has_key('pwchangeok')" i18n:msg="pwchangeok"> <b>Your password has been changed.</b><br /> — please note that it may take a few minutes for Kerberos to update its <a href="http://en.wikipedia.org/wiki/File:RomanCerberus.JPG">three heads</a>. At any moment, either your old password or your new @@ -16,13 +17,13 @@ </sub:infobox> <sub:bodyform> <div class="cont"> - Hallo ${user['cn']}! + <span i18n:msg="hi">Hi ${user['cn']}!</span> <p class="app"><a href="https://wiki.sublab.org/auth_subdap.php?${tgts['wiki']}"> <img src="${url('static/app_wiki.png')}" alt="wiki" width="48" height="48"/> sublab.org wiki</a></p> <p class="app"><a href="cfg8021x?username=${user['cn']}"> - <img src="${url('static/app_8021x.png')}" alt="wlan" width="24" height="24"/> 802.1X config</a></p> + <img src="${url('static/app_8021x.png')}" alt="wlan" width="24" height="24"/> 802.1X template</a></p> <p class="app"><a href="pwchange?username=${user['cn']}"> - <img src="${url('static/app_password.png')}" alt="pwchange" width="24" height="24"/> Passwort ändern</a></p> + <img src="${url('static/app_password.png')}" alt="pwchange" width="24" height="24"/> change password</a></p> </div> </sub:bodyform> </html> |