From 73992f139276b75aeddf78f476644a2d82f9e802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20G=C3=A2teau?= Date: Sun, 4 May 2014 20:43:42 +0100 Subject: Add ECMPoQmTools module ecm_create_qm_from_po_files() was actually not very useful in practice. So that is deprecated, to be removed before ECM 1.0. Instead, the ECMPoQmTools provides several useful functions: ecm_create_qm_loader() (which already existed in ECMCreateQmFromPoFiles), ecm_process_po_files_as_qm() (which has the same signature as gettext_process_po_files() from the FindGettext module) and ecm_install_po_files_as_qm(), which is a convenience function mostly for the benefit of KDE Frameworks (although potentially useful for whatever other projects have the unusual requirement of a Gettext translation workflow but no Gettext usage in the code). NB: some clean-up to the documentation was done by Alex Merry as part of this commit. REVIEW: 117823 --- tests/ECMPoQmToolsTest/po/es/install-test.po | 18 ++++++++++++++++++ tests/ECMPoQmToolsTest/po/fr/install-test.po | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 tests/ECMPoQmToolsTest/po/es/install-test.po create mode 100644 tests/ECMPoQmToolsTest/po/fr/install-test.po (limited to 'tests/ECMPoQmToolsTest/po') diff --git a/tests/ECMPoQmToolsTest/po/es/install-test.po b/tests/ECMPoQmToolsTest/po/es/install-test.po new file mode 100644 index 00000000..107d1b08 --- /dev/null +++ b/tests/ECMPoQmToolsTest/po/es/install-test.po @@ -0,0 +1,18 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Language: fr\n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Qt-Contexts: true\n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../home/aurelien/src/kf5/frameworks/kbookmarks/src/kbookmark.cpp:307 +msgctxt "KBookmark|Bookmark separator" +msgid "--- separator ---" +msgstr "" diff --git a/tests/ECMPoQmToolsTest/po/fr/install-test.po b/tests/ECMPoQmToolsTest/po/fr/install-test.po new file mode 100644 index 00000000..107d1b08 --- /dev/null +++ b/tests/ECMPoQmToolsTest/po/fr/install-test.po @@ -0,0 +1,18 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Language: fr\n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Qt-Contexts: true\n" +"X-Generator: Poedit 1.5.4\n" + +#: ../../home/aurelien/src/kf5/frameworks/kbookmarks/src/kbookmark.cpp:307 +msgctxt "KBookmark|Bookmark separator" +msgid "--- separator ---" +msgstr "" -- cgit v1.2.1