From 9771ef9daa0f89c95fe755e38932fd5d92921cb9 Mon Sep 17 00:00:00 2001 From: Stavros Sachtouris <saxtouri@admin.grnet.gr> Date: Thu, 9 Jul 2015 12:47:52 +0300 Subject: [PATCH] Translate static text content to Greek --- agkyra/nwgui/about_el.html | 57 ++++++++++++++++++++++ agkyra/nwgui/{about.html => about_en.html} | 0 agkyra/nwgui/menu.html | 3 +- agkyra/nwgui/settings.html | 1 + agkyra/ui_data/common_el.json | 14 +++--- 5 files changed, 67 insertions(+), 8 deletions(-) create mode 100644 agkyra/nwgui/about_el.html rename agkyra/nwgui/{about.html => about_en.html} (100%) diff --git a/agkyra/nwgui/about_el.html b/agkyra/nwgui/about_el.html new file mode 100644 index 0000000..5cee629 --- /dev/null +++ b/agkyra/nwgui/about_el.html @@ -0,0 +1,57 @@ +<!DOCTYPE html> +<!-- +Copyright (C) 2015 GRNET S.A. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +--> +<html> + <head> + <meta charset="UTF-8" /> + <title>Ξ£ΟΞ΅ΟΞΉΞΊΞ¬ ΞΌΞ΅ ΟΞ·Ξ½ Agkyra</title> + <link rel="stylesheet" href="static/stylesheets/main.css" /> + </head> + + <body> + <div class="wrapper home"> + <header> + <img src="static/images/logo.png" class="logo" alt="agkyra"/> + <h1></i>Agkyra... it syncs<i></h1> + </header> + <p>Ξ <b>Agkyra</b> Ρίναι ΞΞ½Ξ±Ο Ξ΅Ο ΞλικΟΞΏΟ ΟΟ Ξ³ΟΟΞΏΞ½ΞΉΟΟΞ�Ο Ξ±ΟΟΡίΟΞ½ Ξ³ΞΉΞ± ΟΞΏ ΟΟΟΟΞ·ΞΌΞ± Pithos+.<br/>Ξ£Ο Ξ³ΟΟονί΢Ρι ΞΞ½Ξ±Ξ½ Ξ±ΟΞΏΞΌΞ±ΞΊΟΟ ΟΞΌΞΞ½ΞΏ Ξ±ΟΞΏΟΞ±ΞΌΞΉΞ΅Ο ΟΞ�ΟΞ± (container) ΟΞΏΟ Pithos+ ΞΌΞ΅ ΞΞ½Ξ± ΟάκΡλο ΟΟΞΏ ΟΞΏΟΞΉΞΊΟ ΟΟΟΟΞ·ΞΌΞ±.</p> + + <p class="disclaimer">ΞΞ½Ξ±ΟΟΟΟΞΈΞ·ΞΊΞ΅ ΞΊΞ±ΞΉ Ο ΟΞΏΟΟΞ·ΟΞ―ΞΆΞ΅ΟΞ±ΞΉ Ξ±ΟΟ ΟΞ·Ξ½ ομάδα Ξ±Ξ½Ξ¬ΟΟΟ ΞΎΞ·Ο Okeanos/Synnefo ΟΞΏΟ ΞΞΞΞ€<br/><b>Ξ΅ΟΞΉΞΊΞΏΞΉΞ½ΟΞ½Ξ―Ξ±: okeanos-dev@grnet.gr</b></p> + + <h3 class="disclaimer">Copyright 2015 ΞΞΈΞ½ΞΉΞΊΟ ΞΞ―ΞΊΟΟ ΞΏ ΞΟΞ΅Ο Ξ½Ξ±Ο ΞΊΞ±ΞΉ ΀ΡΟνολογίαΟ<br/>ΞΞΉΞ±ΟΞ―ΞΈΞ΅ΟΞ±ΞΉ ΞΌΞ΅ ΟΞ·Ξ½ ΟΞ±ΟΞ±ΞΊΞ¬ΟΟ Ξ¬Ξ΄Ξ΅ΞΉΞ±:</h3> + <embed class="licence" src="COPYING" /> + </div> + <footer class="footer"> + <p class="disclaimer">΀ο ΞΟΞ³ΞΏ ΟΟ Ξ³ΟΟΞ·ΞΌΞ±ΟοδοΟΡίΟΞ±ΞΉ Ξ±ΟΟ ΟΞ·Ξ½ Ξλλάδα ΞΊΞ±ΞΉ ΟΞ·Ξ½ ΞΟ ΟΟΟΞ±ΟΞΊΞ� ΞΞ½ΟΟΞ·</p> + <ul class="logos"> + <li id="eu"> + <a href="#" title="European Union"><img src="static/images/eu.png" /></a> + </li> + <li id="dg"> + <a href="#" title="Digital Greece"><img src="static/images/dg.png" /></a> + </li> + <li id="nsrf"> + <a href="#" title="NSRF"><img src="static/images/nsrf.png" /></a> + </li> + <li id="grnet"> + <a href="#" title="GRNet"><img src="static/images/grnet.png" /></a> + </li> + </ul> + </footer> + </body> + +</html> diff --git a/agkyra/nwgui/about.html b/agkyra/nwgui/about_en.html similarity index 100% rename from agkyra/nwgui/about.html rename to agkyra/nwgui/about_en.html diff --git a/agkyra/nwgui/menu.html b/agkyra/nwgui/menu.html index 7da3051..a3adb5d 100644 --- a/agkyra/nwgui/menu.html +++ b/agkyra/nwgui/menu.html @@ -142,7 +142,8 @@ var about_menu = new gui.MenuItem({ iconIsTemplate: false, click: function () { if (windows['about']) windows['about'].close(); - windows['about'] = gui.Window.open("about.html", { + windows['about'] = gui.Window.open( + "about_" + globals.settings.language + ".html", { toolbar: false, resizable: false, focus: true, width: 860, height: 620 }); diff --git a/agkyra/nwgui/settings.html b/agkyra/nwgui/settings.html index 468d43d..96a19cb 100644 --- a/agkyra/nwgui/settings.html +++ b/agkyra/nwgui/settings.html @@ -205,6 +205,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. var COMMON = JSON.parse( fs.readFileSync(path.join('..', 'ui_data/common_' + cur_lang + '.json'))); var SETTINGS = COMMON.SETTINGS; + document.title = SETTINGS.TITLE; document.getElementById('title').innerHTML = SETTINGS.TITLE; document.getElementById('appearance_label').innerHTML = SETTINGS.APPEARANCE; document.getElementById('language_label').innerHTML = SETTINGS.LANGUAGE; diff --git a/agkyra/ui_data/common_el.json b/agkyra/ui_data/common_el.json index 08e0a38..55fad32 100644 --- a/agkyra/ui_data/common_el.json +++ b/agkyra/ui_data/common_el.json @@ -28,23 +28,23 @@ "1000": "ΞΟΞ―ΟΞΉΞΌΞΏ ΟΟάλμα" }, "MENU": { - "TITLE": "ΞΞ³ΞΊΟ ΟΞ± - ΟΟ Ξ³ΟΟΞΏΞ½ΞΉΟΟΞ�Ο Ξ±ΟΟΡίΟΞ½", + "TITLE": "Ξ£Ο Ξ³ΟΟΞΏΞ½ΞΉΟΟΞ�Ο Ξ±ΟΟΡίΟΞ½ Agkyra", "START": "ΞΞΊΞΊΞ―Ξ½Ξ·ΟΞ· ΟΟ Ξ³ΟΟΞΏΞ½ΞΉΟΞΌΞΏΟ", "PAUSE": "Ξ Ξ±ΟΟΞ· ΟΟ Ξ³ΟΟΞΏΞ½ΞΉΟΞΌΞΏΟ", "INACTIVE": "ΞνΡνΡΟΞ³Ο", "WAITING": "ΞΞ½Ξ±ΞΌΞΏΞ½Ξ�...", "REMAINING": "Ξ±ΟΞΏΞΌΞΞ½ΞΏΟ Ξ½ %s", "FOLDER": "΀οΟΞΉΞΊΟΟ ΟάκΡλοΟ", - "PITHOS": "ΣΡλίδα ΟΟΞΏΞ½ Ξ Ξ―ΞΈΞΏ+", + "PITHOS": "ΣΡλίδα ΟΟΞΏΞ½ Pithos+", "SETTINGS": "Ξ‘Ο ΞΈΞΌΞ―ΟΡιΟ", "SETTINGSOPEN": "ΞΞ½ΞΏΞΉΟΟΟ ΟΞ±ΟΞ¬ΞΈΟ ΟΞΏ ΟΟ ΞΈΞΌΞ―ΟΞ΅ΟΞ½", "ABOUT": "Ξ£ΟΞ΅ΟΞΉΞΊΞ¬", - "QUIT": "ΞλΡίΟΞΉΞΌΞΏ ΞΞ³ΞΊΟ ΟΞ±Ο" + "QUIT": "ΞλΡίΟΞΉΞΌΞΏ Agkyra" }, "NOTIFIER": { - "info": "ΞΞ³ΞΊΟ ΟΞ±", - "warning": "ΞΞ³ΞΊΟ ΟΞ± - ΟΟΞΏΟΞΏΟΞ�!", - "error": "ΞΞ³ΞΊΟ ΟΞ± - ΟΟάλμα!" + "info": "Agkyra", + "warning": "Agkyra - ΟΟΞΏΟΞΏΟΞ�!", + "error": "Agkyra - ΟΟάλμα!" }, "SETTINGS": { "TITLE": "Ξ‘Ο ΞΈΞΌΞ―ΟΞ΅ΞΉΟ ΟΟΞ�ΟΟΞ·", @@ -52,7 +52,7 @@ "LANGUAGE": "ΞΞ»ΟΟΟΞ±", "SYNCONSTART": "ΞΞ½Ξ±ΟΞΎΞ· ΟΟ Ξ³ΟΟΞΏΞ½ΞΉΟΞΌΞΏΟ ΟΟΞ·Ξ½ ΡκκίνηΟΞ·", "CLOUD": "ΞΟΞΏΞΌΞ±ΞΊΟΟ ΟΞΌΞΞ½ΞΏ ΟΟΟΟΞ·ΞΌΞ± (Ξ½ΞΟΞΏΟ)", - "URL": "URL Ξ½ΞΟΞΏΟ Ο", + "URL": "ΞΞΉΞ΅ΟΞΈΟ Ξ½ΟΞ· (URL) Ξ½ΞΟΞΏΟ Ο", "TOKEN": "ΞλΡιδί token", "RETRIEVE": "ΞΞ―ΟΞΏΞ΄ΞΏΟ ΞΌΞ΅ ΟΞ½ΞΏΞΌΞ± ΟΟΞ�ΟΟΞ·/ΞΊΟδικΟ", "SYNC": "΀ι Ξ½Ξ± ΟΟ Ξ³ΟΟΞΏΞ½ΞΉΟΟΡί", -- GitLab