Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / resources / options / language_options.html
blob9265faebacf78bf2867df89c89499c05d1ef41fa
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 <span i18n-content="addLanguageInstructions"></span>
11 <if expr="chromeos">
12 <span i18n-content="inputMethodInstructions"></span>
13 </if>
14 <a target="_blank" i18n-content="learnMore"
15 i18n-values="href:languagesLearnMoreURL"></a>
16 </div>
17 <div class="language-options">
18 <div id="language-options-languages">
19 <h3 i18n-content="languages"></h3>
20 <list id="language-options-list"></list>
21 <div class="language-options-lower-left">
22 <button id="language-options-add-button"
23 i18n-content="addButton">
24 </button>
25 </div>
26 <div id="language-options-list-dropmarker"></div>
27 </div>
28 <div id="language-options-details">
29 <h3 id="language-options-language-name"></h3>
30 <if expr="os == 'win32' or chromeos">
31 <div id="language-options-ui-language-section"
32 class="language-options-contents">
33 <button id="language-options-ui-language-button"
34 i18n-content="displayInThisLanguage">
35 </button>
36 <span class="controlled-setting-indicator"></span>
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 <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"
51 i18n-content="useThisForSpellChecking">
52 </button>
53 <span id="spellcheck-language-message" hidden></span>
54 <span id="language-options-dictionary-downloading-message"
55 i18n-content="downloadingDictionary" hidden>
56 </span>
57 </div>
58 <div id="language-options-dictionary-download-failed-message"
59 class="language-options-notification" hidden>
60 <div i18n-content="downloadFailed"></div>
61 <div id="language-options-dictionary-download-fail-help-message"
62 i18n-content="downloadFailHelp" hidden>
63 </div>
64 <button id="dictionary-download-retry-button"
65 i18n-content="retryButton">
66 </button>
67 </div>
68 <div id="language-options-ui-notification-bar"
69 class="language-options-notification" hidden>
70 <div i18n-content="restartRequired"></div>
71 <if expr="chromeos">
72 <button id="language-options-ui-restart-button"
73 i18n-content="restartButton">
74 </button>
75 </if>
76 </div>
77 </if>
78 <div id="language-options-offer-to-translate"
79 class="language-options-contents" hidden>
80 <div class="checkbox">
81 <label>
82 <input type="checkbox" id="offer-to-translate-in-this-language">
83 <span class="offer-to-translate-label"
84 i18n-content="offerToTranslateInThisLanguage"></span>
85 </label>
86 </div>
87 <span id="cannot-translate-in-this-language"
88 i18n-content="cannotTranslateInThisLanguage" hidden></span>
89 </div>
90 <if expr="chromeos">
91 <h3 i18n-content="inputMethod"></h3>
92 <div id="language-options-input-method-template" class="input-method"
93 hidden>
94 <div class="checkbox">
95 <label>
96 <input type="checkbox">
97 <span class="input-method-label"></span>
98 </label>
99 </div>
100 </div>
101 <div id="language-options-input-method-list"
102 class="language-options-contents">
103 <span id="language-options-input-method-none"
104 i18n-content="noInputMethods" hidden>
105 </span>
106 </div>
107 </if>
108 </div>
109 </div>
110 <div class="language-options-footer">
111 <if expr="chromeos">
112 <div i18n-content="switchInputMethodsHint"></div>
113 <div i18n-content="selectPreviousInputMethodHint"></div>
114 <a is="action-link" id="edit-custom-dictionary-button"
115 class="standalone-action-link"
116 i18n-content="languageDictionaryOverlayTitle"></a>
117 </if>
118 <if expr="not chromeos and not is_macosx">
119 <div class="checkbox">
120 <label id="enable-spellcheck-container">
121 <input id="enable-spellcheck" pref="browser.enable_spellchecking"
122 metric="Options_SpellCheck" type="checkbox">
123 <span i18n-content="enableSpellCheck"></span>
124 </label>
125 <a is="action-link" id="edit-custom-dictionary-button"
126 i18n-content="languageDictionaryOverlayTitle" hidden></a>
127 </div>
128 <div id="auto-spell-correction-option" class="checkbox" hidden>
129 <label>
130 <input id="enable-auto-spell-correction"
131 pref="browser.enable_autospellcorrect"
132 metric="Options_AutoSpellCorrection" type="checkbox">
133 <span i18n-content="enableAutoSpellCorrection"></span>
134 </label>
135 </div>
136 </if>
137 </div>
138 </div>
139 <div class="action-area">
140 <div class="button-strip">
141 <button id="language-confirm" class="default-button" i18n-content="done">
142 </button>
143 </div>
144 </div>
145 </div>