mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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:
parent
2eeaef6eea
commit
a322eaa8a9
12 changed files with 246 additions and 0 deletions
24
share/monetdef/Makefile
Normal file
24
share/monetdef/Makefile
Normal 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>
|
||||
36
share/monetdef/en_US.ISO8859-1.src
Normal file
36
share/monetdef/en_US.ISO8859-1.src
Normal 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
|
||||
36
share/monetdef/en_US.ISO_8859-1.src
Normal file
36
share/monetdef/en_US.ISO_8859-1.src
Normal 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
|
||||
36
share/monetdef/ru_RU.KOI8-R.src
Normal file
36
share/monetdef/ru_RU.KOI8-R.src
Normal 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
24
share/msgdef/Makefile
Normal 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>
|
||||
10
share/msgdef/en_US.ISO8859-1.src
Normal file
10
share/msgdef/en_US.ISO8859-1.src
Normal 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
|
||||
10
share/msgdef/en_US.ISO_8859-1.src
Normal file
10
share/msgdef/en_US.ISO_8859-1.src
Normal 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
|
||||
10
share/msgdef/ru_RU.KOI8-R.src
Normal file
10
share/msgdef/ru_RU.KOI8-R.src
Normal 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
24
share/numericdef/Makefile
Normal 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>
|
||||
12
share/numericdef/en_US.ISO8859-1.src
Normal file
12
share/numericdef/en_US.ISO8859-1.src
Normal 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
|
||||
12
share/numericdef/en_US.ISO_8859-1.src
Normal file
12
share/numericdef/en_US.ISO_8859-1.src
Normal 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
|
||||
12
share/numericdef/ru_RU.KOI8-R.src
Normal file
12
share/numericdef/ru_RU.KOI8-R.src
Normal 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
|
||||
Loading…
Reference in a new issue