From: Petter Reinholdtsen Date: Thu, 16 Nov 2023 20:36:04 +0000 (+0100) Subject: Corrected translation building framework. X-Git-Url: https://pere.pagekite.me/gitweb/text-infor-lif-else-laula.git/commitdiff_plain/7592db6c6321b1fdc0773d22e003c38b8b2bce4f?ds=sidebyside Corrected translation building framework. --- diff --git a/Makefile b/Makefile index 016d7df..5f52b7d 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ $(SOURCE)-fop.pdf: $(SOURCE)-fop.fo po/$(SOURCE).pot: $(SOURCE).xml po4a --no-translations po4a.cfg -po/$(SOURCE).%.po: po/$(SOURCE).pot +po/%.po: po/$(SOURCE).pot po4a --no-translations --msgmerge-opt --no-location po4a.cfg $(SOURCE).nb.xml: po/$(SOURCE).nb.po $(SOURCE).xml diff --git a/po/manuscript.en.po b/po/en.po similarity index 99% rename from po/manuscript.en.po rename to po/en.po index 39cfad1..b1b1116 100644 --- a/po/manuscript.en.po +++ b/po/en.po @@ -36,7 +36,7 @@ msgstr "Do we face life or death?" #. type: Content of: #: manuscript.xml:7 msgid "Sanningsord i de lappska förhållandena" -msgstr "Words of Truth in the Saami Conditions" +msgstr "Words of Truth on the Saami Conditions" # #. abstract> diff --git a/po/manuscript.nb.po b/po/nb.po similarity index 100% rename from po/manuscript.nb.po rename to po/nb.po diff --git a/po4a.cfg b/po4a.cfg index bbce4da..3c70aa2 100644 --- a/po4a.cfg +++ b/po4a.cfg @@ -1,4 +1,4 @@ [po_directory] po [type: docbook] manuscript.xml $lang:manuscript.$lang.xml \ - opt:"-M UTF-8 -k 0" opt_nb:"-L UTF-8 -k 0" + opt:"-M UTF-8 -k 20"