diff --git a/apps/files_odfviewer/js/viewer.js b/apps/files_odfviewer/js/viewer.js index 586da12687..9455a9a0a0 100644 --- a/apps/files_odfviewer/js/viewer.js +++ b/apps/files_odfviewer/js/viewer.js @@ -6,7 +6,7 @@ function viewOdf(dir, file) { // odf action toolbar var odfToolbarHtml = '
' + - '' + + ''+t('files_odfviewer','Close')+ '
'; $('#controls').append(odfToolbarHtml); diff --git a/apps/files_odfviewer/l10n/ignorelist b/apps/files_odfviewer/l10n/ignorelist new file mode 100644 index 0000000000..96ae631a0d --- /dev/null +++ b/apps/files_odfviewer/l10n/ignorelist @@ -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 diff --git a/l10n/.tx/config b/l10n/.tx/config index 25c20cb8e7..325eb151d6 100644 --- a/l10n/.tx/config +++ b/l10n/.tx/config @@ -120,3 +120,9 @@ source_file = templates/impress.pot source_lang = en type = PO +[owncloud.impress] +file_filter = /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 index 0000000000..ed33729108 --- /dev/null +++ b/l10n/templates/files_odfviewer.pot @@ -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 , 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 \n" +"Language-Team: LANGUAGE \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 ""