diff options
author | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 18:59:04 +0000 |
---|---|---|
committer | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 18:59:04 +0000 |
commit | 2a8ae3d8d34d9848688fa13dcf14e3c0325614a1 (patch) | |
tree | a44e48e0dc373471ca591d304f4ed4b8869f5c59 | |
parent | 27ac03eefb96c503b417a1a3e545eb3499b1f9e5 (diff) | |
download | chromium_src-2a8ae3d8d34d9848688fa13dcf14e3c0325614a1.zip chromium_src-2a8ae3d8d34d9848688fa13dcf14e3c0325614a1.tar.gz chromium_src-2a8ae3d8d34d9848688fa13dcf14e3c0325614a1.tar.bz2 |
Set the initial sizes of several dialogs based on font information.
BUG=19622
TEST=none
Review URL: http://codereview.chromium.org/180031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25214 0039d316-1c4b-4281-b951-d872f2087c98
57 files changed, 325 insertions, 43 deletions
diff --git a/chrome/app/resources/locale_settings.grd b/chrome/app/resources/locale_settings.grd index 1ae2578..9ad10fa 100644 --- a/chrome/app/resources/locale_settings.grd +++ b/chrome/app/resources/locale_settings.grd @@ -337,6 +337,29 @@ 80 </message> + <!-- The width and height of the URL picker dialog box in characters and lines --> + <!-- (See above). --> + <message name="IDS_URLPICKER_DIALOG_WIDTH_CHARS" use_name_for_id="true"> + 80 + </message> + <message name="IDS_URLPICKER_DIALOG_HEIGHT_LINES" use_name_for_id="true"> + 30 + </message> + + <!-- The width of the page column of the URL picker dialog box, in characters. --> + <message name="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS" use_name_for_id="true"> + 33 + </message> + + <!-- The width and height of the Passwords and Exceptions dialog box in --> + <!-- characters and lines (See above). --> + <message name="IDS_PASSWORDS_DIALOG_WIDTH_CHARS" use_name_for_id="true"> + 106 + </message> + <message name="IDS_PASSWORDS_DIALOG_HEIGHT_LINES" use_name_for_id="true"> + 27 + </message> + <!-- The width and height of the Bug Reporting dialog box in characters and lines --> <!-- (See above). --> <message name="IDS_BUGREPORT_DIALOG_WIDTH_CHARS" use_name_for_id="true"> diff --git a/chrome/app/resources/locale_settings_ar.xtb b/chrome/app/resources/locale_settings_ar.xtb index f8b7da0..3b8bb5f 100644 --- a/chrome/app/resources/locale_settings_ar.xtb +++ b/chrome/app/resources/locale_settings_ar.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_bg.xtb b/chrome/app/resources/locale_settings_bg.xtb index 57ab0f5..bb1c8db 100644 --- a/chrome/app/resources/locale_settings_bg.xtb +++ b/chrome/app/resources/locale_settings_bg.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">24</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">81</translation> diff --git a/chrome/app/resources/locale_settings_bn.xtb b/chrome/app/resources/locale_settings_bn.xtb index 4c22a27..2afa4c8 100644 --- a/chrome/app/resources/locale_settings_bn.xtb +++ b/chrome/app/resources/locale_settings_bn.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">31</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_ca.xtb b/chrome/app/resources/locale_settings_ca.xtb index d5cf0f7..d3d304c 100644 --- a/chrome/app/resources/locale_settings_ca.xtb +++ b/chrome/app/resources/locale_settings_ca.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">73</translation> diff --git a/chrome/app/resources/locale_settings_cs.xtb b/chrome/app/resources/locale_settings_cs.xtb index 5fb9340..ed0fbae 100644 --- a/chrome/app/resources/locale_settings_cs.xtb +++ b/chrome/app/resources/locale_settings_cs.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_da.xtb b/chrome/app/resources/locale_settings_da.xtb index e2914b7..c3f056a 100644 --- a/chrome/app/resources/locale_settings_da.xtb +++ b/chrome/app/resources/locale_settings_da.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">25</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_de.xtb b/chrome/app/resources/locale_settings_de.xtb index 6858aee..9f0a08a 100644 --- a/chrome/app/resources/locale_settings_de.xtb +++ b/chrome/app/resources/locale_settings_de.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">18</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">71</translation> diff --git a/chrome/app/resources/locale_settings_el.xtb b/chrome/app/resources/locale_settings_el.xtb index 04e16c8..0bc8ccb 100644 --- a/chrome/app/resources/locale_settings_el.xtb +++ b/chrome/app/resources/locale_settings_el.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">37</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">20</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">84</translation> diff --git a/chrome/app/resources/locale_settings_en-GB.xtb b/chrome/app/resources/locale_settings_en-GB.xtb index 99b7840..f233685 100644 --- a/chrome/app/resources/locale_settings_en-GB.xtb +++ b/chrome/app/resources/locale_settings_en-GB.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">23</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">63</translation> diff --git a/chrome/app/resources/locale_settings_es-419.xtb b/chrome/app/resources/locale_settings_es-419.xtb index 375a2fe..e5f4633 100644 --- a/chrome/app/resources/locale_settings_es-419.xtb +++ b/chrome/app/resources/locale_settings_es-419.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">24</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_es.xtb b/chrome/app/resources/locale_settings_es.xtb index 18bf319..c58228a 100644 --- a/chrome/app/resources/locale_settings_es.xtb +++ b/chrome/app/resources/locale_settings_es.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">24</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_et.xtb b/chrome/app/resources/locale_settings_et.xtb index bd31a41..7551597 100644 --- a/chrome/app/resources/locale_settings_et.xtb +++ b/chrome/app/resources/locale_settings_et.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">70</translation> diff --git a/chrome/app/resources/locale_settings_fi.xtb b/chrome/app/resources/locale_settings_fi.xtb index a9fa04e..ff528d9 100644 --- a/chrome/app/resources/locale_settings_fi.xtb +++ b/chrome/app/resources/locale_settings_fi.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">60</translation> diff --git a/chrome/app/resources/locale_settings_fil.xtb b/chrome/app/resources/locale_settings_fil.xtb index 1f1d42e..762ccf5 100644 --- a/chrome/app/resources/locale_settings_fil.xtb +++ b/chrome/app/resources/locale_settings_fil.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">76</translation> diff --git a/chrome/app/resources/locale_settings_fr.xtb b/chrome/app/resources/locale_settings_fr.xtb index 6c9b5da..0931dfd 100644 --- a/chrome/app/resources/locale_settings_fr.xtb +++ b/chrome/app/resources/locale_settings_fr.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">24</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">74</translation> diff --git a/chrome/app/resources/locale_settings_gu.xtb b/chrome/app/resources/locale_settings_gu.xtb index 8e5cf61..99260d2 100644 --- a/chrome/app/resources/locale_settings_gu.xtb +++ b/chrome/app/resources/locale_settings_gu.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_he.xtb b/chrome/app/resources/locale_settings_he.xtb index af3de39..33814d9 100644 --- a/chrome/app/resources/locale_settings_he.xtb +++ b/chrome/app/resources/locale_settings_he.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">25</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_hi.xtb b/chrome/app/resources/locale_settings_hi.xtb index 88e6736..eedd369 100644 --- a/chrome/app/resources/locale_settings_hi.xtb +++ b/chrome/app/resources/locale_settings_hi.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">34</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_hr.xtb b/chrome/app/resources/locale_settings_hr.xtb index b25ec84..b75ba67 100644 --- a/chrome/app/resources/locale_settings_hr.xtb +++ b/chrome/app/resources/locale_settings_hr.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">68</translation> diff --git a/chrome/app/resources/locale_settings_hu.xtb b/chrome/app/resources/locale_settings_hu.xtb index 91dda8a..6ca3b49 100644 --- a/chrome/app/resources/locale_settings_hu.xtb +++ b/chrome/app/resources/locale_settings_hu.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">71</translation> diff --git a/chrome/app/resources/locale_settings_id.xtb b/chrome/app/resources/locale_settings_id.xtb index 841b1c1..61cf85a 100644 --- a/chrome/app/resources/locale_settings_id.xtb +++ b/chrome/app/resources/locale_settings_id.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">63</translation> diff --git a/chrome/app/resources/locale_settings_it.xtb b/chrome/app/resources/locale_settings_it.xtb index 373fe60..d347c9c 100644 --- a/chrome/app/resources/locale_settings_it.xtb +++ b/chrome/app/resources/locale_settings_it.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">70</translation> diff --git a/chrome/app/resources/locale_settings_ja.xtb b/chrome/app/resources/locale_settings_ja.xtb index 5b0a087..a251fc3 100644 --- a/chrome/app/resources/locale_settings_ja.xtb +++ b/chrome/app/resources/locale_settings_ja.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">39</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">25</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">68</translation> diff --git a/chrome/app/resources/locale_settings_kn.xtb b/chrome/app/resources/locale_settings_kn.xtb index 8cbbe16..4d8c376 100644 --- a/chrome/app/resources/locale_settings_kn.xtb +++ b/chrome/app/resources/locale_settings_kn.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">34</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">72</translation> diff --git a/chrome/app/resources/locale_settings_ko.xtb b/chrome/app/resources/locale_settings_ko.xtb index e815438..a65fe24 100644 --- a/chrome/app/resources/locale_settings_ko.xtb +++ b/chrome/app/resources/locale_settings_ko.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">39</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">74</translation> diff --git a/chrome/app/resources/locale_settings_lt.xtb b/chrome/app/resources/locale_settings_lt.xtb index 0527157..07da56b 100644 --- a/chrome/app/resources/locale_settings_lt.xtb +++ b/chrome/app/resources/locale_settings_lt.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">68</translation> diff --git a/chrome/app/resources/locale_settings_lv.xtb b/chrome/app/resources/locale_settings_lv.xtb index fcb6874..778205e 100644 --- a/chrome/app/resources/locale_settings_lv.xtb +++ b/chrome/app/resources/locale_settings_lv.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">62</translation> diff --git a/chrome/app/resources/locale_settings_ml.xtb b/chrome/app/resources/locale_settings_ml.xtb index b019452..e9ebad9 100644 --- a/chrome/app/resources/locale_settings_ml.xtb +++ b/chrome/app/resources/locale_settings_ml.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">33</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">87</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">82</translation> diff --git a/chrome/app/resources/locale_settings_mr.xtb b/chrome/app/resources/locale_settings_mr.xtb index 9fce6aa..a0f0a6b2 100644 --- a/chrome/app/resources/locale_settings_mr.xtb +++ b/chrome/app/resources/locale_settings_mr.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">34</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_nb.xtb b/chrome/app/resources/locale_settings_nb.xtb index 7685e27..448c0b1 100644 --- a/chrome/app/resources/locale_settings_nb.xtb +++ b/chrome/app/resources/locale_settings_nb.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_nl.xtb b/chrome/app/resources/locale_settings_nl.xtb index f05bc6b..a15e983 100644 --- a/chrome/app/resources/locale_settings_nl.xtb +++ b/chrome/app/resources/locale_settings_nl.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">30</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">67</translation> diff --git a/chrome/app/resources/locale_settings_or.xtb b/chrome/app/resources/locale_settings_or.xtb index acfc4cb7..04c3a05 100644 --- a/chrome/app/resources/locale_settings_or.xtb +++ b/chrome/app/resources/locale_settings_or.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">34</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_pl.xtb b/chrome/app/resources/locale_settings_pl.xtb index 8019d4d..f5577c6 100644 --- a/chrome/app/resources/locale_settings_pl.xtb +++ b/chrome/app/resources/locale_settings_pl.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">60</translation> diff --git a/chrome/app/resources/locale_settings_pt-BR.xtb b/chrome/app/resources/locale_settings_pt-BR.xtb index cc09945..d07264a 100644 --- a/chrome/app/resources/locale_settings_pt-BR.xtb +++ b/chrome/app/resources/locale_settings_pt-BR.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">30</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_pt-PT.xtb b/chrome/app/resources/locale_settings_pt-PT.xtb index ccb6921..6bbbf6f 100644 --- a/chrome/app/resources/locale_settings_pt-PT.xtb +++ b/chrome/app/resources/locale_settings_pt-PT.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">30</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">64</translation> diff --git a/chrome/app/resources/locale_settings_ro.xtb b/chrome/app/resources/locale_settings_ro.xtb index d52c188..d95e4e1 100644 --- a/chrome/app/resources/locale_settings_ro.xtb +++ b/chrome/app/resources/locale_settings_ro.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">37</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">73</translation> diff --git a/chrome/app/resources/locale_settings_ru.xtb b/chrome/app/resources/locale_settings_ru.xtb index 0fb1cdb..0de49b5 100644 --- a/chrome/app/resources/locale_settings_ru.xtb +++ b/chrome/app/resources/locale_settings_ru.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_sk.xtb b/chrome/app/resources/locale_settings_sk.xtb index dd37d93..2ff398c 100644 --- a/chrome/app/resources/locale_settings_sk.xtb +++ b/chrome/app/resources/locale_settings_sk.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_sl.xtb b/chrome/app/resources/locale_settings_sl.xtb index a783ef8..4e443d5 100644 --- a/chrome/app/resources/locale_settings_sl.xtb +++ b/chrome/app/resources/locale_settings_sl.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_sr.xtb b/chrome/app/resources/locale_settings_sr.xtb index 79b16b8..04ac646 100644 --- a/chrome/app/resources/locale_settings_sr.xtb +++ b/chrome/app/resources/locale_settings_sr.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">72</translation> diff --git a/chrome/app/resources/locale_settings_sv.xtb b/chrome/app/resources/locale_settings_sv.xtb index abecadc..756ccfb 100644 --- a/chrome/app/resources/locale_settings_sv.xtb +++ b/chrome/app/resources/locale_settings_sv.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">63</translation> diff --git a/chrome/app/resources/locale_settings_ta.xtb b/chrome/app/resources/locale_settings_ta.xtb index c785ec1..9f2f312 100644 --- a/chrome/app/resources/locale_settings_ta.xtb +++ b/chrome/app/resources/locale_settings_ta.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">39</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">96</translation> diff --git a/chrome/app/resources/locale_settings_te.xtb b/chrome/app/resources/locale_settings_te.xtb index 68f01cb4..d9dc099 100644 --- a/chrome/app/resources/locale_settings_te.xtb +++ b/chrome/app/resources/locale_settings_te.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">32</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">75</translation> diff --git a/chrome/app/resources/locale_settings_th.xtb b/chrome/app/resources/locale_settings_th.xtb index 670a114..b821845 100644 --- a/chrome/app/resources/locale_settings_th.xtb +++ b/chrome/app/resources/locale_settings_th.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">60</translation> diff --git a/chrome/app/resources/locale_settings_tr.xtb b/chrome/app/resources/locale_settings_tr.xtb index 50b3746..8ed63ee 100644 --- a/chrome/app/resources/locale_settings_tr.xtb +++ b/chrome/app/resources/locale_settings_tr.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">36</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">65</translation> diff --git a/chrome/app/resources/locale_settings_uk.xtb b/chrome/app/resources/locale_settings_uk.xtb index 21336fe..94940cf 100644 --- a/chrome/app/resources/locale_settings_uk.xtb +++ b/chrome/app/resources/locale_settings_uk.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">38</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation> diff --git a/chrome/app/resources/locale_settings_vi.xtb b/chrome/app/resources/locale_settings_vi.xtb index 42e5207..83f9f51 100644 --- a/chrome/app/resources/locale_settings_vi.xtb +++ b/chrome/app/resources/locale_settings_vi.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">37</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">67</translation> diff --git a/chrome/app/resources/locale_settings_zh-CN.xtb b/chrome/app/resources/locale_settings_zh-CN.xtb index d630c3b..0fa2079 100644 --- a/chrome/app/resources/locale_settings_zh-CN.xtb +++ b/chrome/app/resources/locale_settings_zh-CN.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">39</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">60</translation> diff --git a/chrome/app/resources/locale_settings_zh-TW.xtb b/chrome/app/resources/locale_settings_zh-TW.xtb index a2c04f5..a7c841fc 100644 --- a/chrome/app/resources/locale_settings_zh-TW.xtb +++ b/chrome/app/resources/locale_settings_zh-TW.xtb @@ -21,6 +21,11 @@ <translation id="IDS_OPTIONS_DIALOG_HEIGHT_LINES">39</translation> <translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">25</translation> <translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation> +<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation> +<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation> +<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation> +<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation> <translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation> <translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation> <translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">67</translation> diff --git a/chrome/browser/gtk/bookmark_manager_gtk.cc b/chrome/browser/gtk/bookmark_manager_gtk.cc index f38512c..fe5d749 100644 --- a/chrome/browser/gtk/bookmark_manager_gtk.cc +++ b/chrome/browser/gtk/bookmark_manager_gtk.cc @@ -575,6 +575,7 @@ void BookmarkManagerGtk::SetInitialWindowSize() { // Otherwise, just set a default size (GTK will override this if it's not // large enough to hold the window's contents). + gtk_widget_realize(window_); int width = 1, height = 1; gtk_util::GetWidgetSizeFromResources( window_, diff --git a/chrome/browser/gtk/options/passwords_exceptions_window_gtk.cc b/chrome/browser/gtk/options/passwords_exceptions_window_gtk.cc index d163a4f..811ceaa 100644 --- a/chrome/browser/gtk/options/passwords_exceptions_window_gtk.cc +++ b/chrome/browser/gtk/options/passwords_exceptions_window_gtk.cc @@ -16,14 +16,7 @@ #include "chrome/common/gtk_util.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" - -namespace { - -// Initial width of the passwords and exceptions window. -const int kPasswordsExceptionsWindowInitialWidth = 565; -const int kPasswordsExceptionsWindowInitialHeight = 400; - -} // anonymous namespace +#include "grit/locale_settings.h" /////////////////////////////////////////////////////////////////////////////// // PasswordsExceptionsWindowGtk @@ -78,9 +71,6 @@ PasswordsExceptionsWindowGtk::PasswordsExceptionsWindowGtk(Profile* profile) GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL); - gtk_window_set_default_size(GTK_WINDOW(dialog_), - kPasswordsExceptionsWindowInitialWidth, - kPasswordsExceptionsWindowInitialHeight); gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(dialog_)->vbox), gtk_util::kContentAreaSpacing); @@ -100,6 +90,15 @@ PasswordsExceptionsWindowGtk::PasswordsExceptionsWindowGtk(Profile* profile) gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog_)->vbox), notebook_); + gtk_widget_realize(dialog_); + int width = 1, height = 1; + gtk_util::GetWidgetSizeFromResources( + dialog_, + IDS_PASSWORDS_DIALOG_WIDTH_CHARS, + IDS_PASSWORDS_DIALOG_HEIGHT_LINES, + &width, &height); + gtk_window_set_default_size(GTK_WINDOW(dialog_), width, height); + // We only have one button and don't do any special handling, so just hook it // directly to gtk_widget_destroy. g_signal_connect(dialog_, "response", G_CALLBACK(gtk_widget_destroy), NULL); diff --git a/chrome/browser/gtk/options/url_picker_dialog_gtk.cc b/chrome/browser/gtk/options/url_picker_dialog_gtk.cc index 9122bc7..4743bc5 100644 --- a/chrome/browser/gtk/options/url_picker_dialog_gtk.cc +++ b/chrome/browser/gtk/options/url_picker_dialog_gtk.cc @@ -17,17 +17,11 @@ #include "googleurl/src/gurl.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" +#include "grit/locale_settings.h" #include "net/base/net_util.h" namespace { -// Initial size for dialog. -const int kDialogDefaultWidth = 450; -const int kDialogDefaultHeight = 450; - -// Initial width of the first column. -const int kTitleColumnInitialSize = 200; - // Style for recent history label. const char kHistoryLabelMarkup[] = "<span weight='bold'>%s</span>"; @@ -57,8 +51,6 @@ UrlPickerDialogGtk::UrlPickerDialogGtk(UrlPickerCallback* callback, add_button_ = gtk_dialog_add_button(GTK_DIALOG(dialog_), GTK_STOCK_ADD, GTK_RESPONSE_OK); gtk_dialog_set_default_response(GTK_DIALOG(dialog_), GTK_RESPONSE_OK); - gtk_window_set_default_size(GTK_WINDOW(dialog_), kDialogDefaultWidth, - kDialogDefaultHeight); gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(dialog_)->vbox), gtk_util::kContentAreaSpacing); @@ -139,7 +131,6 @@ UrlPickerDialogGtk::UrlPickerDialogGtk(UrlPickerCallback* callback, column, l10n_util::GetStringUTF8(IDS_ASI_PAGE_COLUMN).c_str()); gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(column, TRUE); - gtk_tree_view_column_set_fixed_width(column, kTitleColumnInitialSize); gtk_tree_view_column_set_sort_column_id(column, COL_TITLE); GtkTreeViewColumn* url_column = gtk_tree_view_column_new_with_attributes( @@ -158,6 +149,22 @@ UrlPickerDialogGtk::UrlPickerDialogGtk(UrlPickerCallback* callback, EnableControls(); + // Set the size of the dialog. + gtk_widget_realize(dialog_); + int width = 1, height = 1; + gtk_util::GetWidgetSizeFromResources( + dialog_, + IDS_URLPICKER_DIALOG_WIDTH_CHARS, + IDS_URLPICKER_DIALOG_HEIGHT_LINES, + &width, &height); + gtk_window_set_default_size(GTK_WINDOW(dialog_), width, height); + // Set the width of the first column as well. + gtk_util::GetWidgetSizeFromResources( + dialog_, + IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS, 0, + &width, NULL); + gtk_tree_view_column_set_fixed_width(column, width); + gtk_widget_show_all(dialog_); g_signal_connect(dialog_, "response", G_CALLBACK(OnResponse), this); diff --git a/chrome/browser/views/options/passwords_exceptions_window_view.cc b/chrome/browser/views/options/passwords_exceptions_window_view.cc index dae07b3..5c786ac 100644 --- a/chrome/browser/views/options/passwords_exceptions_window_view.cc +++ b/chrome/browser/views/options/passwords_exceptions_window_view.cc @@ -8,13 +8,13 @@ #include "chrome/browser/views/options/passwords_page_view.h" #include "chrome/browser/views/options/exceptions_page_view.h" #include "grit/generated_resources.h" +#include "grit/locale_settings.h" #include "views/controls/tabbed_pane/tabbed_pane.h" +#include "views/window/window.h" // static PasswordsExceptionsWindowView* PasswordsExceptionsWindowView::instance_ = NULL; -static const int kDefaultWindowWidth = 530; -static const int kDefaultWindowHeight = 240; static const int kDialogPadding = 7; namespace browser { @@ -42,7 +42,7 @@ void PasswordsExceptionsWindowView::Show(Profile* profile) { if (!instance_) { instance_ = new PasswordsExceptionsWindowView(profile); - // instances_ will get deleted once Close() is called. + // |instance_| will get deleted once Close() is called. views::Window::CreateChromeWindow(NULL, gfx::Rect(), instance_); } if (!instance_->window()->IsVisible()) { @@ -62,7 +62,9 @@ void PasswordsExceptionsWindowView::Layout() { } gfx::Size PasswordsExceptionsWindowView::GetPreferredSize() { - return gfx::Size(kDefaultWindowWidth, kDefaultWindowHeight); + return gfx::Size(views::Window::GetLocalizedContentsSize( + IDS_PASSWORDS_DIALOG_WIDTH_CHARS, + IDS_PASSWORDS_DIALOG_HEIGHT_LINES)); } void PasswordsExceptionsWindowView::ViewHierarchyChanged( @@ -83,7 +85,7 @@ std::wstring PasswordsExceptionsWindowView::GetWindowTitle() const { } void PasswordsExceptionsWindowView::WindowClosing() { - // |instnace_| is deleted once the window is closed, so we just have to set + // |instance_| is deleted once the window is closed, so we just have to set // it to NULL. instance_ = NULL; } diff --git a/chrome/browser/views/url_picker.cc b/chrome/browser/views/url_picker.cc index 604e97f..e9837ff 100644 --- a/chrome/browser/views/url_picker.cc +++ b/chrome/browser/views/url_picker.cc @@ -32,7 +32,7 @@ using views::ColumnSet; using views::GridLayout; -// Preferred height of the table. +// Preferred width of the table. static const int kTableWidth = 300; UrlPickerDelegate::~UrlPickerDelegate() {} @@ -254,8 +254,8 @@ void UrlPicker::PerformModelChange() { gfx::Size UrlPicker::GetPreferredSize() { return gfx::Size(views::Window::GetLocalizedContentsSize( - IDS_SHELFITEM_DIALOG_WIDTH_CHARS, - IDS_SHELFITEM_DIALOG_HEIGHT_LINES)); + IDS_URLPICKER_DIALOG_WIDTH_CHARS, + IDS_URLPICKER_DIALOG_HEIGHT_LINES)); } bool UrlPicker::AcceleratorPressed( diff --git a/chrome/common/gtk_util.cc b/chrome/common/gtk_util.cc index 83ddddd..5446a3d 100644 --- a/chrome/common/gtk_util.cc +++ b/chrome/common/gtk_util.cc @@ -121,25 +121,28 @@ GtkWidget* CreateGtkBorderBin(GtkWidget* child, const GdkColor* color, return ebox; } -bool GetWidgetSizeFromResources(GtkWidget* widget, int width_chars, +void GetWidgetSizeFromResources(GtkWidget* widget, int width_chars, int height_lines, int* width, int* height) { PangoContext* context = gtk_widget_create_pango_context(widget); PangoFontMetrics* metrics = pango_context_get_metrics(context, widget->style->font_desc, pango_context_get_language(context)); - double chars = 0; - StringToDouble(l10n_util::GetStringUTF8(width_chars), &chars); - *width = - pango_font_metrics_get_approximate_char_width(metrics) * - static_cast<int>(chars) / PANGO_SCALE; - double lines = 0; - StringToDouble(l10n_util::GetStringUTF8(height_lines), &lines); - *height = - (pango_font_metrics_get_ascent(metrics) + - pango_font_metrics_get_descent(metrics)) * - static_cast<int>(lines) / PANGO_SCALE; + if (width) { + double chars = 0; + StringToDouble(l10n_util::GetStringUTF8(width_chars), &chars); + *width = static_cast<int>( + pango_font_metrics_get_approximate_char_width(metrics) * + chars / PANGO_SCALE); + } + if (height) { + double lines = 0; + StringToDouble(l10n_util::GetStringUTF8(height_lines), &lines); + *height = static_cast<int>( + (pango_font_metrics_get_ascent(metrics) + + pango_font_metrics_get_descent(metrics)) * + lines / PANGO_SCALE); + } pango_font_metrics_unref(metrics); g_object_unref(context); - return true; } void RemoveAllChildren(GtkWidget* container) { diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h index 3811d74..c12fe98 100644 --- a/chrome/common/gtk_util.h +++ b/chrome/common/gtk_util.h @@ -71,7 +71,9 @@ GtkWidget* CreateGtkBorderBin(GtkWidget* child, const GdkColor* color, // Calculates the size of given widget based on the size specified in // number of characters/lines (in locale specific resource file) and // font metrics. -bool GetWidgetSizeFromResources(GtkWidget* widget, int width_chars, +// NOTE: Make sure to realize |widget| before using this method, or a +// default font size will be used instead of the actual font size. +void GetWidgetSizeFromResources(GtkWidget* widget, int width_chars, int height_lines, int* width, int* height); // Remove all children from this container. |