Allow translations for index.html

pull/1153/head
Marcel Klehr 2012-11-10 14:12:58 +01:00
parent a3504f70c4
commit 145e893273
1 changed files with 4 additions and 3 deletions

View File

@ -31,7 +31,8 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"> <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%>"> <link rel="shortcut icon" href="<%=settings.favicon%>">
<style> <style>
@ -148,8 +149,8 @@
<div id="wrapper"> <div id="wrapper">
<div id="inner"> <div id="inner">
<div id="button" onclick="go2Random()" class="translate">New Pad</div> <div id="button" onclick="go2Random()" data-l10n-id="index.newPad">New Pad</div>
<div id="label" class="translate">or create/open a Pad with the name</div> <div id="label" data-l10n-id="index.createOpenPad">or create/open a Pad with the name</div>
<form action="#" onsubmit="go2Name();return false;"> <form action="#" onsubmit="go2Name();return false;">
<input type="text" id="padname" autofocus x-webkit-speech> <input type="text" id="padname" autofocus x-webkit-speech>
<button type="submit">OK</button> <button type="submit">OK</button>