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

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: Fixed nits and rebased. 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" id="spellcheck-language-checkbox-container">
45 <label>
46 <input type="checkbox" id="spellcheck-language-checkbox">
47 <span i18n-content="useThisForSpellChecking"></span>
48 </label>
49 </div>
50 <button id="spellcheck-language-button"
45 i18n-content="useThisForSpellChecking"> 51 i18n-content="useThisForSpellChecking">
46 </button> 52 </button>
47 <span id="language-options-spell-check-language-message" hidden> 53 <span id="spellcheck-language-message" hidden>
Dan Beam 2015/06/25 02:25:59 <span id="spellcheck-language-message" hidden></sp
Julius 2015/07/06 22:38:52 Done.
48 </span> 54 </span>
49 <span id="language-options-dictionary-downloading-message" 55 <span id="language-options-dictionary-downloading-message"
50 i18n-content="downloadingDictionary" hidden> 56 i18n-content="downloadingDictionary" hidden>
51 </span> 57 </span>
52 </div> 58 </div>
53 <div id="language-options-dictionary-download-failed-message" 59 <div id="language-options-dictionary-download-failed-message"
54 class="language-options-notification" hidden> 60 class="language-options-notification" hidden>
55 <div i18n-content="downloadFailed"></div> 61 <div i18n-content="downloadFailed"></div>
56 <div id="language-options-dictionary-download-fail-help-message" 62 <div id="language-options-dictionary-download-fail-help-message"
57 i18n-content="downloadFailHelp" hidden> 63 i18n-content="downloadFailHelp" hidden>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 </div> 110 </div>
105 <div class="language-options-footer"> 111 <div class="language-options-footer">
106 <if expr="chromeos"> 112 <if expr="chromeos">
107 <div i18n-content="switchInputMethodsHint"></div> 113 <div i18n-content="switchInputMethodsHint"></div>
108 <div i18n-content="selectPreviousInputMethodHint"></div> 114 <div i18n-content="selectPreviousInputMethodHint"></div>
109 <a is="action-link" id="edit-dictionary-button" 115 <a is="action-link" id="edit-dictionary-button"
110 class="standalone-action-link" 116 class="standalone-action-link"
111 i18n-content="languageDictionaryOverlayTitle"></a> 117 i18n-content="languageDictionaryOverlayTitle"></a>
112 </if> 118 </if>
113 <if expr="not chromeos and not is_macosx"> 119 <if expr="not chromeos and not is_macosx">
114 <div id="spell-check-option" class="checkbox"> 120 <div class="checkbox">
115 <label> 121 <label>
116 <input id="enable-spell-check" pref="browser.enable_spellchecking" 122 <input id="enable-spellcheck" pref="browser.enable_spellchecking"
117 metric="Options_SpellCheck" type="checkbox"> 123 metric="Options_SpellCheck" type="checkbox">
118 <span i18n-content="enableSpellCheck"></span> 124 <span i18n-content="enableSpellCheck"></span>
119 </label> 125 </label>
120 <a is="action-link" id="edit-dictionary-button" 126 <a is="action-link" id="edit-dictionary-button"
121 i18n-content="languageDictionaryOverlayTitle" hidden></a> 127 i18n-content="languageDictionaryOverlayTitle" hidden></a>
122 </div> 128 </div>
123 <div id="auto-spell-correction-option" class="checkbox" hidden> 129 <div id="auto-spell-correction-option" class="checkbox" hidden>
124 <label> 130 <label>
125 <input id="enable-auto-spell-correction" 131 <input id="enable-auto-spell-correction"
126 pref="browser.enable_autospellcorrect" 132 pref="browser.enable_autospellcorrect"
127 metric="Options_AutoSpellCorrection" type="checkbox"> 133 metric="Options_AutoSpellCorrection" type="checkbox">
128 <span i18n-content="enableAutoSpellCorrection"></span> 134 <span i18n-content="enableAutoSpellCorrection"></span>
129 </label> 135 </label>
130 </div> 136 </div>
131 </if> 137 </if>
132 </div> 138 </div>
133 </div> 139 </div>
134 <div class="action-area"> 140 <div class="action-area">
135 <div class="button-strip"> 141 <div class="button-strip">
136 <button id="language-confirm" class="default-button" i18n-content="done"> 142 <button id="language-confirm" class="default-button" i18n-content="done">
137 </button> 143 </button>
138 </div> 144 </div>
139 </div> 145 </div>
140 </div> 146 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698