X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fpo%2FREADME;h=d6e9fb83a88f54b64f25e015b4852e37fc1ddbaf;hb=282f42a77cc3852d67657e588a071a27d985b84b;hp=c251703c2ea3e3501d6d3d534a176308985df14a;hpb=33227626120ca74bd2dced9fae7ed8effc18e376;p=bacula%2Fbacula diff --git a/bacula/po/README b/bacula/po/README index c251703c2e..d6e9fb83a8 100644 --- a/bacula/po/README +++ b/bacula/po/README @@ -1,3 +1,4 @@ + Notes about Bacula translations. -------------------------------- @@ -9,14 +10,32 @@ To edit .po files, I recommend poedit, downloadable at http://www.poedit.org/ . To refresh bacula.pot and *.po, when some strings have been added, modified or removed from the sources files, run: + # make update-po --- To refresh Bacula source files list (POTFILES.in), when a source file is added or removed from the repository, run: + # make gen-potfiles && make update-po +Note, the gen-potfiles pulls in all files found under the top +directory, so it is much better to do something like: + +cd bacula +rm -rf x +svn checkout https://bacula.svn.sourceforge.net/svnroot/bacula/trunk/bacula x +cd x +./configure +cd po +make gen-potfiles +cp POTFILES.in +cd .. +./configure + +This avoids picking up any files that are not in the SVN. + --- To add a new translation language (e.g. German), add a new line to LINGUAS @@ -35,11 +54,11 @@ You may also want to correct the language team to: Finally, add .mo (e.g. de.mo) to .cvsignore, and don't forget to run: -# cvs add .po .gmo +# svn add .po .gmo --- -For more informations, see gettext manual: +For more information, see the gettext manual: http://www.gnu.org/software/gettext/manual/ ---