[Libreoffice-commits] online.git: 2 commits - loleaflet/dist loleaflet/Makefile loleaflet/po loleaflet/src

Andras Timar andras.timar at collabora.com
Mon Feb 15 09:41:54 UTC 2016


 loleaflet/Makefile                            |    7 
 loleaflet/dist/l10n/localizations.json        |    4 
 loleaflet/po/help-hu.po                       |    2 
 loleaflet/po/toolbar-fr.po                    |  240 ----------------------
 loleaflet/po/toolbar-hu.po                    |  240 ----------------------
 loleaflet/po/ui-fr.po                         |  280 ++++++++++++++++++++++++++
 loleaflet/po/ui-hu.po                         |  280 ++++++++++++++++++++++++++
 loleaflet/src/control/Control.Presentation.js |    8 
 8 files changed, 571 insertions(+), 490 deletions(-)

New commits:
commit dbed8b8497d0baf82588798d54651e4535ebb381
Author: Andras Timar <andras.timar at collabora.com>
Date:   Mon Feb 15 10:41:28 2016 +0100

    loleaflet: l10n related file renaming

diff --git a/loleaflet/Makefile b/loleaflet/Makefile
index 3e83c2c..a211094 100644
--- a/loleaflet/Makefile
+++ b/loleaflet/Makefile
@@ -30,14 +30,14 @@ dist: all
 	rm -rf loleaflet-$(VERSION)
 
 pot:
-	xgettext --keyword=_ --output=po/loleaflet-toolbar.pot dist/toolbar/toolbar.js src/control/Control.Tabs.js \
+	xgettext --keyword=_ --output=po/loleaflet-ui.pot dist/toolbar/toolbar.js src/control/Control.Tabs.js \
 		src/core/Socket.js src/control/Control.Presentation.js
 	html2po --pot --input=dist/loleaflet-help.html --output=po/loleaflet-help.pot
 
 l10n: pot
-	for i in po/toolbar-*.po; do pot2po --input=po/loleaflet-toolbar.pot --template=$$i --output=$$i.new; mv $$i.new $$i;done
+	for i in po/ui-*.po; do pot2po --input=po/loleaflet-ui.pot --template=$$i --output=$$i.new; mv $$i.new $$i;done
 	for i in po/help-*.po; do pot2po --input=po/loleaflet-help.pot --template=$$i --output=$$i.new; mv $$i.new $$i;done
-	rm po/loleaflet-toolbar.pot
+	rm po/loleaflet-ui.pot
 	rm po/loleaflet-help.pot
 
 loleaflet.spec: loleaflet.spec.in Makefile
diff --git a/loleaflet/dist/l10n/localizations.json b/loleaflet/dist/l10n/localizations.json
index 50b0c43..80740f4 100644
--- a/loleaflet/dist/l10n/localizations.json
+++ b/loleaflet/dist/l10n/localizations.json
@@ -1,5 +1,5 @@
 {
     "en": false,
-    "fr": "/loleaflet/dist/l10n/toolbar-fr.json",
-    "hu": "/loleaflet/dist/l10n/toolbar-hu.json"
+    "fr": "/loleaflet/dist/l10n/ui-fr.json",
+    "hu": "/loleaflet/dist/l10n/ui-hu.json"
 }
diff --git a/loleaflet/po/help-hu.po b/loleaflet/po/help-hu.po
index c21832d..9e778f8 100644
--- a/loleaflet/po/help-hu.po
+++ b/loleaflet/po/help-hu.po
@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CloudSuite Help\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-02-08 16:02+0200\n"
+"POT-Creation-Date: 2016-02-15 10:31+0200\n"
 "PO-Revision-Date: 2016-01-10 22:10+0100\n"
 "Last-Translator: Andras Timar <andras.timar at collabora.com>\n"
 "Language-Team: Hungarian <hu at li.org>\n"
diff --git a/loleaflet/po/toolbar-fr.po b/loleaflet/po/ui-fr.po
similarity index 80%
rename from loleaflet/po/toolbar-fr.po
rename to loleaflet/po/ui-fr.po
index a6aa102..495744a 100644
--- a/loleaflet/po/toolbar-fr.po
+++ b/loleaflet/po/ui-fr.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CloudSuite Toolbar\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-02-08 16:02+0100\n"
+"POT-Creation-Date: 2016-02-15 10:31+0100\n"
 "PO-Revision-Date: 2015-12-20 14:14+0100\n"
 "Last-Translator: Andras Timar <andras.timar at collabora.com>\n"
 "Language-Team: French <fr at li.org>\n"
@@ -191,15 +191,15 @@ msgstr "Activer la sélection"
 msgid "Fullscreen presentation"
 msgstr "Présentation en plein écran"
 
