Bug#160040: Quick fix for sr_YU locale
tags 160040 +patch
thanks
It looks like there is a typo in the currency information for the _YU
locale. Attached please find a simple patch; however please note that
this is +completely+ untested and based on hypothesizing about the
cause for the reported error. I'm not pretending to understand how
this works, I just think I found a possible cause for the error and am
hereby submitting a possible fix. If it doesn't work, I was wrong, and
I apologize for wasting your time with this.
I'm speculating that this is pretty "release critical" for anybody in
Serbia who wants to use Debian, but I leave that up to you. :-)
/* era */
#! /bin/sh -e
#
# localedata/locales/sr_YU* quick fix -- typo in currency identifier
# (Debian BTS bug #160040)
# era@iki.fi Thu Mar 20 10:31:53 2003
#
# patch script cloned from debian/patches/locale-es_AR.dpatch -- let me
# know if this should be set up differently somehow :-/
if [ $# -ne 2 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -d "$2" -f --no-backup-if-mismatch -p0 < $0;;
-unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p0 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
esac
exit 0
--- localedata/locales/sr_YU Thu Feb 14 02:58:15 2002
+++ localedata/locales/sr_YU Thu Mar 20 10:17:30 2003
@@ -224,7 +224,7 @@
END LC_MESSAGES
LC_MONETARY
-int_curr_symbol "<U0059><U0055><U004E><U0020>"
+int_curr_symbol "<U0059><U0055><U004D><U0020>"
currency_symbol "<U0064><U0069><U006E>"
mon_decimal_point "<U002C>"
mon_thousands_sep "<U0020>"
--- localedata/locales/sr_YU@cyrillic Fri Oct 27 22:33:59 2000
+++ localedata/locales/sr_YU@cyrillic Thu Mar 20 10:18:04 2003
@@ -61,7 +61,7 @@
END LC_MESSAGES
LC_MONETARY
-int_curr_symbol "<U0059><U0055><U004E><U0020>"
+int_curr_symbol "<U0059><U0055><U004D><U0020>"
currency_symbol "<U0434><U0438><U043D>"
mon_decimal_point "<U002C>"
mon_thousands_sep "<U0020>"
--
Join the civilized world -- ban spam like we did! <http://www.euro.cauce.org/>
tee -a $HOME/.signature <$HOME/.plan >http://www.iki.fi/era/index.html
Reply to: