diff options
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"> |