summaryrefslogtreecommitdiffstats
path: root/app/l10n_util_win.cc
Commit message (Collapse)AuthorAgeFilesLines
* Enable Amharic (am) on Windows XP only if the font (Abyssinica SIL) is present.jshin@chromium.org2010-04-201-3/+24
| | | | | | | | | | BUG=36752 TEST=On Windows XP, try run Chrome with '--lang=am' with and without 'Abyssinica SIL font installed. Without it, it should fall back to English UI. With it, it should be in Amharic UI. 'Abyssinica SIL' can be downloaded at http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=SILFontList Review URL: http://codereview.chromium.org/1575037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45047 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Oriya from the list of UI languages for now because we're not getting ↵jshin@chromium.org2010-03-251-3/+2
| | | | | | | | | | | | Oriya translation updated any more. BUG=37562 TEST=On Windows, 'chrome --lang=or' will bring up English Chrome. Review URL: http://codereview.chromium.org/1144001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42655 0039d316-1c4b-4281-b951-d872f2087c98
* Move RTL related functions from app/l10n_util to base/i18n/rtlben@chromium.org2010-03-201-4/+4
| | | | | | | | | | TBR=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/1073005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42182 0039d316-1c4b-4281-b951-d872f2087c98
* 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