summaryrefslogtreecommitdiffstats
path: root/chrome/app/resources/locale_settings_or.xtb
diff options
context:
space:
mode:
authorjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 17:09:41 +0000
committerjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 17:09:41 +0000
commitdd2c90835a80dc956af2df39e233aef9b1057d90 (patch)
tree78aa4f5d592c724e8d0d99188e2bbcdea7435cb3 /chrome/app/resources/locale_settings_or.xtb
parent95cf4512a286734c545171758ce5c14cd040a4d6 (diff)
downloadchromium_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_or.xtb')
-rw-r--r--chrome/app/resources/locale_settings_or.xtb8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/app/resources/locale_settings_or.xtb b/chrome/app/resources/locale_settings_or.xtb
index 55c0ad4..222cf30 100644
--- a/chrome/app/resources/locale_settings_or.xtb
+++ b/chrome/app/resources/locale_settings_or.xtb
@@ -3,8 +3,10 @@
<translationbundle lang="or">
<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_SIZE_SCALER">100</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">120</translation>
<translation id="IDS_ACCEPT_LANGUAGES">or-IN,or,en-US,en</translation>
<translation id="IDS_DEFAULT_ENCODING">ISO-8859-1</translation>
<translation id="IDS_STANDARD_FONT_IS_SERIF">true</translation>
@@ -20,7 +22,7 @@
<translation id="IDS_USES_UNIVERSAL_DETECTOR">false</translation>
<translation id="IDS_SPELLCHECK_DICTIONARY">en-US</translation>
<translation id="IDS_OPTIONS_DIALOG_WIDTH_CHARS">98</translation>
-<translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation>
+<translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">34</translation>
<translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation>
<translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation>
<translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation>