Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / options / language_options.html
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           <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="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="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="chromeos">
107       <div i18n-content="switchInputMethodsHint"></div>
108       <div i18n-content="selectPreviousInputMethodHint"></div>
109       <a is="action-link" id="edit-dictionary-button"
110           class="standalone-action-link"
111           i18n-content="languageDictionaryOverlayTitle"></a>
112 </if>
113 <if expr="not 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         <a is="action-link" id="edit-dictionary-button"
121             i18n-content="languageDictionaryOverlayTitle" hidden></a>
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>