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/9b9d6d8b67f4
branches:  trunk
changeset: 1008464:9b9d6d8b67f4
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 58386aec1342 -r 9b9d6d8b67f4 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 58386aec1342 -r 9b9d6d8b67f4 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