diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-21 06:43:11 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-21 06:43:11 +0000 |
commit | f0ed02aa9a3820f83e4837a1776134d5c73cc5e6 (patch) | |
tree | 231fe1e4b86ae0f744abe62464721d799ce53d86 /chrome/test/startup | |
parent | 675963ce21445012094c7b7f68ec4b9b58c1d0c3 (diff) | |
download | chromium_src-f0ed02aa9a3820f83e4837a1776134d5c73cc5e6.zip chromium_src-f0ed02aa9a3820f83e4837a1776134d5c73cc5e6.tar.gz chromium_src-f0ed02aa9a3820f83e4837a1776134d5c73cc5e6.tar.bz2 |
Remove Sazanami Gothic from IDS_FIXED_FONT_FAMILY and IDS_SANS_SERIF_FONT_FAMILY.
It turned out the values of these fields are used for the "Fonts and
Languages" dialog, so use of commas is not allowed.
On the other hand, IDS_WEB_FONT_FAMILY seems to be used for generating
HTML so use of commas is fine. For instance:
chrome/browser/dom_ui/chrome_url_data_manager.cc:
void ChromeURLDataManager::DataSource::SetFontAndTextDirection(
DictionaryValue* localized_strings) {
localized_strings->SetString(L"fontfamily",
l10n_util::GetString(IDS_WEB_FONT_FAMILY));
chrome/browser/dom_ui/history_ui.cc:
SetFontAndTextDirection(&localized_strings);
static const base::StringPiece history_html(
ResourceBundle::GetSharedInstance().GetRawDataResource(
IDR_HISTORY_HTML));
const std::string full_html = jstemplate_builder::GetI18nTemplateHtml(
history_html, &localized_strings);
BUG=30758
TEST=locally ran "LANGUAGE=ja chrome" and confirmed that specified fonts are shown in
the "Fonts and Languages" dialog, and Japanese pages are rendered with VL Gothic/PGothic.
Review URL: http://codereview.chromium.org/502088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/startup')
0 files changed, 0 insertions, 0 deletions