-#: dist/toolbar/toolbar.js:124
+#: dist/toolbar/toolbar.js:124 src/control/Control.Presentation.js:16
 msgid "Insert Page"
 msgstr ""
 
-#: dist/toolbar/toolbar.js:125
+#: dist/toolbar/toolbar.js:125 src/control/Control.Presentation.js:17
 msgid "Duplicate Page"
 msgstr ""
 
-#: dist/toolbar/toolbar.js:126
+#: dist/toolbar/toolbar.js:126 src/control/Control.Presentation.js:18
 msgid "Delete Page"
 msgstr ""
 
@@ -223,18 +223,58 @@ msgstr "Réduire"
 msgid "Zoom in"
 msgstr "Agrandir"
 
-#: dist/toolbar/toolbar.js:285
+#: dist/toolbar/toolbar.js:285 src/control/Control.Presentation.js:78
 msgid "Are you sure you want to delete this page?"
 msgstr ""
 
-#: dist/toolbar/toolbar.js:398 dist/toolbar/toolbar.js:686
+#: dist/toolbar/toolbar.js:398 dist/toolbar/toolbar.js:691
 msgid "Size"
 msgstr "Taille"
 
-#: dist/toolbar/toolbar.js:673
+#: dist/toolbar/toolbar.js:678
 msgid "Style"
 msgstr "Style"
 
-#: dist/toolbar/toolbar.js:681
+#: dist/toolbar/toolbar.js:686
 msgid "Font"
 msgstr "Police"
+
+#: src/control/Control.Tabs.js:24
+msgid "Insert sheet before this"
+msgstr ""
+
+#: src/control/Control.Tabs.js:25
+msgid "Insert sheet after this"
+msgstr ""
+
+#: src/control/Control.Tabs.js:26
+msgid "Delete sheet"
+msgstr ""
+
+#: src/control/Control.Tabs.js:30
+msgid "Are you sure you want to delete this sheet?"
+msgstr ""
+
+#: src/control/Control.Tabs.js:38
+msgid "Rename sheet"
+msgstr ""
+
+#: src/control/Control.Tabs.js:42
+msgid "Enter new sheet name"
+msgstr ""
+
+#: src/core/Socket.js:13 src/core/Socket.js:199
+msgid "Socket connection error"
+msgstr ""
+
+#: src/core/Socket.js:100
+msgid "Unexpected loolserver message."
+msgstr ""
+
+#: src/core/Socket.js:104
+msgid "Unsupported server version."
+msgstr ""
+
+#: src/core/Socket.js:203
+msgid "Socket connection closed"
+msgstr ""
diff --git a/loleaflet/po/toolbar-hu.po b/loleaflet/po/ui-hu.po
similarity index 77%
rename from loleaflet/po/toolbar-hu.po
rename to loleaflet/po/ui-hu.po
index e1e9b5c..0d974b0 100644
--- a/loleaflet/po/toolbar-hu.po
+++ b/loleaflet/po/ui-hu.po
@@ -6,11 +6,11 @@ msgid ""
 msgstr ""
 "Project-Id-Version: CloudSuite Toolbar\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-02-08 16:02+0100\n"
-"PO-Revision-Date: 2016-01-10 22:11+0100\n"
+"POT-Creation-Date: 2016-02-15 10:31+0100\n"
+"PO-Revision-Date: 2016-02-15 10:39+0100\n"
 "Last-Translator: Andras Timar <andras.timar at collabora.com>\n"
 "Language-Team: Hungarian <hu at li.org>\n"
-"Language: \n"
+"Language: hu\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -191,15 +191,15 @@ msgstr "Kijelölés engedélyezése"
 msgid "Fullscreen presentation"
 msgstr "Teljes képernyős bemutató"
 
-#: dist/toolbar/toolbar.js:124
+#: dist/toolbar/toolbar.js:124 src/control/Control.Presentation.js:16
 msgid "Insert Page"
 msgstr "Dia beszúrása"
 
-#: dist/toolbar/toolbar.js:125
+#: dist/toolbar/toolbar.js:125 src/control/Control.Presentation.js:17
 msgid "Duplicate Page"
 msgstr "Dia megkettőzése"
 
-#: dist/toolbar/toolbar.js:126
+#: dist/toolbar/toolbar.js:126 src/control/Control.Presentation.js:18
 msgid "Delete Page"
 msgstr "Dia törlése"
 
@@ -223,18 +223,58 @@ msgstr "Kicsinyítés"
 msgid "Zoom in"
 msgstr "Nagyítás"
 
-#: dist/toolbar/toolbar.js:285
+#: dist/toolbar/toolbar.js:285 src/control/Control.Presentation.js:78
 msgid "Are you sure you want to delete this page?"
 msgstr "Biztosan törli ezt az oldalt?"
 
