Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: components/security_interstitials/core/browser/resources/interstitial_large.html

Issue 2946793002: [i18n] interstitial_large.html i18n-* to $i18n (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/security_interstitials/core/browser/resources/interstitial_large.html
diff --git a/components/security_interstitials/core/browser/resources/interstitial_large.html b/components/security_interstitials/core/browser/resources/interstitial_large.html
index bcb762a2c22f71d7136886b9ab4f8591ee8c330a..795491ebba565c957115e944bbddeffe8d931884 100644
--- a/components/security_interstitials/core/browser/resources/interstitial_large.html
+++ b/components/security_interstitials/core/browser/resources/interstitial_large.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport"
content="initial-scale=1, minimum-scale=1, width=device-width">
- <title i18n-content="tabTitle"></title>
+ <title>$i18n{tabTitle}</title>
<link rel="stylesheet" href="interstitial_common.css">
<link rel="stylesheet" href="interstitial_large.css">
<script src="../../../../../ui/webui/resources/js/util.js"></script>
@@ -21,7 +21,7 @@
<div class="icon" id="icon"></div>
<div id="main-message">
<h1>$i18n{heading}</h1>
- <p i18n-values=".innerHTML:primaryParagraph"></p>
+ <p>$i18nRaw{primaryParagraph}</p>
<div id="debugging">
<div id="error-code" class="error-code"></div>
<div id="error-debugging-info" class="hidden"></div>
@@ -39,11 +39,13 @@
</div>
<div class="nav-wrapper">
<button id="primary-button">$i18n{primaryButtonText}</button>
- <button id="details-button" class="small-link">$i18n{openDetails}</button>
+ <button id="details-button" class="small-link">
+ $i18n{openDetails}
+ </button>
</div>
<div id="details" class="hidden">
- <p i18n-values=".innerHTML:explanationParagraph"></p>
- <p i18n-values=".innerHTML:finalParagraph" id="final-paragraph"></p>
+ <p>$i18nRaw{explanationParagraph}</p>
+ <p id="final-paragraph">$i18nRaw{finalParagraph}</p>
</div>
</div>
</body>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698