You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Update ICU to 75.1
This commit is contained in:
25
thirdparty/icu4c/common/unicode/uloc.h
vendored
25
thirdparty/icu4c/common/unicode/uloc.h
vendored
@@ -399,6 +399,9 @@ uloc_setDefault(const char* localeID,
|
||||
/**
|
||||
* Gets the language code for the specified locale.
|
||||
*
|
||||
* This function may return with a failure error code for certain kinds of inputs
|
||||
* but does not fully check for well-formed locale IDs / language tags.
|
||||
*
|
||||
* @param localeID the locale to get the ISO language code with
|
||||
* @param language the language code for localeID
|
||||
* @param languageCapacity the size of the language buffer to store the
|
||||
@@ -417,6 +420,9 @@ uloc_getLanguage(const char* localeID,
|
||||
/**
|
||||
* Gets the script code for the specified locale.
|
||||
*
|
||||
* This function may return with a failure error code for certain kinds of inputs
|
||||
* but does not fully check for well-formed locale IDs / language tags.
|
||||
*
|
||||
* @param localeID the locale to get the ISO language code with
|
||||
* @param script the language code for localeID
|
||||
* @param scriptCapacity the size of the language buffer to store the
|
||||
@@ -435,6 +441,9 @@ uloc_getScript(const char* localeID,
|
||||
/**
|
||||
* Gets the country code for the specified locale.
|
||||
*
|
||||
* This function may return with a failure error code for certain kinds of inputs
|
||||
* but does not fully check for well-formed locale IDs / language tags.
|
||||
*
|
||||
* @param localeID the locale to get the country code with
|
||||
* @param country the country code for localeID
|
||||
* @param countryCapacity the size of the country buffer to store the
|
||||
@@ -453,6 +462,9 @@ uloc_getCountry(const char* localeID,
|
||||
/**
|
||||
* Gets the variant code for the specified locale.
|
||||
*
|
||||
* This function may return with a failure error code for certain kinds of inputs
|
||||
* but does not fully check for well-formed locale IDs / language tags.
|
||||
*
|
||||
* @param localeID the locale to get the variant code with
|
||||
* @param variant the variant code for localeID
|
||||
* @param variantCapacity the size of the variant buffer to store the
|
||||
@@ -471,6 +483,10 @@ uloc_getVariant(const char* localeID,
|
||||
|
||||
/**
|
||||
* Gets the full name for the specified locale.
|
||||
*
|
||||
* This function may return with a failure error code for certain kinds of inputs
|
||||
* but does not fully check for well-formed locale IDs / language tags.
|
||||
*
|
||||
* Note: This has the effect of 'canonicalizing' the ICU locale ID to
|
||||
* a certain extent. Upper and lower case are set as needed.
|
||||
* It does NOT map aliased names in any way.
|
||||
@@ -1158,19 +1174,20 @@ uloc_getLocaleForLCID(uint32_t hostID, char *locale, int32_t localeCapacity,
|
||||
*
|
||||
* If localeID is already in the maximal form, or there is no data available
|
||||
* for maximization, it will be copied to the output buffer. For example,
|
||||
* "und-Zzzz" cannot be maximized, since there is no reasonable maximization.
|
||||
* "sh" cannot be maximized, since there is no reasonable maximization.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* "und_Zzzz" maximizes to "en_Latn_US"
|
||||
*
|
||||
* "en" maximizes to "en_Latn_US"
|
||||
*
|
||||
* "de" maximizes to "de_Latn_US"
|
||||
* "de" maximizes to "de_Latn_DE"
|
||||
*
|
||||
* "sr" maximizes to "sr_Cyrl_RS"
|
||||
*
|
||||
* "sh" maximizes to "sr_Latn_RS" (Note this will not reverse.)
|
||||
* "zh_Hani" maximizes to "zh_Hani_CN"
|
||||
*
|
||||
* "zh_Hani" maximizes to "zh_Hans_CN" (Note this will not reverse.)
|
||||
*
|
||||
* @param localeID The locale to maximize
|
||||
* @param maximizedLocaleID The maximized locale
|
||||
|
||||
Reference in New Issue
Block a user