Ouch, this is ugly, but I don't have a better solution.
Could this be done in l10n-configure.sh or is that script
not used anymore?
Laca
On Thu, 2007-03-08 at 22:27 +0900, Takao Fujiwara - Tokyo S/W Center
wrote:
> bug 6346647
> bugzilla 402399 not upstreamed
>
> I'ld like to integrate the following fix for GNOME 2.18.
> Could you review it?
>
> --- gnome-panel.spec.orig 2007-03-08 22:21:58.762733000 +0900
> +++ gnome-panel.spec 2007-03-08 22:24:44.102478000 +0900
> @@ -129,6 +129,20 @@
> cd po-sun; make; cd ..
> %endif
>
> +%ifos solaris
> +# bugster 6486542,6346647,6444413,6399297 bugzilla 404898,402399,411097
> +cd po
> +for po in it.po th.po zh_CN.po zh_TW.po zh_HK.po
> +do
> + if test -f $po ; then
> + env LANG=C LC_ALL=C \
> + sed -e '/^msgstr "/s/%[_0^-]\([md]\)/%\1/g' $po > ${po}.$$
> + mv ${po}.$$ $po
> + fi
> +done
> +cd ..
> +%endif
> +
> %build
> %ifos linux
> if [ -x /usr/bin/getconf ]; then
>