[open-ils-commits] r8135 - in trunk/build/i18n: . po scripts

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Dec 4 05:06:33 EST 2007


Author: dbs
Date: 2007-12-04 04:47:04 -0500 (Tue, 04 Dec 2007)
New Revision: 8135

Modified:
   trunk/build/i18n/Makefile
   trunk/build/i18n/po/db.seed.pot
   trunk/build/i18n/scripts/db-seed-i18n.py
Log:
Avoid mouse-grabbing weirdness by calling script with python explicitly.
Correct escaped quotes in POT msgids.


Modified: trunk/build/i18n/Makefile
===================================================================
--- trunk/build/i18n/Makefile	2007-12-04 08:17:35 UTC (rev 8134)
+++ trunk/build/i18n/Makefile	2007-12-04 09:47:04 UTC (rev 8135)
@@ -54,7 +54,7 @@
 	@po2moz $(PROGRESS) -o locale/$(LOCALE) -t $(PROPSDIR)/en-US/ -i $(POINDIR)/$(LOCALE) 2>&1
 
 sql2pot:
-	@scripts/db-seed-i18n.py
+	@python scripts/db-seed-i18n.py
 
 update_moz_dtds:
 	@po2moz $(PROGRESS) -o locale/$(LOCALE) -t $(DTDDIR)/en-US/ -i $(POINDIR)/$(LOCALE) 2>&1

Modified: trunk/build/i18n/po/db.seed.pot
===================================================================
--- trunk/build/i18n/po/db.seed.pot	2007-12-04 08:17:35 UTC (rev 8134)
+++ trunk/build/i18n/po/db.seed.pot	2007-12-04 09:47:04 UTC (rev 8135)
@@ -3,7 +3,7 @@
 msgstr ""
 "Project-Id-Version: Evergreen 1.4"
 "Report-Msgid-Bugs-To: open-ils-dev at list.georgialibraries.org"
-"POT-Creation-Date: 2007-12-04 02:50:56 -0400"
+"POT-Creation-Date: 2007-12-04 05:05:05 -0400"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>"
 "Language-Team: LANGUAGE <LL at li.org>"
@@ -972,7 +972,7 @@
 msgstr ""
 
 #: config.language_map:290
-msgid "Gwich\'in"
+msgid "Gwich'in"
 msgstr ""
 
 #: config.language_map:291
@@ -2396,11 +2396,11 @@
 msgstr ""
 
 #: permission.perm_list:676
-msgid "Allows a user to view another user\'s holds"
+msgid "Allows a user to view another user's holds"
 msgstr ""
 
 #: permission.perm_list:678
-msgid "Allows a user to update another user\'s hold"
+msgid "Allows a user to update another user's hold"
 msgstr ""
 
 #: permission.perm_list:683
@@ -2416,7 +2416,7 @@
 msgstr ""
 
 #: permission.perm_list:705
-msgid "Allows a user to view another user"
+msgid "Allows a user to view another user's containers (buckets)"
 msgstr ""
 
 #: permission.perm_list:706
@@ -2436,7 +2436,7 @@
 msgstr ""
 
 #: permission.perm_list:710
-msgid "User may view another user"
+msgid "User may view another user's transactions"
 msgstr ""
 
 #: permission.perm_list:711
@@ -2456,7 +2456,7 @@
 msgstr ""
 
 #: permission.perm_list:715
-msgid "Allow user to view others"
+msgid "Allow user to view others' permission groups"
 msgstr ""
 
 #: permission.perm_list:716
@@ -2832,7 +2832,7 @@
 msgstr ""
 
 #: permission.perm_list:812
-msgid "Allows a user to delete an item out of another user\'s container"
+msgid "Allows a user to delete an item out of another user's container"
 msgstr ""
 
 #: permission.perm_list:813

Modified: trunk/build/i18n/scripts/db-seed-i18n.py
===================================================================
--- trunk/build/i18n/scripts/db-seed-i18n.py	2007-12-04 08:17:35 UTC (rev 8134)
+++ trunk/build/i18n/scripts/db-seed-i18n.py	2007-12-04 09:47:04 UTC (rev 8135)
@@ -78,7 +78,7 @@
             if fi18n is not None:
                 for i18n in fi18n.groups():
                     # Unescape escaped SQL single-quotes for translators' sanity
-                    i18n = re.compile(r'\'\'').sub(r'\'', i18n)
+                    i18n = re.compile(r'\'\'').sub("'", i18n)
                     poe = polib.POEntry()
                     poe.occurences = [(table, n)]
                     poe.msgid = i18n



More information about the open-ils-commits mailing list