Mercurial > trustbridge
diff packaging/README.linux-installer-l10n @ 1149:96ecd345c961
Split up l10n matching the new split up installer files.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 18 Sep 2014 12:04:30 +0200 |
parents | 71cdd4b2f038 |
children |
line wrap: on
line diff
--- a/packaging/README.linux-installer-l10n Wed Sep 17 18:53:58 2014 +0200 +++ b/packaging/README.linux-installer-l10n Thu Sep 18 12:04:30 2014 +0200 @@ -18,18 +18,22 @@ Relevant files -------------- -* linux-installer.inc.in : +* linux-installer.inc : + linux-installer-common.inc.in : + linux-installer-uninstall.inc : - Linux Installer Template, written in bash. l10n-enabled messages + Linux Installer Templates, written in bash. l10n-enabled messages are printed using the function "getxt" or "fatal" (which in turn uses getxt for output). The semantics are these of printf and all messages are in English. * linux-installer.l10n-de : + linux-installer-common.l10n-de : + linux-installer-uninstall.l10n-de : - This file contains the associative array L10N_DE which has the - English messages as used in linux-installer.inc.in as keys and the - corresponding German strings as values. + This files contain assignments to the associative array L10N_DE + which has the English messages as used in linux-installer.inc as + keys and the corresponding German strings as values. * getxt-gen-l10n-array.sh : @@ -53,12 +57,17 @@ When any messages in "linux-installer.inc.in" were changed or added the array file "linux-installer.l10n-de" needs to be updated: -1. Edit "linux-installer.inc.in" (obviously) +1. Edit one or more of "linux-installer.inc", + "linux-installer-common.inc.in", "linux-installer-uninstall.inc" + (obviously) 2. Update the array file using getxt-gen-l10n-array.sh in the - packaging source directory (the directory containing this README): + packaging source directory (the directory containing this README) + for the file(s) you edited: $ ./getxt-gen-l10n-array.sh linux-installer.inc.in L10N_DE linux-installer.l10n-de + $ ./getxt-gen-l10n-array.sh linux-installer-common.inc.in L10N_DE linux-installer-common.l10n-de + $ ./getxt-gen-l10n-array.sh linux-installer-uninstall.inc L10N_DE linux-installer-uninstall.l10n-de the associative array "L10N_DE" in "linux-installer.l10n-de" will now contain entries for all new or changed messaged with empty