]> source.dussan.org Git - nextcloud-server.git/commitdiff
added translation for odfviewer
authorThomas Mueller <thomas.mueller@tmit.eu>
Sun, 26 Aug 2012 00:05:28 +0000 (02:05 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Sun, 26 Aug 2012 00:17:28 +0000 (02:17 +0200)
apps/files_odfviewer/js/viewer.js
apps/files_odfviewer/l10n/ignorelist [new file with mode: 0644]
l10n/.tx/config
l10n/templates/files_odfviewer.pot [new file with mode: 0644]

index 586da126872cb009e568cb38bde34d800d7a2c81..9455a9a0a0c101f4b4a380cd80fc0aed9175f4a2 100644 (file)
@@ -6,7 +6,7 @@ function viewOdf(dir, file) {
                // odf action toolbar
                var odfToolbarHtml = 
                        '<div id="odf-toolbar">' +
-                       '<input type="button" id="odf_close" value="Close">' +
+                       '<input type="button" id="odf_close">'+t('files_odfviewer','Close')+
                        '</div>';
                $('#controls').append(odfToolbarHtml);
 
diff --git a/apps/files_odfviewer/l10n/ignorelist b/apps/files_odfviewer/l10n/ignorelist
new file mode 100644 (file)
index 0000000..96ae631
--- /dev/null
@@ -0,0 +1,8 @@
+src/webodf/webodf/tests/core/Base64Tests.js
+src/webodf/webodf/tests/core/CursorTests.js
+src/webodf/webodf/tests/gui/CaretTests.js
+src/webodf/webodf/tests/gui/SelectionMoverTests.js
+src/webodf/webodf/tests/core/PointWalkerTests.js
+src/webodf/webodf/tests/core/ZipTests.js
+src/webodf/webodf/tests/xmldom/XPathTests.js
+src/webodf/webodf/tests/core/RuntimeTests.js
index 25c20cb8e70408a9ef50298f5ca4dce05f2bc9a3..325eb151d6753184780849e6c554f3c3b9519714 100644 (file)
@@ -120,3 +120,9 @@ source_file = templates/impress.pot
 source_lang = en
 type = PO
 
+[owncloud.impress]
+file_filter = <lang>/files_odfviewer.po
+source_file = templates/files_odfviewer.pot
+source_lang = en
+type = PO
+
diff --git a/l10n/templates/files_odfviewer.pot b/l10n/templates/files_odfviewer.pot
new file mode 100644 (file)
index 0000000..ed33729
--- /dev/null
@@ -0,0 +1,22 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-26 01:49+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: js/viewer.js:9
+msgid "Close"
+msgstr ""