The patch can removes obsoleted msgid/msgstr in po files so that msgcat is 
succeeded.
I also changed a typo "SUN BRANDING" to "SUN_BRANDING".


--- spec-files/po-sun/README.orig
+++ spec-files/po-sun/README
@@ -37,7 +37,8 @@ What is the "SUN_BRANDING" tag
 Supported file types
 ====================

-        .c, .h, .py,
+        .c, .h,
+        .py,
         .desktop.in, .directory.in,
         .sh.in,
         .server.in,
@@ -50,7 +51,7 @@ Supported file types
 Comment format per File type
 ============================

-        - .c, .h, .py
+        - .c, .h

           /* SUN_BRANDING
              This is a comment line. */
@@ -69,6 +70,17 @@ Comment format per File type
              This is a comment line. */
           ngettext ("snapshot", "snapshots", i);

+
+        - .py
+
+          # SUN_BRANDING
+          print _("Python string")
+
+          # SUN_BRANDING                 [2]
+          a = N_("This is a "
+                 "multiple lines.")
+
+
         - .desktop.in, .directory.in

           # SUN_BRANDING
@@ -151,7 +163,7 @@ How to add a new module
 # cp POTFILES.in POTFILES.in.org
 # cat POTFILES.in.orig missing | env LANG=C sort > POTFILES.in
 # intltool-update -p
-# sed -e 's/#\. SUN_BRANDING/# SUN_BRANDING/' ${module}.pot \
+# sed -e 's/#\. .*SUN_BRANDING/# SUN_BRANDING/' ${module}.pot \
   > ${module}-sun.pot
 # msggrep -C -e "SUN_BRANDING" ${module}-sun.pot -o ${module}-sun.pot
 # mkdir -p $SVN/trunk/po-sun/$module/po-sun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nautilus-14-interface-changes.diff.diff
Type: text/x-patch
Size: 1410 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090106/a8a384c7/attachment.bin>

Reply via email to