aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2025-12-06 12:20:16 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2025-12-06 12:20:16 +0000
commitfaf33e05013fb3fc79cc035c1ff7b52f3fa1af1b (patch)
tree43fef75fe64a544280c7453d1e59294dc60deaaf
parent09701dc19cf0d6f1a41abcae89c00122546498fb (diff)
cldr2def.pl: Add international currency parameters
Add the missing international monetary parameters present in the lconv struct. See also https://unicode-org.atlassian.net/browse/CLDR-237. Reviewed by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D53915
-rwxr-xr-xtools/tools/locale/tools/cldr2def.pl42
1 files changed, 27 insertions, 15 deletions
diff --git a/tools/tools/locale/tools/cldr2def.pl b/tools/tools/locale/tools/cldr2def.pl
index ea49c21300c4..998e176de918 100755
--- a/tools/tools/locale/tools/cldr2def.pl
+++ b/tools/tools/locale/tools/cldr2def.pl
@@ -121,6 +121,12 @@ my %DESC = (
"n_sep_by_space" => "n_sep_by_space",
"p_sign_posn" => "p_sign_posn",
"n_sign_posn" => "n_sign_posn",
+ "int_p_cs_precedes" => "int_p_cs_precedes",
+ "int_n_cs_precedes" => "int_n_cs_precedes",
+ "int_p_sep_by_space" => "int_p_sep_by_space",
+ "int_n_sep_by_space" => "int_n_sep_by_space",
+ "int_p_sign_posn" => "int_p_sign_posn",
+ "int_n_sign_posn" => "int_n_sign_posn",
# msgdef
"yesexpr" => "yesexpr",
@@ -166,21 +172,27 @@ if ($TYPE eq "numericdef") {
if ($TYPE eq "monetdef") {
%keys = (
- "int_curr_symbol" => "s",
- "currency_symbol" => "s",
- "mon_decimal_point" => "s",
- "mon_thousands_sep" => "s",
- "mon_grouping" => "ai",
- "positive_sign" => "s",
- "negative_sign" => "s",
- "int_frac_digits" => "i",
- "frac_digits" => "i",
- "p_cs_precedes" => "i",
- "p_sep_by_space" => "i",
- "n_cs_precedes" => "i",
- "n_sep_by_space" => "i",
- "p_sign_posn" => "i",
- "n_sign_posn" => "i"
+ "int_curr_symbol" => "s",
+ "currency_symbol" => "s",
+ "mon_decimal_point" => "s",
+ "mon_thousands_sep" => "s",
+ "mon_grouping" => "ai",
+ "positive_sign" => "s",
+ "negative_sign" => "s",
+ "int_frac_digits" => "i",
+ "frac_digits" => "i",
+ "p_cs_precedes" => "i",
+ "p_sep_by_space" => "i",
+ "n_cs_precedes" => "i",
+ "n_sep_by_space" => "i",
+ "p_sign_posn" => "i",
+ "n_sign_posn" => "i",
+ "int_p_cs_precedes" => "i",
+ "int_n_cs_precedes" => "i",
+ "int_p_sep_by_space" => "i",
+ "int_n_sep_by_space" => "i",
+ "int_p_sign_posn" => "i",
+ "int_n_sign_posn" => "i"
);
get_fields();
print_fields();