From 0d0aade05178d7810f0dbd0ea808dcc43d55b519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Thu, 15 Nov 2012 20:19:24 +0100 Subject: [PATCH] fix i18n --- src/templates/pad.html | 16 ++--- src/templates/timeslider.html | 129 +++++++++++++++++++++------------- 2 files changed, 89 insertions(+), 56 deletions(-) diff --git a/src/templates/pad.html b/src/templates/pad.html index f3be87dbf..26a1099f6 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -214,15 +214,15 @@ <% e.end_block(); %>
-

Export current pad as

+

<% e.begin_block("exportColumn"); %> -
HTML
-
Plain text
-
Microsoft Word
-
PDF
-
OpenDocument
-
DokuWiki text
-
MediaWiki text
+
+
+
+
+
+
+
<% e.end_block(); %>
diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index b94afe7ba..e1647cf2e 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -1,12 +1,39 @@ +<% + var settings = require("ep_etherpad-lite/node/utils/Settings") + , langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs +%> - + +<%=settings.title%> Timeslider + - - Etherpad Lite Timeslider - - + + + @@ -45,12 +72,12 @@
- Return to pad +
@@ -58,9 +85,8 @@ -

Authors: - - No Authors +

+

@@ -77,74 +103,82 @@
- + + + @@ -159,7 +193,6 @@ var clientVars = {}; (function () { - var pathComponents = location.pathname.split('/'); // Strip 'p', the padname and 'timeslider' from the pathname and set as baseURL