Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/locale/tools/cldr2def.pl
| Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | my %DESC = ( | ||||
| "int_frac_digits" => "int_frac_digits", | "int_frac_digits" => "int_frac_digits", | ||||
| "frac_digits" => "frac_digits", | "frac_digits" => "frac_digits", | ||||
| "p_cs_precedes" => "p_cs_precedes", | "p_cs_precedes" => "p_cs_precedes", | ||||
| "p_sep_by_space" => "p_sep_by_space", | "p_sep_by_space" => "p_sep_by_space", | ||||
| "n_cs_precedes" => "n_cs_precedes", | "n_cs_precedes" => "n_cs_precedes", | ||||
| "n_sep_by_space" => "n_sep_by_space", | "n_sep_by_space" => "n_sep_by_space", | ||||
| "p_sign_posn" => "p_sign_posn", | "p_sign_posn" => "p_sign_posn", | ||||
| "n_sign_posn" => "n_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 | # msgdef | ||||
| "yesexpr" => "yesexpr", | "yesexpr" => "yesexpr", | ||||
| "noexpr" => "noexpr", | "noexpr" => "noexpr", | ||||
| "yesstr" => "yesstr", | "yesstr" => "yesstr", | ||||
| "nostr" => "nostr", | "nostr" => "nostr", | ||||
| # timedef | # timedef | ||||
| Show All 29 Lines | if ($TYPE eq "numericdef") { | ||||
| ); | ); | ||||
| get_fields(); | get_fields(); | ||||
| print_fields(); | print_fields(); | ||||
| make_makefile(); | make_makefile(); | ||||
| } | } | ||||
| if ($TYPE eq "monetdef") { | if ($TYPE eq "monetdef") { | ||||
| %keys = ( | %keys = ( | ||||
| "int_curr_symbol" => "s", | "int_curr_symbol" => "s", | ||||
| "currency_symbol" => "s", | "currency_symbol" => "s", | ||||
| "mon_decimal_point" => "s", | "mon_decimal_point" => "s", | ||||
| "mon_thousands_sep" => "s", | "mon_thousands_sep" => "s", | ||||
| "mon_grouping" => "ai", | "mon_grouping" => "ai", | ||||
| "positive_sign" => "s", | "positive_sign" => "s", | ||||
| "negative_sign" => "s", | "negative_sign" => "s", | ||||
| "int_frac_digits" => "i", | "int_frac_digits" => "i", | ||||
| "frac_digits" => "i", | "frac_digits" => "i", | ||||
| "p_cs_precedes" => "i", | "p_cs_precedes" => "i", | ||||
| "p_sep_by_space" => "i", | "p_sep_by_space" => "i", | ||||
| "n_cs_precedes" => "i", | "n_cs_precedes" => "i", | ||||
| "n_sep_by_space" => "i", | "n_sep_by_space" => "i", | ||||
| "p_sign_posn" => "i", | "p_sign_posn" => "i", | ||||
| "n_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(); | get_fields(); | ||||
| print_fields(); | print_fields(); | ||||
| make_makefile(); | make_makefile(); | ||||
| } | } | ||||
| if ($TYPE eq "msgdef") { | if ($TYPE eq "msgdef") { | ||||
| %keys = ( | %keys = ( | ||||
| ▲ Show 20 Lines • Show All 908 Lines • Show Last 20 Lines | |||||