summaryrefslogtreecommitdiffstats
path: root/share/msgdef
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-02-08 17:33:19 +0000
committerphantom <phantom@FreeBSD.org>2001-02-08 17:33:19 +0000
commit58896dce4d6e91314bb02c989d63ead4a1c528a4 (patch)
tree8242b01299c307345f9ac022f30ce9eb28777e0c /share/msgdef
parent2d3793614b065b11717d0ccc65ab2a9ce98545bd (diff)
downloadFreeBSD-src-58896dce4d6e91314bb02c989d63ead4a1c528a4.zip
FreeBSD-src-58896dce4d6e91314bb02c989d63ead4a1c528a4.tar.gz
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.
Diffstat (limited to 'share/msgdef')
-rw-r--r--share/msgdef/Makefile24
-rw-r--r--share/msgdef/en_US.ISO8859-1.src10
-rw-r--r--share/msgdef/en_US.ISO_8859-1.src10
-rw-r--r--share/msgdef/ru_RU.KOI8-R.src10
4 files changed, 54 insertions, 0 deletions
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile
new file mode 100644
index 0000000..84da288
--- /dev/null
+++ b/share/msgdef/Makefile
@@ -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>
diff --git a/share/msgdef/en_US.ISO8859-1.src b/share/msgdef/en_US.ISO8859-1.src
new file mode 100644
index 0000000..c50709e
--- /dev/null
+++ b/share/msgdef/en_US.ISO8859-1.src
@@ -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
diff --git a/share/msgdef/en_US.ISO_8859-1.src b/share/msgdef/en_US.ISO_8859-1.src
new file mode 100644
index 0000000..c50709e
--- /dev/null
+++ b/share/msgdef/en_US.ISO_8859-1.src
@@ -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
diff --git a/share/msgdef/ru_RU.KOI8-R.src b/share/msgdef/ru_RU.KOI8-R.src
new file mode 100644
index 0000000..265cc10
--- /dev/null
+++ b/share/msgdef/ru_RU.KOI8-R.src
@@ -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
OpenPOWER on IntegriCloud