summaryrefslogtreecommitdiffstats
path: root/app/l10n_util_mac.h
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 16:25:04 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 16:25:04 +0000
commit9986ee16343028edb452fe235ac6a8fca5ee12f5 (patch)
tree8f173eb25a6e7b8d10370e38e8dd60ea5d16da94 /app/l10n_util_mac.h
parent877161b02f6703bb5694a395de9e8cd4e8a93a3e (diff)
downloadchromium_src-9986ee16343028edb452fe235ac6a8fca5ee12f5.zip
chromium_src-9986ee16343028edb452fe235ac6a8fca5ee12f5.tar.gz
chromium_src-9986ee16343028edb452fe235ac6a8fca5ee12f5.tar.bz2
Mac language/locale cleanup
- Effectively revert revision 28193 (http://codereview.chromium.org/258037), this makes Mac match the other platform for what at it's core is used for the chrome concept of locale. - For the ApplicationLanguage, the browser will end up with what Cocoa picks (same as before) - All other process types will honor the language they got on the command line when starting up. - When asked the apps language, have the same side effect as Windows and Linux has of pushing the language through to ICU also (so dates format right, etc.) - During browser startup, if someone passed a language, bail because Mac can't support that. TEST=The tips on the NTP and the dates on the history page are in the same language at the UI. BUG=26856 BUG=22727 Review URL: http://codereview.chromium.org/399086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/l10n_util_mac.h')
-rw-r--r--app/l10n_util_mac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/l10n_util_mac.h b/app/l10n_util_mac.h
index 87ccb05..995d191 100644
--- a/app/l10n_util_mac.h
+++ b/app/l10n_util_mac.h
@@ -63,6 +63,10 @@ NSString* GetNSStringFWithFixup(int message_id,
const string16& c,
const string16& d);
+// Support the override of the locale with the value from Cocoa.
+void OverrideLocaleWithCocoaLocale();
+const std::string& GetLocaleOverride();
+
} // namespace l10n_util
#endif // APP_L10N_UTIL_MAC_H_