diff options
author | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 16:58:50 +0000 |
---|---|---|
committer | jshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 16:58:50 +0000 |
commit | 6b4583fef71394eb1f2fc57250e89b1c4db8bb4b (patch) | |
tree | 74f311638bbc67ab31b6a4468a02aed0615eaa1a | |
parent | f58b91ff62f64e679dc453825e8a2f89bcba2855 (diff) | |
download | chromium_src-6b4583fef71394eb1f2fc57250e89b1c4db8bb4b.zip chromium_src-6b4583fef71394eb1f2fc57250e89b1c4db8bb4b.tar.gz chromium_src-6b4583fef71394eb1f2fc57250e89b1c4db8bb4b.tar.bz2 |
Make the content browser in ChromeOS honor the DOM UI font setting.
At the moment, no font-family is specified. In that case, serif font is picked
by default by Chrome (exception being CJK for which sans-serif is picked).
Adding an attribute i18n-values for font-family will set up font-family
for the file. I'm not setting font-size because filebrowse.html uses em font-size
widely and the default value of 84% (set in locale_settings_cros.grd) will
disrupt the layout.
Change the DOM UI font for ChromeOS from 'Droid Sans' to 'Chrome Droid Sans'.
This may change again, but this matches the font used in the native UI (as
specified in gtkrc file) for now.
In addition, just as a 'sanitization', enclose font names (IDS_WEB_FONT_FAMILY)
with a space with a pair of single quotation marks.
BUG=chromiumos:6067 (http://crosbug.com/6067)
TEST=Build Chrome for ChromeOS and gmerge it to your build. Content browser does not use serif font any more. Instead, it uses 'Chrome Droid Sans'.
Review URL: http://codereview.chromium.org/3295010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58949 0039d316-1c4b-4281-b951-d872f2087c98
26 files changed, 32 insertions, 38 deletions
diff --git a/chrome/app/resources/locale_settings_cros.grd b/chrome/app/resources/locale_settings_cros.grd index ece9e9d..77d7b0f 100644 --- a/chrome/app/resources/locale_settings_cros.grd +++ b/chrome/app/resources/locale_settings_cros.grd @@ -112,13 +112,12 @@ </translations> <release seq="1" allow_pseudo="false"> <messages fallback_to_english="true"> - <!-- The font used in web-style native pages (e.g. History). --> + <!-- The font used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_FAMILY" use_name_for_id="true"> - Droid Sans,Droid Sans Fallback + Chrome Droid Sans,Droid Sans Fallback,sans-serif </message> - <!-- The relative font size in % used in web-style native pages - (e.g. History). --> + <!-- The relative font size in % used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_SIZE" use_name_for_id="true"> 84% </message> diff --git a/chrome/app/resources/locale_settings_linux.grd b/chrome/app/resources/locale_settings_linux.grd index da1a312..200e481 100644 --- a/chrome/app/resources/locale_settings_linux.grd +++ b/chrome/app/resources/locale_settings_linux.grd @@ -112,13 +112,12 @@ </translations> <release seq="1" allow_pseudo="false"> <messages fallback_to_english="true"> - <!-- The font used in web-style native pages (e.g. History). --> + <!-- The font used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_FAMILY" use_name_for_id="true"> - Arial + Arial, sans-serif </message> - <!-- The relative font size in % used in web-style native pages - (e.g. History). --> + <!-- The relative font size in % used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_SIZE" use_name_for_id="true"> 84% </message> diff --git a/chrome/app/resources/locale_settings_mac.grd b/chrome/app/resources/locale_settings_mac.grd index cbdcdb8..0ad226a 100644 --- a/chrome/app/resources/locale_settings_mac.grd +++ b/chrome/app/resources/locale_settings_mac.grd @@ -112,13 +112,12 @@ </translations> <release seq="1" allow_pseudo="false"> <messages fallback_to_english="true"> - <!-- The font used in web-style native pages (e.g. History). --> + <!-- The font used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_FAMILY" use_name_for_id="true"> - Helvetica + Helvetica, sans-serif </message> - <!-- The relative font size in % used in web-style native pages - (e.g. History). --> + <!-- The relative font size in % used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_SIZE" use_name_for_id="true"> 84% </message> diff --git a/chrome/app/resources/locale_settings_win.grd b/chrome/app/resources/locale_settings_win.grd index 492886f..a88a6b3 100644 --- a/chrome/app/resources/locale_settings_win.grd +++ b/chrome/app/resources/locale_settings_win.grd @@ -112,13 +112,12 @@ </translations> <release seq="1" allow_pseudo="false"> <messages fallback_to_english="true"> - <!-- The font used in web-style native pages (e.g. History). --> + <!-- The font used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_FAMILY" use_name_for_id="true"> - Arial + Arial, sans-serif </message> - <!-- The relative font size in % used in web-style native pages - (e.g. History). --> + <!-- The relative font size in % used in DOM UI (e.g. History). --> <message name="IDS_WEB_FONT_SIZE" use_name_for_id="true"> 84% </message> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_am.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_am.xtb index 9eb384a..8bef0c4 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_cros_am.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_am.xtb @@ -1,5 +1,5 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="am"> -<translation id="IDS_WEB_FONT_FAMILY">Droid Sans, Abyssinica SIL, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Chrome Droid Sans,Abyssinica SIL, sans-serif</translation> </translationbundle> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_ja.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_ja.xtb index 2117649..dcd7901 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_cros_ja.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_ja.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="ja"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Droid Sans, Droid Sans Fallback Japanese, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Chrome Droid Sans,Droid Sans Fallback Japanese, sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">IPAGothic</translation> <translation id="IDS_SERIF_FONT_FAMILY">IPAPMincho</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">IPAPGothic</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_ko.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_ko.xtb index e30bf9c..0ccbef2 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_cros_ko.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_ko.xtb @@ -2,7 +2,6 @@ <!DOCTYPE translationbundle> <translationbundle lang="ko"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Dooid Sans, Droid Sans Fallback, sans-serif</translation> <translation id="IDS_MINIMUM_FONT_SIZE">10</translation> <translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation> </translationbundle> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_th.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_th.xtb index a81438b..34a47d3a 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_cros_th.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_th.xtb @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="th"> -<translation id="IDS_WEB_FONT_FAMILY">Droid Sans, Droid Sans Thai, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Chrome Droid Sans,Droid Sans Thai,sans-serif</translation> <translation id="IDS_MINIMUM_FONT_SIZE">10</translation> <translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation> </translationbundle> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-CN.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-CN.xtb index 3f7d4ef..ebc2aab 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-CN.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-CN.xtb @@ -2,7 +2,6 @@ <!DOCTYPE translationbundle> <translationbundle lang="zh-CN"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Droid Sans, Droid Sans Fallback, sans-serif</translation> <translation id="IDS_MINIMUM_FONT_SIZE">12</translation> <translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">12</translation> </translationbundle> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-TW.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-TW.xtb index 4c8cfd3..422c1d4 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-TW.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_zh-TW.xtb @@ -1,7 +1,6 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="zh-TW"> -<translation id="IDS_WEB_FONT_FAMILY">Droid Sans, Droid Sans Fallback, sans-serif</translation> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> <translation id="IDS_MINIMUM_FONT_SIZE">12</translation> <translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">12</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_ja.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ja.xtb index b667e06..dfab18f 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_linux_ja.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ja.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="ja"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">VL PGothic, Sazanami Gothic, Kochi Gothic, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">VL PGothic,Sazanami Gothic,Kochi Gothic,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">VL Gothic</translation> <translation id="IDS_SERIF_FONT_FAMILY">Sazanami Mincho</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">VL PGothic</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_ko.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ko.xtb index b7406e0..f127c8b 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_linux_ko.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ko.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="ko"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">UnDotum, Baekmuk Gulim, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">NanumGothic,UnDotum,Baekmuk Gulim,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">UnDotum</translation> <translation id="IDS_SERIF_FONT_FAMILY">UnBatang</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">UnDotum</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_ml.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ml.xtb index 2635b3f..6096aa1 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_linux_ml.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ml.xtb @@ -1,5 +1,5 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="ml"> -<translation id="IDS_WEB_FONT_FAMILY">Arial,AnjaliOldLipi,Rachana,Kartika</translation> +<translation id="IDS_WEB_FONT_FAMILY">Arial,AnjaliOldLipi,Rachana,Kartika,sans-serif</translation> </translationbundle> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_th.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_th.xtb index dab60e1..06c0cd2 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_linux_th.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_th.xtb @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="th"> -<translation id="IDS_WEB_FONT_FAMILY">Norasi, Waree, Garuda, Loma, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Norasi,Waree,Garuda,Loma,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">TlwgMono</translation> <translation id="IDS_SERIF_FONT_FAMILY">Norasi</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">Norasi</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-CN.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-CN.xtb index f8dfe9e..5916773 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-CN.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-CN.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="zh-CN"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">AR PL UKai CN, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">AR PL UKai CN,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">AR PL UKai CN</translation> <translation id="IDS_SERIF_FONT_FAMILY">AR PL UMing CN</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">AR PL UKai CN</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-TW.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-TW.xtb index 493c36b..ca80901 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-TW.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_zh-TW.xtb @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="zh-TW"> -<translation id="IDS_WEB_FONT_FAMILY">AR PL UKai TW, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">AR PL UKai TW,sans-serif</translation> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> <translation id="IDS_MINIMUM_FONT_SIZE">12</translation> <translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">12</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb index 4af24aa..4f4fc0c 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ja.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="ja"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Helvetica, Hiragino Kaku Gothic Pro</translation> +<translation id="IDS_WEB_FONT_FAMILY">Helvetica,Hiragino Kaku Gothic Pro,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">Osaka-Mono</translation> <translation id="IDS_SERIF_FONT_FAMILY">Hiragino Mincho Pro</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">Hiragino Kaku Gothic Pro</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_mac_ko.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ko.xtb index 6d39679..0ba3567 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_mac_ko.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ko.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="ko"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Helvetica, AppleGothic</translation> +<translation id="IDS_WEB_FONT_FAMILY">Helvetica,AppleGothic,sans-serif</translation> <translation id="IDS_SERIF_FONT_FAMILY">AppleMyungjo</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">AppleGothic</translation> <translation id="IDS_MINIMUM_FONT_SIZE">10</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-CN.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-CN.xtb index eded25d..92464ec 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-CN.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-CN.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="zh-CN"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Helvetica, STHeiti</translation> +<translation id="IDS_WEB_FONT_FAMILY">Helvetica,STHeiti,sans-serif</translation> <translation id="IDS_SERIF_FONT_FAMILY">STSong</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">STHeiti</translation> <translation id="IDS_MINIMUM_FONT_SIZE">12</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-TW.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-TW.xtb index 2d0167b..a5d29f7 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-TW.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_mac_zh-TW.xtb @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="zh-TW"> -<translation id="IDS_WEB_FONT_FAMILY">Helvetica, LiHei Pro</translation> +<translation id="IDS_WEB_FONT_FAMILY">Helvetica,LiHei Pro,sans-serif</translation> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> <translation id="IDS_SERIF_FONT_FAMILY">LiSong Pro</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">LiHei Pro</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb index 6a36ab3..3329fa5 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_ja.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="ja"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Arial, Meiryo, MS PGothic, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Arial,Meiryo,MS PGothic,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">MS Gothic</translation> <translation id="IDS_SERIF_FONT_FAMILY">MS PMincho</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">MS PGothic</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb index 340ceab..b4a4199 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_ko.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="ko"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Arial, Malgun Gothic, Gulim, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Arial,Malgun Gothic,Gulim,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">Gulimche</translation> <translation id="IDS_SERIF_FONT_FAMILY">Batang</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">Gulim</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_th.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_th.xtb index dd40771..ad9877d 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_win_th.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_th.xtb @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="th"> -<translation id="IDS_WEB_FONT_FAMILY">Tahoma</translation> +<translation id="IDS_WEB_FONT_FAMILY">Tahoma,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">Tahoma</translation> <translation id="IDS_SERIF_FONT_FAMILY">Tahoma</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">Tahoma</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb index 1ea8587..2d0f2c4 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-CN.xtb @@ -2,7 +2,7 @@ <!DOCTYPE translationbundle> <translationbundle lang="zh-CN"> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> -<translation id="IDS_WEB_FONT_FAMILY">Arial, Microsoft Yahei, Simsun, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Arial,Microsoft Yahei,Simsun,sans-serif</translation> <translation id="IDS_FIXED_FONT_FAMILY">NSimsun</translation> <translation id="IDS_SERIF_FONT_FAMILY">Simsun</translation> <translation id="IDS_SANS_SERIF_FONT_FAMILY">Simsun</translation> diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-TW.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-TW.xtb index edb91f1..29c2bdd 100644 --- a/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-TW.xtb +++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_zh-TW.xtb @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE translationbundle> <translationbundle lang="zh-TW"> -<translation id="IDS_WEB_FONT_FAMILY">Arial, Microsoft Jhenghei, PMingLiu, sans-serif</translation> +<translation id="IDS_WEB_FONT_FAMILY">Arial,Microsoft Jhenghei,PMingLiu,sans-serif</translation> <translation id="IDS_STANDARD_FONT_IS_SERIF">false</translation> <translation id="IDS_MINIMUM_FONT_SIZE">12</translation> <translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">12</translation> diff --git a/chrome/browser/resources/filebrowse.html b/chrome/browser/resources/filebrowse.html index b2c0f3c..4588943 100644 --- a/chrome/browser/resources/filebrowse.html +++ b/chrome/browser/resources/filebrowse.html @@ -1582,7 +1582,8 @@ function createNewList(title, results, main, path) { } </script> -<body onload='load();' onclick='clearMenus()' onselectstart='return false'> +<body onload='load();' onclick='clearMenus()' onselectstart='return false' + i18n-values=".style.fontFamily:fontfamily"> <div id='header' class=''> <div id='back' class='backbutton controlbutton' onclick='goBackInList();return false;'> <img src="shared/images/filebrowse_back.png" width='100%' height='100%'> |