Add sources for following categories: LC_NUMERIC (share/numericdef),

LC_MONETARY (share/monetdef), LC_MESSAGES (share/msgdef). Now only
en_US.ISO_8859-1 and ru_RU.KOI8-R locales ready. I will find some time
in near future and'll try to make defintions for other locales.
This commit is contained in:
Alexey Zelkin 2001-02-08 17:33:19 +00:00
parent 2eeaef6eea
commit a322eaa8a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72172
12 changed files with 246 additions and 0 deletions

24
share/monetdef/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $FreeBSD$
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
LOCALES= en_US.ISO_8859-1 \
ru_RU.KOI8-R
LOCALEDIR= ${DESTDIR}/usr/share/locale
.SUFFIXES: .src .out
.src.out:
grep -v '^#' < ${.IMPSRC} > ${.TARGET}
all: ${LOCALES:S/$/.out/g}
afterinstall:
for l in ${LOCALES}; do \
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
${LOCALEDIR}/$$l/LC_MONETARY; \
done
.include <bsd.prog.mk>

View File

@ -0,0 +1,36 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# int_curr_symbol
USD
# currency_symbol
$
# mon_decimal_point
.
# mon_thousands_sep
,
# mon_grouping
3;3
# positive_sign
# negative_sign
-
# int_frac_digits
2
# frac_digits
2
# p_cs_precedes
1
# p_sep_by_space
0
# n_cs_precedes
1
# n_sep_by_space
0
# p_sign_posn
1
# n_sign_posn
1
# EOF

View File

@ -0,0 +1,36 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# int_curr_symbol
USD
# currency_symbol
$
# mon_decimal_point
.
# mon_thousands_sep
,
# mon_grouping
3;3
# positive_sign
# negative_sign
-
# int_frac_digits
2
# frac_digits
2
# p_cs_precedes
1
# p_sep_by_space
0
# n_cs_precedes
1
# n_sep_by_space
0
# p_sign_posn
1
# n_sign_posn
1
# EOF

View File

@ -0,0 +1,36 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# int_curr_symbol
RUR
# currency_symbol
ÒÕÂ
# mon_decimal_point
.
# mon_thousands_sep
# mon_grouping
3;3
# positive_sign
# negative_sign
-
# int_frac_digits
2
# frac_digits
2
# p_cs_precedes
0
# p_sep_by_space
1
# n_cs_precedes
0
# n_sep_by_space
1
# p_sign_posn
1
# n_sign_posn
1
# EOF

24
share/msgdef/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $FreeBSD$
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
LOCALES= en_US.ISO_8859-1 \
ru_RU.KOI8-R
LOCALEDIR= ${DESTDIR}/usr/share/locale
.SUFFIXES: .src .out
.src.out:
grep -v '^#' < ${.IMPSRC} > ${.TARGET}
all: ${LOCALES:S/$/.out/g}
afterinstall:
for l in ${LOCALES}; do \
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
${LOCALEDIR}/$$l/LC_MESSAGES; \
done
.include <bsd.prog.mk>

View File

@ -0,0 +1,10 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# decimal_point
^[yYsS].*
# thousands_sep
^[nN].*
# EOF

View File

@ -0,0 +1,10 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# decimal_point
^[yYsS].*
# thousands_sep
^[nN].*
# EOF

View File

@ -0,0 +1,10 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# yesexpr
^[ÄäyY].*
# noexpr
^[ÎînN].*
# EOF

24
share/numericdef/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $FreeBSD$
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
LOCALES= en_US.ISO_8859-1 \
ru_RU.KOI8-R
LOCALEDIR= ${DESTDIR}/usr/share/locale
.SUFFIXES: .src .out
.src.out:
grep -v '^#' < ${.IMPSRC} > ${.TARGET}
all: ${LOCALES:S/$/.out/g}
afterinstall:
for l in ${LOCALES}; do \
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
${LOCALEDIR}/$$l/LC_NUMERIC; \
done
.include <bsd.prog.mk>

View File

@ -0,0 +1,12 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# decimal_point
.
# thousands_sep
,
# grouping
3;3
# EOF

View File

@ -0,0 +1,12 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# decimal_point
.
# thousands_sep
,
# grouping
3;3
# EOF

View File

@ -0,0 +1,12 @@
# $FreeBSD$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# decimal_point
,
# thousands_sep
.
# grouping
3;3
# EOF