diff options
author | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 17:09:41 +0000 |
---|---|---|
committer | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 17:09:41 +0000 |
commit | dd2c90835a80dc956af2df39e233aef9b1057d90 (patch) | |
tree | 78aa4f5d592c724e8d0d99188e2bbcdea7435cb3 /chrome/app/resources/locale_settings_nb.xtb | |
parent | 95cf4512a286734c545171758ce5c14cd040a4d6 (diff) | |
download | chromium_src-dd2c90835a80dc956af2df39e233aef9b1057d90.zip chromium_src-dd2c90835a80dc956af2df39e233aef9b1057d90.tar.gz chromium_src-dd2c90835a80dc956af2df39e233aef9b1057d90.tar.bz2 |
Make the font scale and the font family to use for UI 'OS-dependent' (Win XP vs Win Vista/ Win 7).
In r13773, the localizable font size/family override was added to work around the tiny
font issue for some Indian languages. Initially, I thought the 'tiny UI font' issue was completely taken care of on Vista/Win 7 (it's resolved for Malayalam) and added a check for that.
It turned out that Indian fonts on Vista and Windows 7 were updated, but the issue has not been resolved. As a result, he scale and the fonts for Windows XP do not work on Vista/Win 7 and we need to use different values for Vista/Win 7.
Note that what this CL does (having separate resource entries in a single reosource bundle for Win XP and Vista/Win 7 and picking one at run-time) is a temporary work-around for the branch and for the trunk, we need to have a better way of handling platform-dependent resources. It's not just for different flavors of Windows but also for taking care of differences between Win, Mac and Linux.
BUG=7319
TEST=On Vista/Win7/Win XP, run Chrome with '--lang=XX' where XX is hi, mr, kn, gu, te, ta, bn, ml (and or on Vista/Win 7) and make sure that UI font size looks ok and there's no truncated strings/dialog box.
Review URL: http://codereview.chromium.org/92135
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/resources/locale_settings_nb.xtb')
-rw-r--r-- | chrome/app/resources/locale_settings_nb.xtb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/app/resources/locale_settings_nb.xtb b/chrome/app/resources/locale_settings_nb.xtb index 2111ff5..44e21d5 100644 --- a/chrome/app/resources/locale_settings_nb.xtb +++ b/chrome/app/resources/locale_settings_nb.xtb @@ -3,7 +3,9 @@ <translationbundle lang="no"> <translation id="IDS_WEB_FONT_FAMILY">Arial</translation> <translation id="IDS_WEB_FONT_SIZE">84%</translation> -<translation id="IDS_UI_FONT_FAMILY">default</translation> +<translation id="IDS_UI_FONT_FAMILY_XP">default</translation> +<translation id="IDS_UI_FONT_FAMILY">default</translation> +<translation id="IDS_UI_FONT_SIZE_SCALER_XP">100</translation> <translation id="IDS_UI_FONT_SIZE_SCALER">100</translation> <translation id="IDS_ACCEPT_LANGUAGES">nb-NO,nb,no,nn,en-US,en</translation> <translation id="IDS_DEFAULT_ENCODING">ISO-8859-1</translation> |