| Index: ui/base/l10n/l10n_util.h
|
| diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h
|
| index 5440b0d18a49358cdeda45dd99cf43df424037a2..c98add4bb982cbec5d9e01fde88f39db2300e115 100644
|
| --- a/ui/base/l10n/l10n_util.h
|
| +++ b/ui/base/l10n/l10n_util.h
|
| @@ -25,6 +25,9 @@ namespace l10n_util {
|
| // std::string as an argument.
|
| UI_BASE_EXPORT std::string GetCanonicalLocale(const std::string& locale);
|
|
|
| +// Takes normalized locale as |locale|. Returns language part (before '-').
|
| +UI_BASE_EXPORT std::string GetLanguage(const std::string& locale);
|
| +
|
| // This method translates a generic locale name to one of the locally defined
|
| // ones. This method returns true if it succeeds.
|
| UI_BASE_EXPORT bool CheckAndResolveLocale(const std::string& locale,
|
|
|