Hi,

Please review the fix for d.o.o. #9765
( Incorrect time format in italian locale ).

Best Regards,
Harry Fu

Index: ext-sources/l10n-configure.sh
===================================================================
--- ext-sources/l10n-configure.sh       (revision 20124)
+++ ext-sources/l10n-configure.sh       (working copy)
@@ -188,9 +188,9 @@
   # Replace "%Id" with "%d" for printf(3C) and don't use "." for the 
workaround
   # Replace "%l" with "%I" for strptime(3C) and also grep %M for the 
workaround
   # so that we do not change %ld for printf(3C).
-  # Replace "%k" with "%H" for strptime(3C).
+  # Replace "%k" and "%-H" with "%H" for strptime(3C).
   for po in `egrep -l \
-'^msgstr ".*%[_0^-][md].*"|'\
+'^msgstr ".*%[_0^-][mdH].*"|'\
 '^msgstr "%I[doxXnfFeEgGaAcspCSm]"|'\
 '^msgstr ".*%[_0^-]*l.*%[MpP].*"|'\
 '^msgstr ".*%[MpP].*%[_0^-]*l.*"|'\
@@ -198,7 +198,7 @@
   *.po`
   do
     env LANG=C LC_ALL=C \
-      $SED -e '/^msgstr "/s/%[_0^-]\([md]\)/%\1/g' $po     |
+      $SED -e '/^msgstr "/s/%[_0^-]\([mdH]\)/%\1/g' $po     |
     env LANG=C LC_ALL=C \
       $SED -e 's/^\(msgstr "%\)I\([doxXnfFeEgGaAcspCSm]"\)/\1\2/g' |
     env LANG=C LC_ALL=C \
Index: base-specs/eog.spec
===================================================================
--- base-specs/eog.spec (revision 20124)
+++ base-specs/eog.spec (working copy)
@@ -87,7 +87,7 @@
 intltoolize --force --copy

 %if %build_l10n
-bash -x %SOURCE2 --enable-copyright
+bash -x %SOURCE2 --enable-copyright --disable-gnu-extensions
 %endif

 aclocal $ACLOCAL_FLAGS

Reply via email to