diff options
author | Marcel Klehr <mklehr@gmx.net> | 2012-12-16 18:24:02 +0100 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2012-12-23 18:16:13 +0100 |
commit | 53521c8732441c27d2d9b4dc55c56223702bf40c (patch) | |
tree | 774bdff1c3d365c0c7da03059d86599fbe1b851b /src/templates/timeslider.html | |
parent | 4534d20c80fe14c9087baf34a88375bbda22813f (diff) | |
download | etherpad-lite-53521c8732441c27d2d9b4dc55c56223702bf40c.zip |
Replace webL10n with html10n.js
Diffstat (limited to 'src/templates/timeslider.html')
-rw-r--r-- | src/templates/timeslider.html | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index a3e94118..6f64ae82 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -32,16 +32,11 @@ <meta charset="utf-8"> <meta name="robots" content="noindex, nofollow"> <link rel="shortcut icon" href="<%=settings.faviconTimeslider%>"> - <link rel="resource" type="application/l10n" href="../../locales.ini" /> - - <script type="text/javascript"> - (function() { - // Set language for l10n - var language = document.cookie.match(/language=(\w{2})/); - if(language) document.documentElement.lang = language[1]; - })(); - </script> + + <link rel="localizations" type="application/l10n+json" href="../../locales.ini" /> + <script type="text/javascript" src="../../static/js/html10n.js"></script> <script type="text/javascript" src="../../static/js/l10n.js"></script> + <link rel="stylesheet" href="../../static/css/pad.css"> <link rel="stylesheet" href="../../static/css/timeslider.css"> <link rel="stylesheet" href="../../static/custom/timeslider.css"> |