From 5b82451669fbe9cdccef701e92f0d9d2d023f110 Mon Sep 17 00:00:00 2001 From: Tomas Stary Date: Tue, 19 Apr 2016 08:52:52 +0100 Subject: [PATCH] correction of Makefiles for the generation of PO templates and adding attribution --- Makefile | 5 +++++ Makefile.gen | 20 ++++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 657e7307..7d816747 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,8 @@ +# This source code is released in public domain. + +# Author Tomas Stary (2016) +# Thanks for helpfull discussion to Thérèse Godefroy + # This is a Makefile to generate the PO files for automated # translation. If you get through the trouble of creating PO file for # your language, you will save a lot of hassles with editing plain html diff --git a/Makefile.gen b/Makefile.gen index cbc4f64a..8eda9fd2 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -1,10 +1,20 @@ -# this Makefile is used to generate the translated html files from the +# This source code is released in public domain. + +# Author Tomas Stary (2016) +# Thanks for helpfull discussion to Thérèse Godefroy + +# this Makefile.gen is used to generate the translated html files from the # PO templates +# see Makefile for generation of translation files (po, pot) and +# extraction of translated strings from existing translation + # usage: make -f Makefile.gen # flags for the po4a-getextize -PO4A_FLAGS=-M utf-8 -f xhtml --keep 30 +PO4A_FLAGS=-M utf-8 -f xhtml --keep 30 -o porefs=none \ + -o 'untranslated=