Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/solaris/native/java/lang/locale_str.h
32287 views
/*1* Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/*26* Mappings from partial locale names to full locale names27*/28static char *locale_aliases[] = {29"ar", "ar_EG",30"be", "be_BY",31"bg", "bg_BG",32"br", "br_FR",33"ca", "ca_ES",34"cs", "cs_CZ",35"cz", "cs_CZ",36"da", "da_DK",37"de", "de_DE",38"el", "el_GR",39"en", "en_US",40"eo", "eo", /* no country for Esperanto */41"es", "es_ES",42"et", "et_EE",43"eu", "eu_ES",44"fi", "fi_FI",45"fr", "fr_FR",46"ga", "ga_IE",47"gl", "gl_ES",48"he", "iw_IL",49"hr", "hr_HR",50#ifdef __linux__51"hs", "en_US", // used on Linux, not clear what it stands for52#endif53"hu", "hu_HU",54"id", "in_ID",55"in", "in_ID",56"is", "is_IS",57"it", "it_IT",58"iw", "iw_IL",59"ja", "ja_JP",60"kl", "kl_GL",61"ko", "ko_KR",62"lt", "lt_LT",63"lv", "lv_LV",64"mk", "mk_MK",65"nl", "nl_NL",66"no", "no_NO",67"pl", "pl_PL",68"pt", "pt_PT",69"ro", "ro_RO",70"ru", "ru_RU",71"se", "se_NO",72"sk", "sk_SK",73"sl", "sl_SI",74"sq", "sq_AL",75"sr", "sr_CS",76"su", "fi_FI",77"sv", "sv_SE",78"th", "th_TH",79"tr", "tr_TR",80#ifdef __linux__81"ua", "en_US", // used on Linux, not clear what it stands for82#endif83"uk", "uk_UA",84"vi", "vi_VN",85"wa", "wa_BE",86"zh", "zh_CN",87#ifdef __linux__88"bokmal", "nb_NO",89"bokm\xE5l", "nb_NO",90"catalan", "ca_ES",91"croatian", "hr_HR",92"czech", "cs_CZ",93"danish", "da_DK",94"dansk", "da_DK",95"deutsch", "de_DE",96"dutch", "nl_NL",97"eesti", "et_EE",98"estonian", "et_EE",99"finnish", "fi_FI",100"fran\xE7\x61is", "fr_FR",101"french", "fr_FR",102"galego", "gl_ES",103"galician", "gl_ES",104"german", "de_DE",105"greek", "el_GR",106"hebrew", "iw_IL",107"hrvatski", "hr_HR",108"hungarian", "hu_HU",109"icelandic", "is_IS",110"italian", "it_IT",111"japanese", "ja_JP",112"korean", "ko_KR",113"lithuanian", "lt_LT",114"norwegian", "no_NO",115"nynorsk", "nn_NO",116"polish", "pl_PL",117"portuguese", "pt_PT",118"romanian", "ro_RO",119"russian", "ru_RU",120"slovak", "sk_SK",121"slovene", "sl_SI",122"slovenian", "sl_SI",123"spanish", "es_ES",124"swedish", "sv_SE",125"thai", "th_TH",126"turkish", "tr_TR",127#else128"big5", "zh_TW.Big5",129"chinese", "zh_CN",130"iso_8859_1", "en_US.ISO8859-1",131"iso_8859_15", "en_US.ISO8859-15",132"japanese", "ja_JP",133"no_NY", "no_NO@nynorsk",134"sr_SP", "sr_YU",135"tchinese", "zh_TW",136#endif137#ifdef MACOSX138"sr-Latn", "sr_CS", // Mappings as done by old Apple JRS code139"tk", "tk-Cyrl",140"tt-Latn", "tt-Cyrl",141"uz", "uz_UZ",142"uz-Arab", "uz_UZ",143"uz-Latn", "uz_UZ",144"zh-Hans", "zh_CN",145"zh-Hant", "zh_TW",146#endif147"", "",148};149150/*151* Linux/Solaris language string to ISO639 string mapping table.152*/153static char *language_names[] = {154"C", "en",155"POSIX", "en",156"cz", "cs",157"he", "iw",158#ifdef __linux__159"hs", "en", // used on Linux, not clear what it stands for160#endif161"id", "in",162"sh", "sr", // sh is deprecated163"su", "fi",164#ifdef __linux__165"ua", "en", // used on Linux, not clear what it stands for166"catalan", "ca",167"croatian", "hr",168"czech", "cs",169"danish", "da",170"dansk", "da",171"deutsch", "de",172"dutch", "nl",173"finnish", "fi",174"fran\xE7\x61is", "fr",175"french", "fr",176"german", "de",177"greek", "el",178"hebrew", "he",179"hrvatski", "hr",180"hungarian", "hu",181"icelandic", "is",182"italian", "it",183"japanese", "ja",184"norwegian", "no",185"polish", "pl",186"portuguese", "pt",187"romanian", "ro",188"russian", "ru",189"slovak", "sk",190"slovene", "sl",191"slovenian", "sl",192"spanish", "es",193"swedish", "sv",194"turkish", "tr",195#else196"chinese", "zh",197"japanese", "ja",198"korean", "ko",199#endif200"", "",201};202203/*204* Linux/Solaris script string to Java script name mapping table.205*/206static char *script_names[] = {207#ifdef __linux__208"cyrillic", "Cyrl",209"devanagari", "Deva",210"iqtelif", "Latn",211"latin", "Latn",212#endif213"", "",214};215216/*217* Linux/Solaris country string to ISO3166 string mapping table.218*/219static char *country_names[] = {220#ifdef __linux__221"RN", "US", // used on Linux, not clear what it stands for222#endif223"YU", "CS", // YU has been removed from ISO 3166224"", "",225};226227/*228* Linux/Solaris variant string to Java variant name mapping table.229*/230static char *variant_names[] = {231"nynorsk", "NY",232"", "",233};234235236