Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: chrome/browser/resources/options/language_options.html

Issue 1156473007: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed previous comments. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>&nbsp;</span> 6 <span>&nbsp;</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>
(...skipping 23 matching lines...) Expand all
34 i18n-content="displayInThisLanguage"> 34 i18n-content="displayInThisLanguage">
35 </button> 35 </button>
36 <span class="controlled-setting-indicator"></span> 36 <span class="controlled-setting-indicator"></span>
37 <span id="language-options-ui-language-message" hidden></span> 37 <span id="language-options-ui-language-message" hidden></span>
38 </div> 38 </div>
39 </if> 39 </if>
40 <!-- Chrome uses the native OS spellchecker in OS X, so don't display the 40 <!-- Chrome uses the native OS spellchecker in OS X, so don't display the
41 dictionary pane. --> 41 dictionary pane. -->
42 <if expr="not is_macosx"> 42 <if expr="not is_macosx">
43 <div id="language-options-spellcheck" class="language-options-contents"> 43 <div id="language-options-spellcheck" class="language-options-contents">
44 <button id="language-options-spell-check-language-button" 44 <div class="checkbox"
45 id="language-options-spellcheck-language-checkbox-div">
Dan Beam 2015/06/09 17:57:47 Don't put tag names in IDs
Julius 2015/06/15 22:47:34 Changed to "spellcheck-language-checkbox-container
46 <label>
47 <input type="checkbox"
48 id="language-options-spellcheck-language-checkbox">
Dan Beam 2015/06/09 17:57:47 Is there another spellcheck language this would be
Julius 2015/06/15 22:47:34 Nope. Done.
49 <span i18n-content="useThisForSpellChecking"></span>
50 </label>
51 </div>
52 <button id="language-options-spellcheck-language-button"
45 i18n-content="useThisForSpellChecking"> 53 i18n-content="useThisForSpellChecking">
46 </button> 54 </button>
47 <span id="language-options-spell-check-language-message" hidden> 55 <span id="language-options-spellcheck-language-message" hidden>
48 </span> 56 </span>
49 <span id="language-options-dictionary-downloading-message" 57 <span id="language-options-dictionary-downloading-message"
50 i18n-content="downloadingDictionary" hidden> 58 i18n-content="downloadingDictionary" hidden>
51 </span> 59 </span>
52 </div> 60 </div>
53 <div id="language-options-dictionary-download-failed-message" 61 <div id="language-options-dictionary-download-failed-message"
54 class="language-options-notification" hidden> 62 class="language-options-notification" hidden>
55 <div i18n-content="downloadFailed"></div> 63 <div i18n-content="downloadFailed"></div>
56 <div id="language-options-dictionary-download-fail-help-message" 64 <div id="language-options-dictionary-download-fail-help-message"
57 i18n-content="downloadFailHelp" hidden> 65 i18n-content="downloadFailHelp" hidden>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 </div> 112 </div>
105 <div class="language-options-footer"> 113 <div class="language-options-footer">
106 <if expr="chromeos"> 114 <if expr="chromeos">
107 <div i18n-content="switchInputMethodsHint"></div> 115 <div i18n-content="switchInputMethodsHint"></div>
108 <div i18n-content="selectPreviousInputMethodHint"></div> 116 <div i18n-content="selectPreviousInputMethodHint"></div>
109 <a is="action-link" id="edit-dictionary-button" 117 <a is="action-link" id="edit-dictionary-button"
110 class="standalone-action-link" 118 class="standalone-action-link"
111 i18n-content="languageDictionaryOverlayTitle"></a> 119 i18n-content="languageDictionaryOverlayTitle"></a>
112 </if> 120 </if>
113 <if expr="not chromeos and not is_macosx"> 121 <if expr="not chromeos and not is_macosx">
114 <div id="spell-check-option" class="checkbox"> 122 <div id="spellcheck-option" class="checkbox">
115 <label> 123 <label>
116 <input id="enable-spell-check" pref="browser.enable_spellchecking" 124 <input id="enable-spellcheck" pref="browser.enable_spellchecking"
117 metric="Options_SpellCheck" type="checkbox"> 125 metric="Options_SpellCheck" type="checkbox">
118 <span i18n-content="enableSpellCheck"></span> 126 <span i18n-content="enableSpellCheck"></span>
119 </label> 127 </label>
120 <a is="action-link" id="edit-dictionary-button" 128 <a is="action-link" id="edit-dictionary-button"
121 i18n-content="languageDictionaryOverlayTitle" hidden></a> 129 i18n-content="languageDictionaryOverlayTitle" hidden></a>
122 </div> 130 </div>
123 <div id="auto-spell-correction-option" class="checkbox" hidden> 131 <div id="auto-spell-correction-option" class="checkbox" hidden>
124 <label> 132 <label>
125 <input id="enable-auto-spell-correction" 133 <input id="enable-auto-spell-correction"
126 pref="browser.enable_autospellcorrect" 134 pref="browser.enable_autospellcorrect"
127 metric="Options_AutoSpellCorrection" type="checkbox"> 135 metric="Options_AutoSpellCorrection" type="checkbox">
128 <span i18n-content="enableAutoSpellCorrection"></span> 136 <span i18n-content="enableAutoSpellCorrection"></span>
129 </label> 137 </label>
130 </div> 138 </div>
131 </if> 139 </if>
132 </div> 140 </div>
133 </div> 141 </div>
134 <div class="action-area"> 142 <div class="action-area">
135 <div class="button-strip"> 143 <div class="button-strip">
136 <button id="language-confirm" class="default-button" i18n-content="done"> 144 <button id="language-confirm" class="default-button" i18n-content="done">
137 </button> 145 </button>
138 </div> 146 </div>
139 </div> 147 </div>
140 </div> 148 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698