]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/po/README
ebl update
[bacula/bacula] / bacula / po / README
index 1e51a04b49228ee5fd2274ece517499117a9e414..0e6c0287af94212b1c833f392b66be8190a33ed6 100644 (file)
@@ -10,16 +10,31 @@ 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 make gen-potfiles should not be done very often, in fact,
-it is probably better to edit POTFILES.in manually to prevent unwanted
-files from getting in the list.
+
+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 x
+cd x
+./configure <options>
+cd po
+make gen-potfiles
+cp POTFILES.in <real-source-tree/po>
+cd ..
+./configure <options>
+
+This avoids picking up any files that are not in the SVN.
 
 ---
 
@@ -39,11 +54,11 @@ You may also want to correct the language team to:
 
 Finally, add <language code>.mo (e.g. de.mo) to .cvsignore, and don't forget to
 run:
-# cvs add <language code>.po <language code>.gmo
+# svn add <language code>.po <language code>.gmo
 
 ---
 
-For more informations, see gettext manual:
+For more information, see the gettext manual:
 http://www.gnu.org/software/gettext/manual/
 
 ---