Code

Extract _send_mail method, it was duplicated all around the test code.
[roundup.git] / I18N_PROGRESS.txt
index 212f2b57b6e37cb89992c3f966c76e1f68e5c143..2ee110f3468f2117ea17e5624235b422ada8d6a0 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
@@ -30,22 +34,22 @@ roundup/templates/__init__.py
 roundup/templates/classic/__init__.py
 roundup/templates/classic/dbinit.py
 roundup/templates/classic/htmlbase.py
-roundup/templates/classic/instance_config.py
+roundup/templates/classic/config.py
 roundup/templates/classic/interfaces.py
 roundup/templates/classic/detectors/__init__.py
 roundup/templates/classic/detectors/nosyreaction.py
-roundup/templates/extended/__init__.py
-roundup/templates/extended/dbinit.py
-roundup/templates/extended/htmlbase.py
-roundup/templates/extended/instance_config.py
-roundup/templates/extended/interfaces.py
-roundup/templates/extended/detectors/__init__.py
-roundup/templates/extended/detectors/nosyreaction.py
 
 
 THESE FILES DO USE _()
 ======================
-roundup/cgi_client.py
+roundup-admin
+roundup-mailgw
+roundup-server
+cgi-bin/roundup.cgi
+roundup/__init__.py
+roundup/admin.py
+roundup/date.py
+roundup/cgi/cgitb.py
 
 
 WE DON'T CARE ABOUT THESE FILES
@@ -53,7 +57,6 @@ WE DON'T CARE ABOUT THESE FILES
 BUILD.txt
 CHANGES.txt
 INSTALL.txt
-MIGRATION.txt
 README.txt
 setup.py
 doc/implementation.txt
@@ -77,21 +80,6 @@ roundup/templates/classic/html/msg.item
 roundup/templates/classic/html/style.css
 roundup/templates/classic/html/user.index
 roundup/templates/classic/html/user.item
-roundup/templates/extended/html/file.index
-roundup/templates/extended/html/file.newitem
-roundup/templates/extended/html/issue.filter
-roundup/templates/extended/html/issue.index
-roundup/templates/extended/html/issue.item
-roundup/templates/extended/html/msg.index
-roundup/templates/extended/html/msg.item
-roundup/templates/extended/html/style.css
-roundup/templates/extended/html/support.filter
-roundup/templates/extended/html/support.index
-roundup/templates/extended/html/support.item
-roundup/templates/extended/html/timelog.index
-roundup/templates/extended/html/timelog.item
-roundup/templates/extended/html/user.index
-roundup/templates/extended/html/user.item
 test/README.txt
 test/__init__.py
 test/test_dates.py