OLD | NEW |
1 <div id="languagePage" class="page" hidden> | 1 <div id="languagePage" class="page" hidden> |
2 <div class="close-button"></div> | 2 <div class="close-button"></div> |
3 <h1 i18n-content="languagePage"></h1> | 3 <h1 i18n-content="languagePage"></h1> |
4 <div class="content-area"> | 4 <div class="content-area"> |
5 <div id="notification"> | 5 <div id="notification"> |
6 <span> </span> | 6 <span> </span> |
7 <span class="link"><span class="link-color"></span></span> | 7 <span class="link"><span class="link-color"></span></span> |
8 </div> | 8 </div> |
9 <div class="language-options-header"> | 9 <div class="language-options-header"> |
10 <span i18n-content="addLanguageInstructions"></span> | 10 <span i18n-content="addLanguageInstructions"></span> |
11 <if expr="pp_ifdef('chromeos')"> | 11 <if expr="chromeos"> |
12 <span i18n-content="inputMethodInstructions"></span> | 12 <span i18n-content="inputMethodInstructions"></span> |
13 </if> | 13 </if> |
14 <a target="_blank" i18n-content="learnMore" | 14 <a target="_blank" i18n-content="learnMore" |
15 i18n-values="href:languagesLearnMoreURL"></a> | 15 i18n-values="href:languagesLearnMoreURL"></a> |
16 </div> | 16 </div> |
17 <div class="language-options"> | 17 <div class="language-options"> |
18 <div id="language-options-languages"> | 18 <div id="language-options-languages"> |
19 <h3 i18n-content="languages"></h3> | 19 <h3 i18n-content="languages"></h3> |
20 <list id="language-options-list"></list> | 20 <list id="language-options-list"></list> |
21 <div class="language-options-lower-left"> | 21 <div class="language-options-lower-left"> |
22 <button id="language-options-add-button" | 22 <button id="language-options-add-button" |
23 i18n-content="addButton"> | 23 i18n-content="addButton"> |
24 </button> | 24 </button> |
25 </div> | 25 </div> |
26 <div id="language-options-list-dropmarker"></div> | 26 <div id="language-options-list-dropmarker"></div> |
27 </div> | 27 </div> |
28 <div id="language-options-details"> | 28 <div id="language-options-details"> |
29 <h3 id="language-options-language-name"></h3> | 29 <h3 id="language-options-language-name"></h3> |
30 <if expr="os == 'win32' or pp_ifdef('chromeos')"> | 30 <if expr="os == 'win32' or chromeos"> |
31 <div class="language-options-contents"> | 31 <div class="language-options-contents"> |
32 <button id="language-options-ui-language-button" | 32 <button id="language-options-ui-language-button" |
33 i18n-content="displayInThisLanguage"> | 33 i18n-content="displayInThisLanguage"> |
34 </button> | 34 </button> |
35 <span class="controlled-setting-indicator"></span> | 35 <span class="controlled-setting-indicator"></span> |
36 <span id="language-options-ui-language-message" hidden></span> | 36 <span id="language-options-ui-language-message" hidden></span> |
37 </div> | 37 </div> |
38 </if> | 38 </if> |
39 <!-- Chrome uses the native OS spellchecker in OS X, so don't display the | 39 <!-- Chrome uses the native OS spellchecker in OS X, so don't display the |
40 dictionary pane. --> | 40 dictionary pane. --> |
(...skipping 14 matching lines...) Expand all Loading... |
55 <div id="language-options-dictionary-download-fail-help-message" | 55 <div id="language-options-dictionary-download-fail-help-message" |
56 i18n-content="downloadFailHelp" hidden> | 56 i18n-content="downloadFailHelp" hidden> |
57 </div> | 57 </div> |
58 <button id="dictionary-download-retry-button" | 58 <button id="dictionary-download-retry-button" |
59 i18n-content="retryButton"> | 59 i18n-content="retryButton"> |
60 </button> | 60 </button> |
61 </div> | 61 </div> |
62 <div id="language-options-ui-notification-bar" | 62 <div id="language-options-ui-notification-bar" |
63 class="language-options-notification" hidden> | 63 class="language-options-notification" hidden> |
64 <div i18n-content="restartRequired"></div> | 64 <div i18n-content="restartRequired"></div> |
65 <if expr="pp_ifdef('chromeos')"> | 65 <if expr="chromeos"> |
66 <button id="language-options-ui-restart-button" | 66 <button id="language-options-ui-restart-button" |
67 i18n-content="restartButton"> | 67 i18n-content="restartButton"> |
68 </button> | 68 </button> |
69 </if> | 69 </if> |
70 </div> | 70 </div> |
71 </if> | 71 </if> |
72 <div id="language-options-offer-to-translate" | 72 <div id="language-options-offer-to-translate" |
73 class="language-options-contents" hidden> | 73 class="language-options-contents" hidden> |
74 <div class="checkbox"> | 74 <div class="checkbox"> |
75 <label> | 75 <label> |
76 <input type="checkbox" id="offer-to-translate-in-this-language"> | 76 <input type="checkbox" id="offer-to-translate-in-this-language"> |
77 <span class="offer-to-translate-label" | 77 <span class="offer-to-translate-label" |
78 i18n-content="offerToTranslateInThisLanguage"></span> | 78 i18n-content="offerToTranslateInThisLanguage"></span> |
79 </label> | 79 </label> |
80 </div> | 80 </div> |
81 <span id="cannot-translate-in-this-language" | 81 <span id="cannot-translate-in-this-language" |
82 i18n-content="cannotTranslateInThisLanguage" hidden></span> | 82 i18n-content="cannotTranslateInThisLanguage" hidden></span> |
83 </div> | 83 </div> |
84 <if expr="pp_ifdef('chromeos')"> | 84 <if expr="chromeos"> |
85 <h3 i18n-content="inputMethod"></h3> | 85 <h3 i18n-content="inputMethod"></h3> |
86 <div id="language-options-input-method-template" class="input-method" | 86 <div id="language-options-input-method-template" class="input-method" |
87 hidden> | 87 hidden> |
88 <div class="checkbox"> | 88 <div class="checkbox"> |
89 <label> | 89 <label> |
90 <input type="checkbox"> | 90 <input type="checkbox"> |
91 <span class="input-method-label"></span> | 91 <span class="input-method-label"></span> |
92 </label> | 92 </label> |
93 </div> | 93 </div> |
94 </div> | 94 </div> |
95 <div id="language-options-input-method-list" | 95 <div id="language-options-input-method-list" |
96 class="language-options-contents"> | 96 class="language-options-contents"> |
97 <span id="language-options-input-method-none" | 97 <span id="language-options-input-method-none" |
98 i18n-content="noInputMethods" hidden> | 98 i18n-content="noInputMethods" hidden> |
99 </span> | 99 </span> |
100 </div> | 100 </div> |
101 </if> | 101 </if> |
102 </div> | 102 </div> |
103 </div> | 103 </div> |
104 <div class="language-options-footer"> | 104 <div class="language-options-footer"> |
105 <if expr="pp_ifdef('chromeos')"> | 105 <if expr="chromeos"> |
106 <div i18n-content="switchInputMethodsHint"></div> | 106 <div i18n-content="switchInputMethodsHint"></div> |
107 <div i18n-content="selectPreviousInputMethodHint"></div> | 107 <div i18n-content="selectPreviousInputMethodHint"></div> |
108 <button id="edit-dictionary-button" | 108 <button id="edit-dictionary-button" |
109 class="link-button standalone-link-button" | 109 class="link-button standalone-link-button" |
110 i18n-content="languageDictionaryOverlayTitle"></button> | 110 i18n-content="languageDictionaryOverlayTitle"></button> |
111 </if> | 111 </if> |
112 <if expr="not pp_ifdef('chromeos') and not is_macosx"> | 112 <if expr="not chromeos and not is_macosx"> |
113 <div id="spell-check-option" class="checkbox"> | 113 <div id="spell-check-option" class="checkbox"> |
114 <label> | 114 <label> |
115 <input id="enable-spell-check" pref="browser.enable_spellchecking" | 115 <input id="enable-spell-check" pref="browser.enable_spellchecking" |
116 metric="Options_SpellCheck" type="checkbox"> | 116 metric="Options_SpellCheck" type="checkbox"> |
117 <span i18n-content="enableSpellCheck"></span> | 117 <span i18n-content="enableSpellCheck"></span> |
118 </label> | 118 </label> |
119 <button id="edit-dictionary-button" class="link-button" | 119 <button id="edit-dictionary-button" class="link-button" |
120 i18n-content="languageDictionaryOverlayTitle" hidden></button> | 120 i18n-content="languageDictionaryOverlayTitle" hidden></button> |
121 </div> | 121 </div> |
122 <div id="auto-spell-correction-option" class="checkbox" hidden> | 122 <div id="auto-spell-correction-option" class="checkbox" hidden> |
123 <label> | 123 <label> |
124 <input id="enable-auto-spell-correction" | 124 <input id="enable-auto-spell-correction" |
125 pref="browser.enable_autospellcorrect" | 125 pref="browser.enable_autospellcorrect" |
126 metric="Options_AutoSpellCorrection" type="checkbox"> | 126 metric="Options_AutoSpellCorrection" type="checkbox"> |
127 <span i18n-content="enableAutoSpellCorrection"></span> | 127 <span i18n-content="enableAutoSpellCorrection"></span> |
128 </label> | 128 </label> |
129 </div> | 129 </div> |
130 </if> | 130 </if> |
131 </div> | 131 </div> |
132 </div> | 132 </div> |
133 <div class="action-area"> | 133 <div class="action-area"> |
134 <div class="button-strip"> | 134 <div class="button-strip"> |
135 <button id="language-confirm" class="default-button" i18n-content="done"> | 135 <button id="language-confirm" class="default-button" i18n-content="done"> |
136 </button> | 136 </button> |
137 </div> | 137 </div> |
138 </div> | 138 </div> |
139 </div> | 139 </div> |
OLD | NEW |