From ba959318025eafc313e06965e7aaff8b7b177332 Mon Sep 17 00:00:00 2001
From: Pierre Bondoerffer <pierre@bondoer.fr>
Date: Mon, 31 Jul 2017 17:53:31 +0200
Subject: [PATCH] Use translation keys

---
 customize.dist/pages.js                 | 12 ++++++------
 customize.dist/translations/messages.js |  7 +++++++
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/customize.dist/pages.js b/customize.dist/pages.js
index 1ac200c81..6af4bb83d 100644
--- a/customize.dist/pages.js
+++ b/customize.dist/pages.js
@@ -274,12 +274,12 @@ define([
                         /*userForm(),*/
                         h('div.col-12.col-sm-6', [
                             [
-                                [ 'pad', '/pad/', 'Rich Text Pad', 'fa-file-word-o' ],
-                                [ 'code', '/code/', 'Markdown/Code Pad', 'fa-file-code-o' ],
-                                [ 'slide', '/slide/', 'Markdown Presentation', 'fa-file-powerpoint-o' ],
-                                [ 'poll.cp-more.cp-hidden', '/poll/', 'Poll or Schedule', 'fa-calendar' ],
-                                [ 'whiteboard.cp-more.cp-hidden', '/whiteboard/', 'Whiteboard', 'fa-paint-brush' ],
-                                [ 'recent.cp-more.cp-hidden', '/drive/', 'Recent Pads', 'fa-hdd-o' ]
+                                [ 'pad', '/pad/', Msg.main_richTextPad, 'fa-file-word-o' ],
+                                [ 'code', '/code/', Msg.main_codePad, 'fa-file-code-o' ],
+                                [ 'slide', '/slide/', Msg.main_slidePad, 'fa-file-powerpoint-o' ],
+                                [ 'poll.cp-more.cp-hidden', '/poll/', Msg.main_pollPad, 'fa-calendar' ],
+                                [ 'whiteboard.cp-more.cp-hidden', '/whiteboard/', Msg.main_whiteboardPad, 'fa-paint-brush' ],
+                                [ 'recent.cp-more.cp-hidden', '/drive/', Msg.main_recentPads, 'fa-hdd-o' ]
                             ].map(function (x) {
                                 return h('a', [
                                     { href: x[1] },
diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js
index eff1c1eda..a4dcaf555 100644
--- a/customize.dist/translations/messages.js
+++ b/customize.dist/translations/messages.js
@@ -509,6 +509,13 @@ define(function () {
     out.main_poll_p = 'Plan your meeting or your event, or vote for the best solution regarding your problem.';
     out.main_drive = 'CryptDrive';
 
+    out.main_richTextPad = 'Rich Text Pad';
+    out.main_codePad = 'Markdown/Code Pad';
+    out.main_slidePad = 'Markdown Presentation';
+    out.main_pollPad = 'Poll or Schedule';
+    out.main_whiteboardPad = 'Whiteboard';
+    out.main_recentPads = 'Recent Pads';
+
     out.footer_applications = "Applications";
     out.footer_contact = "Contact";
     out.footer_aboutUs = "About us";