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