mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
* Updated translation-help guide with instructions for updating one po file.
This commit is contained in:
parent
8cb0758beb
commit
69d6e5a9eb
@ -21,14 +21,19 @@ file is the template file for creating new .po files and updating the messages
|
|||||||
in them when the code changes.
|
in them when the code changes.
|
||||||
|
|
||||||
First things first. You will need to run ./autogen.sh and ./configure in the
|
First things first. You will need to run ./autogen.sh and ./configure in the
|
||||||
base directory to generate the correct Makefiles. To update the translation
|
base directory to generate the correct Makefiles. To update all the translation
|
||||||
files, run this command:
|
files, run this command:
|
||||||
make update-po
|
make update-po
|
||||||
|
|
||||||
At this point, the .pot file rereads the source code and updates its string
|
At this point, the .pot file is regenerated from the source code with an
|
||||||
list, and the existing po files are merged if necessary to add new messages
|
updated string list, and the existing po files are merged if necessary to add
|
||||||
or remove old ones. These po files can then either be hand edited, or modified
|
new messages or remove old ones. These po files can then either be hand edited,
|
||||||
with a tool such as gtranslator or kbabel.
|
or modified with a tool such as gtranslator or kbabel.
|
||||||
|
|
||||||
|
These steps make it easier to just update your language and not every po file.
|
||||||
|
If you are working in the src/pacman tree, replace libalpm.pot with pacman.pot:
|
||||||
|
make libalpm.pot-update
|
||||||
|
make <po file>-update
|
||||||
|
|
||||||
Making a new language is not too hard, but be sure to follow all the steps.
|
Making a new language is not too hard, but be sure to follow all the steps.
|
||||||
You will have to do the following steps in both the lib/libalpm/po/ and
|
You will have to do the following steps in both the lib/libalpm/po/ and
|
||||||
|
Loading…
Reference in New Issue
Block a user