Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <div id="settings" class="page" hidden> | 1 <div id="settings" class="page" hidden> |
| 2 <header> | 2 <header> |
| 3 <h1 i18n-content="settingsTitle"></h1> | 3 <h1 i18n-content="settingsTitle"></h1> |
| 4 </header> | 4 </header> |
| 5 <if expr="not pp_ifdef('chromeos')"> | 5 <if expr="not pp_ifdef('chromeos')"> |
| 6 <include src="sync_section.html"> | 6 <include src="sync_section.html"> |
| 7 </if> | 7 </if> |
| 8 <if expr="pp_ifdef('chromeos')"> | 8 <if expr="pp_ifdef('chromeos')"> |
| 9 <section> | 9 <section> |
| 10 <h3 i18n-content="sectionTitleInternet"></h3> | 10 <h3 i18n-content="sectionTitleInternet"></h3> |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 248 <label for="dnsPrefetchingEnabled"> | 248 <label for="dnsPrefetchingEnabled"> |
| 249 <span i18n-content="networkPredictionEnabledDescription"></span> | 249 <span i18n-content="networkPredictionEnabledDescription"></span> |
| 250 </label> | 250 </label> |
| 251 <span class="controlled-setting-indicator" | 251 <span class="controlled-setting-indicator" |
| 252 pref="dns_prefetching.enabled"> | 252 pref="dns_prefetching.enabled"> |
| 253 </span> | 253 </span> |
| 254 </span> | 254 </span> |
| 255 </span> | 255 </span> |
| 256 </div> | 256 </div> |
| 257 <div class="checkbox"> | 257 <div class="checkbox"> |
| 258 <label> | 258 <span class="controlled-setting-with-label"> |
| 259 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled" | 259 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled" |
| 260 metric="Options_SafeBrowsingCheckbox" type="checkbox"> | 260 metric="Options_SafeBrowsingCheckbox" type="checkbox"> |
| 261 <span i18n-content="safeBrowsingEnableProtection"></span> | 261 <span> |
| 262 </label> | 262 <label for="safeBrowsingEnabled"> |
| 263 <span i18n-content="safeBrowsingEnableProtection"></span> | |
|
James Hawkins
2012/10/17 03:29:28
Just set the i18n-content of the label element.
bartfab (slow)
2012/10/18 13:05:04
Done.
| |
| 264 </label> | |
| 265 <span class="controlled-setting-indicator" | |
| 266 pref="safebrowsing.enabled"> | |
| 267 </span> | |
| 268 </span> | |
| 269 </span> | |
| 263 </div> | 270 </div> |
| 264 <if expr="pp_ifdef('_google_chrome')"> | 271 <if expr="pp_ifdef('_google_chrome')"> |
| 265 <div class="checkbox"> | 272 <div class="checkbox"> |
| 266 <label id="spelling-label"> | 273 <label id="spelling-label"> |
| 267 <input id="spelling-enabled-control" type="checkbox" | 274 <input id="spelling-enabled-control" type="checkbox" |
| 268 pref="spellcheck.use_spelling_service"> | 275 pref="spellcheck.use_spelling_service"> |
| 269 <span i18n-content="spellingPref"></span> | 276 <span i18n-content="spellingPref"></span> |
| 270 </label> | 277 </label> |
| 271 </div> | 278 </div> |
| 272 <div id="metricsReportingSetting" class="checkbox"> | 279 <div id="metricsReportingSetting" class="checkbox"> |
| 273 <label> | 280 <span class="controlled-setting-with-label"> |
| 274 <if expr="pp_ifdef('chromeos')"> | 281 <if expr="pp_ifdef('chromeos')"> |
| 275 <input id="metricsReportingEnabled" | 282 <input id="metricsReportingEnabled" |
| 276 pref="cros.metrics.reportingEnabled" type="checkbox"> | 283 pref="cros.metrics.reportingEnabled" type="checkbox"> |
| 277 </if> | 284 </if> |
| 278 <if expr="not pp_ifdef('chromeos')"> | 285 <if expr="not pp_ifdef('chromeos')"> |
| 279 <input id="metricsReportingEnabled" | 286 <input id="metricsReportingEnabled" |
| 280 pref="user_experience_metrics.reporting_enabled" type="checkbox"> | 287 pref="user_experience_metrics.reporting_enabled" type="checkbox"> |
| 281 </if> | 288 </if> |
| 282 <span i18n-content="enableLogging"></span> | 289 <span> |
| 283 </label> | 290 <label for="metricsReportingEnabled"> |
| 291 <span i18n-content="enableLogging"></span> | |
| 292 </label> | |
| 293 <span class="controlled-setting-indicator" | |
| 294 pref="user_experience_metrics.reporting_enabled"> | |
| 295 </span> | |
| 296 </span> | |
| 297 </span> | |
| 284 </div> | 298 </div> |
| 285 </if> <!-- pp_ifdef('_google_chrome') --> | 299 </if> <!-- pp_ifdef('_google_chrome') --> |
| 286 <div class="checkbox"> | 300 <div class="checkbox"> |
| 287 <label> | 301 <label> |
| 288 <input id="do-not-track-enabled" pref="enable_do_not_track" | 302 <input id="do-not-track-enabled" pref="enable_do_not_track" |
| 289 metric="Options_DoNotTrackCheckbox" type="checkbox"> | 303 metric="Options_DoNotTrackCheckbox" type="checkbox"> |
| 290 <span i18n-content="doNotTrack"></span> | 304 <span i18n-content="doNotTrack"></span> |
| 291 </label> | 305 </label> |
| 292 </div> | 306 </div> |
| 293 </div> | 307 </div> |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 316 i18n-content="addBluetoothDevice" hidden></button> | 330 i18n-content="addBluetoothDevice" hidden></button> |
| 317 <button id="bluetooth-reconnect-device" | 331 <button id="bluetooth-reconnect-device" |
| 318 i18n-content="bluetoothConnectDevice" disabled hidden></button> | 332 i18n-content="bluetoothConnectDevice" disabled hidden></button> |
| 319 </div> | 333 </div> |
| 320 </div> | 334 </div> |
| 321 </section> | 335 </section> |
| 322 </if> <!-- pp_ifdef('chromeos') --> | 336 </if> <!-- pp_ifdef('chromeos') --> |
| 323 <section id="passwords-and-autofill-section"> | 337 <section id="passwords-and-autofill-section"> |
| 324 <h3 i18n-content="passwordsAndAutofillGroupName"></h3> | 338 <h3 i18n-content="passwordsAndAutofillGroupName"></h3> |
| 325 <div class="checkbox"> | 339 <div class="checkbox"> |
| 326 <label> | 340 <span class="controlled-setting-with-label"> |
| 327 <input id="autofill-enabled" pref="autofill.enabled" | 341 <input id="autofill-enabled" pref="autofill.enabled" |
| 328 metric="Options_FormAutofill" type="checkbox"> | 342 metric="Options_FormAutofill" type="checkbox"> |
| 329 <span i18n-content="autofillEnabled"></span> | 343 <span> |
| 330 </label> | 344 <label for="autofill-enabled"> |
| 331 <button id="autofill-settings" class="link-button" | 345 <span i18n-content="autofillEnabled"></span> |
| 332 pref="autofill.enabled" | 346 </label> |
| 333 i18n-content="manageAutofillSettings"></button> | 347 <span class="controlled-setting-indicator" pref="autofill.enabled"> |
| 348 </span> | |
| 349 <button id="autofill-settings" class="link-button" | |
| 350 i18n-content="manageAutofillSettings"> | |
| 351 </button> | |
| 352 </span> | |
| 353 </span> | |
| 334 </div> | 354 </div> |
| 335 <div class="checkbox"> | 355 <div class="checkbox"> |
| 336 <label> | 356 <span class="controlled-setting-with-label"> |
| 337 <input id="password-manager-enabled" | 357 <input id="password-manager-enabled" |
| 338 pref="profile.password_manager_enabled" | 358 pref="profile.password_manager_enabled" |
| 339 metric="Options_PasswordManager" type="checkbox"> | 359 metric="Options_PasswordManager" type="checkbox"> |
| 340 <span i18n-content="passwordManagerEnabled"></span> | 360 <span> |
| 341 </label> | 361 <label for="password-manager-enabled"> |
| 342 <button id="manage-passwords" class="link-button" | 362 <span i18n-content="passwordManagerEnabled"></span> |
| 343 i18n-content="managePasswords" | 363 </label> |
| 344 pref="profile.password_manager_enabled"></button> | 364 <span class="controlled-setting-indicator" |
| 365 pref="profile.password_manager_enabled"> | |
| 366 </span> | |
| 367 <button id="manage-passwords" class="link-button" | |
| 368 i18n-content="managePasswords"> | |
| 369 </button> | |
| 370 </span> | |
| 371 </span> | |
| 345 </div> | 372 </div> |
| 346 <div class="checkbox" id="password-generation-checkbox"> | 373 <div class="checkbox" id="password-generation-checkbox"> |
| 347 <label> | 374 <label> |
| 348 <input id="password-generation-enabled" pref="password_generation.enable d" | 375 <input id="password-generation-enabled" pref="password_generation.enable d" |
| 349 metric="Options_PasswordGenerationCheckbox" type="checkbox"> | 376 metric="Options_PasswordGenerationCheckbox" type="checkbox"> |
| 350 <span i18n-content="passwordGenerationEnabledDescription"></span> | 377 <span i18n-content="passwordGenerationEnabledDescription"></span> |
| 351 </label> | 378 </label> |
| 352 </div> | 379 </div> |
| 353 <if expr="is_macosx"> | 380 <if expr="is_macosx"> |
| 354 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden> | 381 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 420 metric="Options_Translate" type="checkbox"> | 447 metric="Options_Translate" type="checkbox"> |
| 421 <span i18n-content="translateEnableTranslate"></span> | 448 <span i18n-content="translateEnableTranslate"></span> |
| 422 </label> | 449 </label> |
| 423 </div> | 450 </div> |
| 424 </section> | 451 </section> |
| 425 <section> | 452 <section> |
| 426 <h3 i18n-content="downloadLocationGroupName"></h3> | 453 <h3 i18n-content="downloadLocationGroupName"></h3> |
| 427 <div> | 454 <div> |
| 428 <div class="settings-row"> | 455 <div class="settings-row"> |
| 429 <label> | 456 <label> |
| 430 <span i18n-content="downloadLocationBrowseTitle"></span> | 457 <span id="download-location-label" |
| 458 i18n-content="downloadLocationBrowseTitle"> | |
| 459 </span> | |
| 431 <input id="downloadLocationPath" class="weakrtl" type="text" | 460 <input id="downloadLocationPath" class="weakrtl" type="text" |
| 432 size="36" readonly> | 461 size="36" readonly> |
| 433 </label> | 462 </label> |
| 434 <button id="downloadLocationChangeButton" | 463 <button id="downloadLocationChangeButton" |
| 435 pref="download.prompt_for_download" | 464 i18n-content="downloadLocationChangeButton"> |
| 436 i18n-content="downloadLocationChangeButton"></button> | 465 </button> |
| 466 <span class="controlled-setting-indicator" | |
| 467 pref="download.default_directory"> | |
| 468 </span> | |
| 437 </div> | 469 </div> |
| 438 <div class="checkbox"> | 470 <div class="checkbox"> |
| 439 <label> | 471 <span class="controlled-setting-with-label"> |
| 440 <input type="checkbox" | 472 <input id="prompt-for-download" type="checkbox" |
| 441 pref="download.prompt_for_download" | 473 pref="download.prompt_for_download" |
| 442 metric="Options_AskForSaveLocation"> | 474 metric="Options_AskForSaveLocation"> |
| 443 <span i18n-content="downloadLocationAskForSaveLocation"></span> | 475 <span> |
| 444 </label> | 476 <label for="prompt-for-download"> |
| 477 <span i18n-content="downloadLocationAskForSaveLocation"></span> | |
| 478 </label> | |
| 479 <span class="controlled-setting-indicator" | |
| 480 pref="download.prompt_for_download"> | |
| 481 </span> | |
| 482 </span> | |
| 483 </span> | |
| 445 </div> | 484 </div> |
| 446 <if expr="pp_ifdef('chromeos')"> | 485 <if expr="pp_ifdef('chromeos')"> |
| 447 <div class="checkbox" guest-visibility="disabled"> | 486 <div class="checkbox" guest-visibility="disabled"> |
| 448 <label> | 487 <label> |
| 449 <input type="checkbox" | 488 <input type="checkbox" |
| 450 pref="gdata.disabled" | 489 pref="gdata.disabled" |
| 451 metric="Options_DisableGData"> | 490 metric="Options_DisableGData"> |
| 452 <span i18n-content="disableGData"></span> | 491 <span i18n-content="disableGData"></span> |
| 453 </label> | 492 </label> |
| 454 </div> | 493 </div> |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 571 </section> | 610 </section> |
| 572 </if> | 611 </if> |
| 573 </div> <!-- advanced-settings-container --> | 612 </div> <!-- advanced-settings-container --> |
| 574 </div> <!-- advanced-settings --> | 613 </div> <!-- advanced-settings --> |
| 575 <footer> | 614 <footer> |
| 576 <button id="advanced-settings-expander" class="link-button" | 615 <button id="advanced-settings-expander" class="link-button" |
| 577 i18n-content="showAdvancedSettings"> | 616 i18n-content="showAdvancedSettings"> |
| 578 </button> | 617 </button> |
| 579 </footer> | 618 </footer> |
| 580 </div> | 619 </div> |
| OLD | NEW |