Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/locale Fix the currency symbol for fi_FI.ISO8859-1



details:   https://anonhg.NetBSD.org/src/rev/4ee8faf5184a
branches:  trunk
changeset: 746175:4ee8faf5184a
user:      kim <kim%NetBSD.org@localhost>
date:      Mon Mar 23 13:56:12 2020 +0000

description:
Fix the currency symbol for fi_FI.ISO8859-1

In the Finnish language, the recommended symbol for euro is the euro sign
where it is available, and the lowercase letter e otherwise.

The use of the ISO currency code EUR is not an abbreviation of the word
euro in the Finnish language, just like FIM is not an abbreviation of
the word markka.

Reference:
    https://www.kielikello.fi/-/euro-
    Euro
    Kielikello 3/1998
    Kotimaisten kielten keskus
    Institute for the Languages of Finland
    [Last retrieved 2020-03-23]

diffstat:

 share/locale/Makefile.common                        |  3 ++-
 share/locale/monetary/converted/fi_FI.ISO8859-1.src |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 3f2e03770474 -r 4ee8faf5184a share/locale/Makefile.common
--- a/share/locale/Makefile.common      Mon Mar 23 13:37:36 2020 +0000
+++ b/share/locale/Makefile.common      Mon Mar 23 13:56:12 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2013/08/11 22:09:40 joerg Exp $
+# $NetBSD: Makefile.common,v 1.2 2020/03/23 13:56:12 kim Exp $
 
 all:           ${LOCALES:S/$/.out/g}
 realall:       ${LOCALES:S/$/.out/g}
@@ -37,6 +37,7 @@
        @echo Generating character set ${charset} of ${locale_name}...
        @rm -f ${.CURDIR}/converted/${locale}.src
        @set -e; cat < ${.CURDIR}/${locale_name}.UTF-8.src \
+       | (case ${locale}  in fi_FI.ISO8859-1) sed 's,â?¬,e,g';; *) cat ;; esac) \
        | (case ${charset} in ISO8859-[125]) sed 's,â?¬,EUR,g';; *) cat ;; esac) \
        | (case ${charset} in ISO8859-9) sed 's,â?º,L,g';; *) cat ;; esac) \
        | (case ${charset} in ISO8859*) sed 's,â??,-,g';; *) cat ;; esac) \
diff -r 3f2e03770474 -r 4ee8faf5184a share/locale/monetary/converted/fi_FI.ISO8859-1.src
--- a/share/locale/monetary/converted/fi_FI.ISO8859-1.src       Mon Mar 23 13:37:36 2020 +0000
+++ b/share/locale/monetary/converted/fi_FI.ISO8859-1.src       Mon Mar 23 13:56:12 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: fi_FI.ISO8859-1.src,v 1.1 2013/08/11 22:09:41 joerg Exp $
+# $NetBSD: fi_FI.ISO8859-1.src,v 1.2 2020/03/23 13:56:12 kim Exp $
 #
 # Locale: fi_FI
 # Character set: ISO8859-1
@@ -33,7 +33,7 @@
 #
 # Currency Symbol (currency_symbol)
 #
-EUR
+e
 #
 # Monetary Decimal Point (mon_decimal_point)
 #



Home | Main Index | Thread Index | Old Index