Code

. add module blobfiles in backends with file access functions.
[roundup.git] / I18N_PROGRESS.txt
index 212f2b57b6e37cb89992c3f966c76e1f68e5c143..9b2b97219b880dcf2c9b0107a2c6c97d9567d519 100644 (file)
@@ -2,17 +2,21 @@ This list has been generated using the MANIFEST file. We should be able to
 write a simple script to compare the two and make sure that all MANIFEST
 files appear in here.
 
+To generate a messages.pot file, use this command:
+
+    python tools/pygettext.py roundup roundup-* cgi-bin/roundup.cgi
+
+"messages.pot" then contains a positive list of files using _(), which can
+be extracted by;
+
+    grep "#: " messages.pot | tr ":#0123456789 " "\012" | sort | uniq
+
+Of course, this does not check whether a file is fully translated, only
+whether there is at least one use of "_()".
+
 
 THESE FILES DO NOT USE _()
 ==========================
-roundup-admin
-roundup-mailgw
-roundup-server
-cgi-bin/roundup.cgi
-roundup/__init__.py
-roundup/cgitb.py
-roundup/date.py
-roundup/htmltemplate.py
 roundup/hyperdb.py
 roundup/i18n.py
 roundup/init.py
@@ -45,7 +49,16 @@ roundup/templates/extended/detectors/nosyreaction.py
 
 THESE FILES DO USE _()
 ======================
+roundup-admin
+roundup-mailgw
+roundup-server
+cgi-bin/roundup.cgi
+roundup/__init__.py
 roundup/cgi_client.py
+roundup/admin.py
+roundup/cgitb.py
+roundup/date.py
+roundup/htmltemplate.py
 
 
 WE DON'T CARE ABOUT THESE FILES