Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
1140:f67a6873d9c1 | 1149:96ecd345c961 |
---|---|
16 | 16 |
17 | 17 |
18 Relevant files | 18 Relevant files |
19 -------------- | 19 -------------- |
20 | 20 |
21 * linux-installer.inc.in : | 21 * linux-installer.inc : |
22 linux-installer-common.inc.in : | |
23 linux-installer-uninstall.inc : | |
22 | 24 |
23 Linux Installer Template, written in bash. l10n-enabled messages | 25 Linux Installer Templates, written in bash. l10n-enabled messages |
24 are printed using the function "getxt" or "fatal" (which in turn | 26 are printed using the function "getxt" or "fatal" (which in turn |
25 uses getxt for output). The semantics are these of printf and all | 27 uses getxt for output). The semantics are these of printf and all |
26 messages are in English. | 28 messages are in English. |
27 | 29 |
28 * linux-installer.l10n-de : | 30 * linux-installer.l10n-de : |
31 linux-installer-common.l10n-de : | |
32 linux-installer-uninstall.l10n-de : | |
29 | 33 |
30 This file contains the associative array L10N_DE which has the | 34 This files contain assignments to the associative array L10N_DE |
31 English messages as used in linux-installer.inc.in as keys and the | 35 which has the English messages as used in linux-installer.inc as |
32 corresponding German strings as values. | 36 keys and the corresponding German strings as values. |
33 | 37 |
34 * getxt-gen-l10n-array.sh : | 38 * getxt-gen-l10n-array.sh : |
35 | 39 |
36 A tool to update the file linux-installer.l10n-de. Detailed usage | 40 A tool to update the file linux-installer.l10n-de. Detailed usage |
37 is described in the commends at the head of the file. It performs | 41 is described in the commends at the head of the file. It performs |
51 -------------------------- | 55 -------------------------- |
52 | 56 |
53 When any messages in "linux-installer.inc.in" were changed or added | 57 When any messages in "linux-installer.inc.in" were changed or added |
54 the array file "linux-installer.l10n-de" needs to be updated: | 58 the array file "linux-installer.l10n-de" needs to be updated: |
55 | 59 |
56 1. Edit "linux-installer.inc.in" (obviously) | 60 1. Edit one or more of "linux-installer.inc", |
61 "linux-installer-common.inc.in", "linux-installer-uninstall.inc" | |
62 (obviously) | |
57 | 63 |
58 2. Update the array file using getxt-gen-l10n-array.sh in the | 64 2. Update the array file using getxt-gen-l10n-array.sh in the |
59 packaging source directory (the directory containing this README): | 65 packaging source directory (the directory containing this README) |
66 for the file(s) you edited: | |
60 | 67 |
61 $ ./getxt-gen-l10n-array.sh linux-installer.inc.in L10N_DE linux-installer.l10n-de | 68 $ ./getxt-gen-l10n-array.sh linux-installer.inc.in L10N_DE linux-installer.l10n-de |
69 $ ./getxt-gen-l10n-array.sh linux-installer-common.inc.in L10N_DE linux-installer-common.l10n-de | |
70 $ ./getxt-gen-l10n-array.sh linux-installer-uninstall.inc L10N_DE linux-installer-uninstall.l10n-de | |
62 | 71 |
63 the associative array "L10N_DE" in "linux-installer.l10n-de" will | 72 the associative array "L10N_DE" in "linux-installer.l10n-de" will |
64 now contain entries for all new or changed messaged with empty | 73 now contain entries for all new or changed messaged with empty |
65 strings for the German translations. | 74 strings for the German translations. |
66 | 75 |