Commit 73fbd9b3 authored by dschuyler's avatar dschuyler Committed by Commit bot

[i18n] browser help, i18n-content to $i18n{}

This is a mechanical change to convert i18n-content to $i18n{} tags.

BUG=677338
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2626083005
Cr-Commit-Position: refs/heads/master@{#443140}
parent bf104bd8
<div id="channel-change-page" class="page" hidden> <div id="channel-change-page" class="page" hidden>
<div class="close-button"></div> <div class="close-button"></div>
<h1 i18n-content="channelChangePageTitle"></h1> <h1>$i18n{channelChangePageTitle}</h1>
<div class="content-area"> <div class="content-area">
<div class="channel-change-page-channel radio"> <div class="channel-change-page-channel radio">
<input id="channel-change-page-stable-option" <input id="channel-change-page-stable-option"
type="radio" name="channel" value="stable-channel"> type="radio" name="channel" value="stable-channel">
<label for="channel-change-page-stable-option" i18n-content="stable"> <label for="channel-change-page-stable-option">$i18n{stable}</label>
</label>
</div> </div>
<div class="channel-change-page-channel radio"> <div class="channel-change-page-channel radio">
<input id="channel-change-page-beta-option" <input id="channel-change-page-beta-option"
type="radio" name="channel" value="beta-channel"> type="radio" name="channel" value="beta-channel">
<label for="channel-change-page-beta-option" i18n-content="beta"></label> <label for="channel-change-page-beta-option">$i18n{beta}</label>
</div> </div>
<div class="channel-change-page-channel radio"> <div class="channel-change-page-channel radio">
<input id="channel-change-page-dev-option" <input id="channel-change-page-dev-option"
type="radio" name="channel" value="dev-channel"> type="radio" name="channel" value="dev-channel">
<label for="channel-change-page-dev-option" i18n-content="dev"></label> <label for="channel-change-page-dev-option">$i18n{dev}</label>
</div> </div>
</div> </div>
<div class="content-area"> <div class="content-area">
<div class="show-when-selected-channel-requires-powerwash"> <div class="show-when-selected-channel-requires-powerwash">
<h2 i18n-content="channelChangePagePowerwashTitle"></h2> <h2>$i18n{channelChangePagePowerwashTitle}</h2>
<div i18n-content="channelChangePagePowerwashMessage"></div> <div>$i18n{channelChangePagePowerwashMessage}</div>
</div> </div>
<div class="show-when-selected-channel-requires-delayed-update"> <div class="show-when-selected-channel-requires-delayed-update">
<h2 i18n-content="channelChangePageDelayedChangeTitle"></h2> <h2>$i18n{channelChangePageDelayedChangeTitle}</h2>
<div i18n-content="channelChangePageDelayedChangeMessage"></div> <div>$i18n{channelChangePageDelayedChangeMessage}</div>
</div> </div>
<div class="show-when-selected-channel-unstable"> <div class="show-when-selected-channel-unstable">
<h2 i18n-content="channelChangePageUnstableTitle"></h2> <h2>$i18n{channelChangePageUnstableTitle}</h2>
<div i18n-content="channelChangePageUnstableMessage"></div> <div>$i18n{channelChangePageUnstableMessage}</div>
</div> </div>
</div> </div>
<div class="action-area"> <div class="action-area">
<div class="button-strip"> <div class="button-strip">
<button id="channel-change-page-powerwash-button" <button id="channel-change-page-powerwash-button"
class="show-when-selected-channel-requires-powerwash" class="show-when-selected-channel-requires-powerwash">
i18n-content="channelChangePagePowerwashButton"> $i18n{channelChangePagePowerwashButton}
</button> </button>
<button id="channel-change-page-change-button" <button id="channel-change-page-change-button"
class="show-when-selected-channel-requires-delayed-update class="show-when-selected-channel-requires-delayed-update
show-when-selected-channel-good show-when-selected-channel-good
show-when-selected-channel-unstable" show-when-selected-channel-unstable">
i18n-content="channelChangePageChangeButton"> $i18n{channelChangePageChangeButton}
</button> </button>
<button id="channel-change-page-cancel-button" <button id="channel-change-page-cancel-button" class="default-button">
class="default-button" $i18n{channelChangePageCancelButton}
i18n-content="channelChangePageCancelButton">
</button> </button>
</div> </div>
</div> </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html i18n-values="dir:textdirection;lang:language"> <html i18n-values="dir:textdirection;lang:language">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title i18n-content="aboutTitle"></title> <title>$i18n{aboutTitle}</title>
<link rel="stylesheet" href="chrome://resources/css/chrome_shared.css"> <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
<link rel="stylesheet" href="../uber/uber_shared.css"> <link rel="stylesheet" href="../uber/uber_shared.css">
<link rel="stylesheet" href="help.css"> <link rel="stylesheet" href="help.css">
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</head> </head>
<body class="uber-frame"> <body class="uber-frame">
<header> <header>
<h1 i18n-content="aboutTitle"></h1> <h1>$i18n{aboutTitle}</h1>
</header> </header>
<if expr="chromeos"> <if expr="chromeos">
<div id="overlay-container-1" class="overlay transparent" hidden> <div id="overlay-container-1" class="overlay transparent" hidden>
......
...@@ -4,44 +4,42 @@ ...@@ -4,44 +4,42 @@
chrome://theme/current-channel-logo@2x 2x" chrome://theme/current-channel-logo@2x 2x"
alt=""> alt="">
<div id="product-description"> <div id="product-description">
<h2 i18n-content="aboutProductTitle"></h2> <h2>$i18n{aboutProductTitle}</h2>
<span i18n-content="aboutProductDescription"></span> <span>$i18n{aboutProductDescription}</span>
</div> </div>
</div> </div>
<div id="help-container"> <div id="help-container">
<button id="get-help" i18n-content="getHelpWithChrome"></button> <button id="get-help">$i18n{getHelpWithChrome}</button>
<if expr="_google_chrome"> <if expr="_google_chrome">
<button id="report-issue" i18n-content="reportAnIssue"></button> <button id="report-issue">$i18n{reportAnIssue}</button>
</if> </if>
</div> </div>
<div id="version-container"> <div id="version-container">
<div> <div>
<span i18n-content="browserVersion" dir="ltr"></span> <span dir="ltr">$i18n{browserVersion}</span>
</div> </div>
<if expr="chromeos"> <if expr="chromeos">
<div> <div>
<span i18n-content="platform"></span>&nbsp;<span id="os-version"></span> <span>$i18n{platform}</span>&nbsp;<span id="os-version"></span>
</div> </div>
<div> <div>
<span i18n-content="arcVersion"> <span>$i18n{arcVersion}</span>&nbsp;<span id="arc-version"></span>
</span>&nbsp;<span id="arc-version"></span>
</div> </div>
<div> <div>
<span i18n-content="firmware"></span>&nbsp;<span id="firmware"></span> <span>$i18n{firmware}</span>&nbsp;<span id="firmware"></span>
</div> </div>
</if> </if>
<if expr="chromeos or _google_chrome or is_linux"> <if expr="chromeos or _google_chrome or is_linux">
<div id="update-status-container" hidden> <div id="update-status-container" hidden>
<div id="update-status-icon" class="help-page-icon up-to-date"></div> <div id="update-status-icon" class="help-page-icon up-to-date"></div>
<div id="update-status-message-container"> <div id="update-status-message-container">
<div id="update-status-message" i18n-content="updateCheckStarted"> <div id="update-status-message">$i18n{updateCheckStarted}</div>
</div>
<if expr="is_macosx or is_win"> <if expr="is_macosx or is_win">
<div id="update-obsolete-system-container" hidden> <div id="update-obsolete-system-container" hidden>
<span id="update-obsolete-system" <span id="update-obsolete-system">$i18n{updateObsoleteSystem}</span>
i18n-content="updateObsoleteSystem"></span> <a i18n-values="href:updateObsoleteSystemURL" target="_blank">
<a i18n-values="href:updateObsoleteSystemURL" $i18n{learnMore}
i18n-content="learnMore" target="_blank"></a> </a>
</div> </div>
</if> </if>
<div id="allowed-connection-types-message" hidden></div> <div id="allowed-connection-types-message" hidden></div>
...@@ -52,22 +50,21 @@ ...@@ -52,22 +50,21 @@
<div id="eol-status-icon" class="help-page-icon"></div> <div id="eol-status-icon" class="help-page-icon"></div>
<div id="eol-status-message-container"> <div id="eol-status-message-container">
<div id="eol-message"></div> <div id="eol-message"></div>
<div id="eol-learnMore" i18n-content="eolLearnMore"></div> <div id="eol-learnMore">$i18n{eolLearnMore}</div>
</div> </div>
</div> </div>
</if> </if>
<div id="update-buttons-container"> <div id="update-buttons-container">
<div id="update-percentage" hidden></div> <div id="update-percentage" hidden></div>
<if expr="is_macosx"> <if expr="is_macosx">
<button id="promote" i18n-content="promote" hidden></button> <button id="promote" hidden>$i18n{promote}</button>
</if> </if>
<button id="relaunch" i18n-content="relaunch" hidden></button> <button id="relaunch" hidden>$i18n{relaunch}</button>
<if expr="chromeos"> <if expr="chromeos">
<button id="relaunch-and-powerwash" <button id="relaunch-and-powerwash" hidden>
i18n-content="relaunchAndPowerwash" hidden> $i18n{relaunchAndPowerwash}
</button>
<button id="request-update" i18n-content="updateButton">
</button> </button>
<button id="request-update">$i18n{updateButton}</button>
<div id="controlled-feature-icon" class="help-page-icon" hidden></div> <div id="controlled-feature-icon" class="help-page-icon" hidden></div>
</if> </if>
</div> </div>
...@@ -75,51 +72,52 @@ ...@@ -75,51 +72,52 @@
<if expr="chromeos"> <if expr="chromeos">
<div id="more-info-container"> <div id="more-info-container">
<section id="channel-changer-container" hidden> <section id="channel-changer-container" hidden>
<h3 i18n-content="channel"></h3> <h3>$i18n{channel}</h3>
<select id="channel-changer"> <select id="channel-changer">
<option value="stable-channel" i18n-content="stable"></option> <option value="stable-channel">$i18n{stable}</option>
<option value="beta-channel" i18n-content="beta"></option> <option value="beta-channel">$i18n{beta}</option>
<option value="dev-channel" i18n-content="dev"></option> <option value="dev-channel">$i18n{dev}</option>
</select> </select>
<div id="channel-change-confirmation" hidden></div> <div id="channel-change-confirmation" hidden></div>
</section> </section>
<section id="channel-change-page-container" hidden> <section id="channel-change-page-container" hidden>
<h3 i18n-content="channel"></h3> <h3>$i18n{channel}</h3>
<div id="current-channel"></div> <div id="current-channel"></div>
<div> <div>
<span id="dev-channel-disclaimer" i18n-content="devChannelDisclaimer" <span id="dev-channel-disclaimer" hidden>
hidden></span> $i18n{devChannelDisclaimer}
</span>
</div> </div>
<button id="change-channel" <button id="change-channel" disabled>
i18n-content="channelChangeButton" disabled> $i18n{channelChangeButton}
</button> </button>
<div id="channel-change-disallowed-icon" <div id="channel-change-disallowed-icon"
class="help-page-icon" hidden> class="help-page-icon" hidden>
</div> </div>
</section> </section>
<section> <section>
<h3 i18n-content="jsEngine" dir="ltr"></h3> <h3 dir="ltr">$i18n{jsEngine}</h3>
<div i18n-content="jsEngineVersion"></div> <div>$i18n{jsEngineVersion}</div>
</section> </section>
<section> <section>
<h3 i18n-content="userAgent"></h3> <h3>$i18n{userAgent}</h3>
<div i18n-content="userAgentInfo" dir="ltr"></div> <div dir="ltr">$i18n{userAgentInfo}</div>
</section> </section>
<section> <section>
<h3 i18n-content="commandLine"></h3> <h3>$i18n{commandLine}</h3>
<div i18n-content="commandLineInfo" dir="ltr"></div> <div dir="ltr">$i18n{commandLineInfo}</div>
</section> </section>
<section id="build-date-container" class="empty"> <section id="build-date-container" class="empty">
<h3 i18n-content="buildDate"></h3> <h3>$i18n{buildDate}</h3>
<div id="build-date"></div> <div id="build-date"></div>
</section> </section>
</div> </div>
<a is="action-link" id="more-info-expander" i18n-content="showMoreInfo"></a> <a is="action-link" id="more-info-expander">$i18n{showMoreInfo}</a>
</if> </if>
</div> </div>
<div id="product-container"> <div id="product-container">
<div i18n-content="productName"></div> <div>$i18n{productName}</div>
<div i18n-content="productCopyright"></div> <div>$i18n{productCopyright}</div>
<div id="product-license"></div> <div id="product-license"></div>
<if expr="chromeos"> <if expr="chromeos">
<div id="product-os-license"></div> <div id="product-os-license"></div>
......
<div id="help-page" class="page" hidden> <div id="help-page" class="page" hidden>
<div class="close-button"></div> <div class="close-button"></div>
<h1 i18n-content="aboutTitle"></h1> <h1>$i18n{aboutTitle}</h1>
<include src="help_content.html"> <include src="help_content.html">
<div class="action-area"> <div class="action-area">
<div class="button-strip"> <div class="button-strip">
<button id="about-done" class="default-button" i18n-content="done"> <button id="about-done" class="default-button">$i18n{done}</button>
</button>
</div> </div>
</div> </div>
</div> </div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment