summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2002-04-05 15:03:13 +0000
committerphantom <phantom@FreeBSD.org>2002-04-05 15:03:13 +0000
commit8e0b36fd312ffc9761418e00078f3ec47dac8cb3 (patch)
tree08dd54eb40e64a57dc1512606906b55db658b6e6
parent9538412adcafb3d62b39db04d584c4e986b22f3d (diff)
downloadFreeBSD-src-8e0b36fd312ffc9761418e00078f3ec47dac8cb3.zip
FreeBSD-src-8e0b36fd312ffc9761418e00078f3ec47dac8cb3.tar.gz
Add pt_BR.ISO8859-1 (Brazilian Portuguese) locale
Submitted (partly) by: dcs
-rw-r--r--share/colldef/Makefile2
-rw-r--r--share/mklocale/Makefile5
-rw-r--r--share/monetdef/Makefile1
-rw-r--r--share/monetdef/pt_BR.ISO8859-1.src36
-rw-r--r--share/msgdef/Makefile5
-rw-r--r--share/numericdef/Makefile1
-rw-r--r--share/numericdef/pt_BR.ISO8859-1.src12
-rw-r--r--share/timedef/Makefile1
-rw-r--r--share/timedef/pt_BR.ISO8859-1.src103
9 files changed, 164 insertions, 2 deletions
diff --git a/share/colldef/Makefile b/share/colldef/Makefile
index bcbb998..39322b5 100644
--- a/share/colldef/Makefile
+++ b/share/colldef/Makefile
@@ -102,5 +102,7 @@ afterinstall:
.endfor
ln -fs ../cs_CZ.ISO8859-2/LC_COLLATE \
${LOCALEDIR}/sk_SK.ISO8859-2/LC_COLLATE
+ ln -fs ../pt_PT.ISO8859-1/LC_COLLATE \
+ ${LOCALEDIR}/pt_BR.ISO8859-1/LC_COLLATE
.include <bsd.prog.mk>
diff --git a/share/mklocale/Makefile b/share/mklocale/Makefile
index 17e0d0b..cbe4bf2 100644
--- a/share/mklocale/Makefile
+++ b/share/mklocale/Makefile
@@ -24,10 +24,11 @@ LOCALES= bg_BG.CP1251 \
LOCALEDIR= ${DESTDIR}/usr/share/locale
ASCIILINKS= en_AU en_CA en_GB en_NZ en_US
-LATIN1LINKS= af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
+LATIN1XLINKS= af_ZA da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_NZ en_US \
es_ES fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE \
nl_NL no_NO pt_PT sv_SE
-LATIN15LINKS= ${LATIN1LINKS} et_EE
+LATIN1LINKS= ${LATIN1XLINKS} pt_BR
+LATIN15LINKS= ${LATIN1XLINKS} et_EE
LATIN2LINKS= cs_CZ hr_HR hu_HU pl_PL sl_SI ro_RO sk_SK
LATIN4LINKS= lt_LT
LATIN5LINKS= uk_UA
diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile
index cd5323f..7613ff9 100644
--- a/share/monetdef/Makefile
+++ b/share/monetdef/Makefile
@@ -33,6 +33,7 @@ LOCALES= af_ZA.ISO8859-1 \
nl_NL.ISO8859-1 \
no_NO.ISO8859-1 \
pl_PL.ISO8859-2 \
+ pt_BR.ISO8859-1 \
pt_PT.ISO8859-1 \
ro_RO.ISO8859-2 \
ru_RU.CP866 \
diff --git a/share/monetdef/pt_BR.ISO8859-1.src b/share/monetdef/pt_BR.ISO8859-1.src
new file mode 100644
index 0000000..0614e9f
--- /dev/null
+++ b/share/monetdef/pt_BR.ISO8859-1.src
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol (last character always SPACE)
+BRL
+# currency_symbol
+R$
+# mon_decimal_point (possibly incorrect for pt_BR)
+,
+# mon_thousands_sep
+.
+# mon_grouping, separated by ;
+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
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile
index fd9a7e7..6dcd69e 100644
--- a/share/msgdef/Makefile
+++ b/share/msgdef/Makefile
@@ -53,6 +53,7 @@ DE_LINKS= de_AT de_CH
CZ_LINKS= sk_SK
IT_LINKS= it_CH
NL_LINKS= nl_BE
+PT_LINKS= pt_BR
.SUFFIXES: .src .out
@@ -108,6 +109,10 @@ afterinstall:
ln -sf ../cs_CZ.ISO8859-2/LC_MESSAGES \
${LOCALEDIR}/${link}.ISO8859-2/LC_MESSAGES
.endfor
+.for link in ${PT_LINKS}
+ ln -sf ../pt_PT.ISO8859-1/LC_MESSAGES \
+ ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
+.endfor
.for link in ${ASCIILINKS}
ln -sf ../${link}.ISO8859-1/LC_MESSAGES \
${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES
diff --git a/share/numericdef/Makefile b/share/numericdef/Makefile
index 935d932..49a42c7 100644
--- a/share/numericdef/Makefile
+++ b/share/numericdef/Makefile
@@ -25,6 +25,7 @@ LOCALES= af_ZA.ISO8859-1 \
nl_NL.ISO8859-1 \
no_NO.ISO8859-1 \
pl_PL.ISO8859-2 \
+ pt_BR.ISO8859-1 \
pt_PT.ISO8859-1 \
ro_RO.ISO8859-2 \
ru_RU.CP866 \
diff --git a/share/numericdef/pt_BR.ISO8859-1.src b/share/numericdef/pt_BR.ISO8859-1.src
new file mode 100644
index 0000000..9c48fd3
--- /dev/null
+++ b/share/numericdef/pt_BR.ISO8859-1.src
@@ -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, separated by ;
+3;3
+# EOF
diff --git a/share/timedef/Makefile b/share/timedef/Makefile
index 72792ec..3c2e5c3 100644
--- a/share/timedef/Makefile
+++ b/share/timedef/Makefile
@@ -28,6 +28,7 @@ LOCALES= bg_BG.CP1251 \
nl_NL.ISO8859-1 \
no_NO.ISO8859-1 \
pl_PL.ISO8859-2 \
+ pt_BR.ISO8859-1 \
pt_PT.ISO8859-1 \
ro_RO.ISO8859-2 \
ru_RU.CP866 \
diff --git a/share/timedef/pt_BR.ISO8859-1.src b/share/timedef/pt_BR.ISO8859-1.src
new file mode 100644
index 0000000..fde08a1
--- /dev/null
+++ b/share/timedef/pt_BR.ISO8859-1.src
@@ -0,0 +1,103 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+# In Portugal we don't use the 12 + am/pm but the 24h format
+#
+# Short months names
+#
+Jan
+Fev
+Mar
+Abr
+Mai
+Jun
+Jul
+Ago
+Set
+Out
+Nov
+Dez
+#
+# Long months names
+#
+Janeiro
+Fevereiro
+Março
+Abril
+Maio
+Junho
+Julho
+Agosto
+Setembro
+Outubro
+Novembro
+Dezembro
+#
+# Short weekdays names
+#
+Dom
+Seg
+Ter
+Qua
+Qui
+Sex
+Sáb
+#
+# Long weekdays names
+#
+Domingo
+Segunda Feira
+Terça Feira
+Quarta Feira
+Quinta Feira
+Sexta Feira
+Sábado
+#
+# X_fmt
+#
+%H:%M:%S
+#
+# x_fmt
+#
+%d/%m/%Y
+#
+# c_fmt
+#
+%a %e %b %X %Y
+#
+# am
+#
+
+#
+# pm
+#
+
+#
+# date_fmt
+#
+%a %e %b %Y %X %Z
+#
+# Long months names (alternative)
+#
+Janeiro
+Fevereiro
+Março
+Abril
+Maio
+Junho
+Julho
+Agosto
+Setembro
+Outubro
+Novembro
+Dezembro
+#
+# md_order
+#
+dm
+#
+# ampm_fmt
+#
+
+# EOF
OpenPOWER on IntegriCloud