summaryrefslogtreecommitdiffstats
path: root/app/l10n_util_win.cc
Commit message (Collapse)AuthorAgeFilesLines
* Block Amharic on Windows XP for now. Win XP does not come with Amharic ↵jshin@chromium.org2009-11-091-3/+4
| | | | | | | | | | | | fonts. Even if a user install fonts supporting Amharic, Chrome's UI (including Omnibox) will not use it. BUG=NONE TEST=On Win XP, start chrome with '--lang=am' and Chrome's UI language matches your OS locale. Review URL: http://codereview.chromium.org/377020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31496 0039d316-1c4b-4281-b951-d872f2087c98
* Replace std:;wstring with std::string and string16 in locale-name related APIs.jshin@chromium.org2009-06-241-1/+1
| | | | | | | | | | | | | | | 1. Change the locale param to be std::string because they're always ASCII and change call-sites accordingly. 2. Add GetStringFUTF16 to l10n_util. On Windows, they're inline helpers calling the correspondingGetStringF returning wstring while on Mac/Linux, they just return the result of |string16 GetStringF|without converting to wstring. This is part 1 of the fix for issue 8647. Some of newly introduced conversions are temporary and will be removed later (e.g. ASCIIToWide applied to the result of GetApplicationLocale in a few places). Note : this CL will be landed after http://codereview.chromium.org/147038 is landed. BUG=8647 (http://crbug.com/8647) TEST=Pass l10n_util_unittest and other unit tests Review URL: http://codereview.chromium.org/126223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19183 0039d316-1c4b-4281-b951-d872f2087c98
* When the resource bundle is not available, the UI font family and the UI ↵jshin@chromium.org2009-06-081-1/+7
| | | | | | | | | | | | | | | font size should follow the OS settings. Add a guard against cases when the resource bundle is not available, which should not happen in the first place. BUG=http://crbug.com/12309 Review URL: http://codereview.chromium.org/113916 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17875 0039d316-1c4b-4281-b951-d872f2087c98
* Add locale_settings file to app_strings target.ben@chromium.org2009-05-201-1/+1
| | | | | | | | http://crbug.com/11387 Review URL: http://codereview.chromium.org/112038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16442 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to app/ben@chromium.org2009-05-051-0/+120
http://crbug.com/11387 Review URL: http://codereview.chromium.org/109043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15352 0039d316-1c4b-4281-b951-d872f2087c98