summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2012-11-10 14:12:58 +0100
committerMarcel Klehr <mklehr@gmx.net>2012-11-10 14:12:58 +0100
commit145e8932736f60af8b296337997d20cede5b1583 (patch)
tree5825b8d1991a8149b49da195b84ca168e3d90429 /src
parenta3504f70c4e78677644785706270d070a475350e (diff)
downloadetherpad-lite-145e8932736f60af8b296337997d20cede5b1583.zip
Allow translations for index.html
Diffstat (limited to 'src')
-rw-r--r--src/templates/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/templates/index.html b/src/templates/index.html
index 23c3c775..0fb328b2 100644
--- a/src/templates/index.html
+++ b/src/templates/index.html
@@ -31,7 +31,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
-
+ <script type="text/javascript" src="static/js/l10n.js"></script>
+ <link rel="resource" type="application/l10n" href="locale.ini" />
<link rel="shortcut icon" href="<%=settings.favicon%>">
<style>
@@ -148,8 +149,8 @@
<div id="wrapper">
<div id="inner">
- <div id="button" onclick="go2Random()" class="translate">New Pad</div>
- <div id="label" class="translate">or create/open a Pad with the name</div>
+ <div id="button" onclick="go2Random()" data-l10n-id="index.newPad">New Pad</div>
+ <div id="label" data-l10n-id="index.createOpenPad">or create/open a Pad with the name</div>
<form action="#" onsubmit="go2Name();return false;">
<input type="text" id="padname" autofocus x-webkit-speech>
<button type="submit">OK</button>