diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 16:03:12 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 16:03:12 +0000 |
commit | 77c4f1f19f14c1a6f2c136d0ccb242afbfd6b7c4 (patch) | |
tree | e2b0f6faabe98228fa8baa10d90b3b708eb93ff7 /chrome | |
parent | db9074beb04cd9129f7a1f58bd77c7596ba0f4d2 (diff) | |
download | chromium_src-77c4f1f19f14c1a6f2c136d0ccb242afbfd6b7c4.zip chromium_src-77c4f1f19f14c1a6f2c136d0ccb242afbfd6b7c4.tar.gz chromium_src-77c4f1f19f14c1a6f2c136d0ccb242afbfd6b7c4.tar.bz2 |
Make ChromeOS's options dialog wider for it and da.
- Add "pp_if", "pp_ifdef" support to xtb's <if> expr;
- Use that to specify a wider width for options dialog for ChromeOS on it and da;
BUG=none
TEST=Verify options dialog tab headers are not truncaated on ChromeOS for it and da.
Review URL: http://codereview.chromium.org/2655003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/app/resources/locale_settings_da.xtb | 7 | ||||
-rw-r--r-- | chrome/app/resources/locale_settings_it.xtb | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/chrome/app/resources/locale_settings_da.xtb b/chrome/app/resources/locale_settings_da.xtb index 0b85a8a..ae1ccda 100644 --- a/chrome/app/resources/locale_settings_da.xtb +++ b/chrome/app/resources/locale_settings_da.xtb @@ -5,7 +5,12 @@ <translation id="IDS_DEFAULT_ENCODING">ISO-8859-1</translation> <translation id="IDS_USES_UNIVERSAL_DETECTOR">false</translation> <translation id="IDS_SPELLCHECK_DICTIONARY">da</translation> -<translation id="IDS_OPTIONS_DIALOG_WIDTH_CHARS">98</translation> +<if expr="pp_if('chromeos')"> + <translation id="IDS_OPTIONS_DIALOG_WIDTH_CHARS">118</translation> +</if> +<if expr="not pp_if('chromeos')"> + <translation id="IDS_OPTIONS_DIALOG_WIDTH_CHARS">98</translation> +</if> <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">40</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">23</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> diff --git a/chrome/app/resources/locale_settings_it.xtb b/chrome/app/resources/locale_settings_it.xtb index 8bc0197..6ec00f6 100644 --- a/chrome/app/resources/locale_settings_it.xtb +++ b/chrome/app/resources/locale_settings_it.xtb @@ -5,7 +5,12 @@ <translation id="IDS_DEFAULT_ENCODING">ISO-8859-1</translation> <translation id="IDS_USES_UNIVERSAL_DETECTOR">false</translation> <translation id="IDS_SPELLCHECK_DICTIONARY">it</translation> -<translation id="IDS_OPTIONS_DIALOG_WIDTH_CHARS">98</translation> +<if expr="pp_if('chromeos')"> + <translation id="IDS_OPTIONS_DIALOG_WIDTH_CHARS">114</translation> +</if> +<if expr="not pp_if('chromeos')"> + <translation id="IDS_OPTIONS_DIALOG_WIDTH_CHARS">98</translation> +</if> <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">40</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> |