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