Home | History | Annotate | Download | only in options
      1 <div class="page hidden" id="languagePage">
      2   <h1 i18n-content="languagePage"></h1>
      3   <div id="notification">
      4     <span>&nbsp;</span>
      5     <span class="link"><span class="link-color"></span></span>
      6   </div>
      7   <div class="language-options-header">
      8     <div i18n-content="add_language_instructions"></div>
      9 <if expr="pp_ifdef('chromeos')">
     10     <div i18n-content="input_method_instructions"></div>
     11 </if>
     12   </div>
     13   <div class="language-options">
     14     <div class="language-options-left">
     15       <h3 i18n-content="languages"></h3>
     16       <list id="language-options-list"></list>
     17       <div class="language-options-lower-left">
     18         <button id="language-options-add-button"
     19                 i18n-content="add_button"></button>
     20       </div>
     21     </div>
     22     <div class="language-options-right">
     23       <h3 id="language-options-language-name"></h3>
     24 <if expr="os == 'win32' or pp_ifdef('chromeos')">
     25       <div class="language-options-contents">
     26         <button id="language-options-ui-language-button"></button>
     27       </div>
     28 </if>
     29       <div class="language-options-contents">
     30         <button id="language-options-spell-check-language-button"></button>
     31       </div>
     32       <div id="language-options-ui-notification-bar"
     33            class="language-options-notification">
     34         <div i18n-content="restart_required"></div>
     35 <if expr="pp_ifdef('chromeos')">
     36         <button id="language-options-ui-restart-button"
     37                 i18n-content="restart_button"></button>
     38 </if>
     39       </div>
     40 <if expr="pp_ifdef('chromeos')">
     41       <h3 i18n-content="input_method"></h3>
     42       <div id="language-options-input-method-list"
     43            class="language-options-contents">
     44       </div>
     45 </if>
     46     </div>
     47   </div>
     48   <div class="language-options-footer">
     49 <if expr="pp_ifdef('chromeos')">
     50     <div i18n-content="switch_input_methods_hint"></div>
     51     <div i18n-content="select_previous_input_method_hint"></div>
     52 </if>
     53 <if expr="not pp_ifdef('chromeos')">
     54     <div id="spell-check-option" class="checkbox">
     55       <label>
     56         <input id="enable-spell-check" pref="browser.enable_spellchecking"
     57             metric="Options_SpellCheck" type="checkbox">
     58         <span i18n-content="enable_spell_check"></span>
     59       </label>
     60     </div>
     61     <div id="auto-spell-correction-option" class="hidden" class="checkbox">
     62       <label>
     63         <input id="enable-auto-spell-correction"
     64             pref="browser.enable_autospellcorrect"
     65             metric="Options_AutoSpellCorrection" type="checkbox">
     66         <span i18n-content="enable_auto_spell_correction"></span>
     67       </label>
     68     </div>
     69 </if>
     70   </div>
     71 </div>
     72