I'm revising po-sun/README file.
Some of internal patches use ngettext(3C) and it also needs SUN_BRANDING tag.
Index: po-sun/README
===================================================================
--- po-sun/README (revision 15858)
+++ po-sun/README (working copy)
@@ -56,7 +56,19 @@
This is a comment line. */
_("C string");
+ /* SUN_BRANDING
+ This is a comment line. */
+ function (_("C string"), /* SUN_BRANDING */ _("another string"));
+ /* SUN_BRANDING
+ This is a comment line. */ [2]
+ _("This is a "
+ "multiple lines.");
+
+ /* SUN_BRANDING
+ This is a comment line. */
+ ngettext ("snapshot", "snapshots", i);
+
- .desktop.in, .directory.in
# SUN_BRANDING
@@ -65,7 +77,7 @@
_Comment=C string
- - .sh.in [2]
+ - .sh.in [3]
#!/bin/bash
# SUN_BRANDING
@@ -115,7 +127,9 @@
Requirement: intltool 0.35.5 or later
[1] Also works .in.in. files. e.g. desktop.in.in
-[2] It seem bash 3.0 i18n doesn't work on none UTF-8 so need to convert from
UTF-8.
+[2] Please do not use '+' to unite multiple lines in Python/C++ because
+ intltool(xgettext) fails to extract whole strings.
+[3] It seem bash 3.0 i18n doesn't work on none UTF-8 so need to convert from
UTF-8.
How to generate po tarballs
@@ -176,11 +190,13 @@
Name: foo
License: GPL
Group: System/GUI/GNOME
-@@ -20,6 +21,7 @@
+@@ -20,6 +21,9 @@
Source2: gfloppy.1.gz
Source3: gnome-dictionary.1.gz
Source4: gnome-screenshot.1.gz
++%if %build_l10n
+Source5: %{name}-po-sun-%{po_sun_version}.tar.bz2
++%endif
# date:2005-05-02 type:bug bugster:6222777 owner:mattman
Patch1: gnome-utils-01-gfloppy-permission.diff
# date:2006-04-05 type:branding owner:gman