-#: dist/toolbar/toolbar.js:398 dist/toolbar/toolbar.js:686
+#: dist/toolbar/toolbar.js:398 dist/toolbar/toolbar.js:691
 msgid "Size"
 msgstr "Méret"
 
-#: dist/toolbar/toolbar.js:673
+#: dist/toolbar/toolbar.js:678
 msgid "Style"
 msgstr "Stílus"
 
-#: dist/toolbar/toolbar.js:681
+#: dist/toolbar/toolbar.js:686
 msgid "Font"
 msgstr "Betűkészlet"
+
+#: src/control/Control.Tabs.js:24
+msgid "Insert sheet before this"
+msgstr "Munkalap beillesztése ez elé"
+
+#: src/control/Control.Tabs.js:25
+msgid "Insert sheet after this"
+msgstr "Munkalap beillesztése e mögé"
+
+#: src/control/Control.Tabs.js:26
+msgid "Delete sheet"
+msgstr "Munkalap törlése"
+
+#: src/control/Control.Tabs.js:30
+msgid "Are you sure you want to delete this sheet?"
+msgstr "Biztosan törli ezt a munkalapot?"
+
+#: src/control/Control.Tabs.js:38
+msgid "Rename sheet"
+msgstr "Munkalap átnevezése"
+
+#: src/control/Control.Tabs.js:42
+msgid "Enter new sheet name"
+msgstr "Adja meg az munkalapnevet"
+
+#: src/core/Socket.js:13 src/core/Socket.js:199
+msgid "Socket connection error"
+msgstr "Socket kapcsolat hiba"
+
+#: src/core/Socket.js:100
+msgid "Unexpected loolserver message."
+msgstr "Váratlan loolserver-üzenet."
+
+#: src/core/Socket.js:104
+msgid "Unsupported server version."
+msgstr "Nem támogatott kiszolgálóverzió."
+
+#: src/core/Socket.js:203
+msgid "Socket connection closed"
+msgstr "Socket kapcsolat bezáródott"
commit 30cfc3678fb10f2576b19ec4bb21d264746a21e4
Author: Andras Timar <andras.timar at collabora.com>
Date:   Mon Feb 15 10:27:33 2016 +0100

    loleaflet: enable l10n of insert/delete slide feature

diff --git a/loleaflet/Makefile b/loleaflet/Makefile
index a0ebe1d..3e83c2c 100644
--- a/loleaflet/Makefile
+++ b/loleaflet/Makefile
@@ -30,7 +30,8 @@ dist: all
 	rm -rf loleaflet-$(VERSION)
 
 pot:
-	xgettext --keyword=_ --output=po/loleaflet-toolbar.pot dist/toolbar/toolbar.js src/control/Control.Tabs.js src/core/Socket.js
+	xgettext --keyword=_ --output=po/loleaflet-toolbar.pot dist/toolbar/toolbar.js src/control/Control.Tabs.js \
+		src/core/Socket.js src/control/Control.Presentation.js
 	html2po --pot --input=dist/loleaflet-help.html --output=po/loleaflet-help.pot
 
 l10n: pot
diff --git a/loleaflet/src/control/Control.Presentation.js b/loleaflet/src/control/Control.Presentation.js
index 9678cde..c5b0b9e 100644
--- a/loleaflet/src/control/Control.Presentation.js
+++ b/loleaflet/src/control/Control.Presentation.js
@@ -13,9 +13,9 @@ L.Control.Presentation = L.Control.extend({
 		    container = L.DomUtil.create('div', buttonsName + '-container' + ' leaflet-bar');
 
 		this._buttons = {
-			'insertpage':    {title: 'Insert Page',     uno: 'InsertPage',		iconName: 'insertpage.png'},
-			'duplicatepage': {title: 'Duplicate Page',  uno: 'DuplicatePage',	iconName: 'duplicatepage.png'},
-			'deletepage':    {title: 'Delete Page',     uno: 'DeletePage',		iconName: 'deletepage.png'}
+			'insertpage':    {title: _('Insert Page'),     uno: 'InsertPage',		iconName: 'insertpage.png'},
+			'duplicatepage': {title: _('Duplicate Page'),  uno: 'DuplicatePage',	iconName: 'duplicatepage.png'},
+			'deletepage':    {title: _('Delete Page'),     uno: 'DeletePage',		iconName: 'deletepage.png'}
 		};
 
 		for (var key in this._buttons) {
@@ -75,7 +75,7 @@ L.Control.Presentation = L.Control.extend({
 		}
 		else if (id === 'deletepage') {
 			vex.dialog.confirm({
-				message: 'Are you sure you want to delete this page?',
+				message: _('Are you sure you want to delete this page?'),
 				callback: L.bind(this._onDelete, this)
 			});
 		}


More information about the Libreoffice-commits mailing list