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

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

Issue 2908353003: [i18n] components directory to $i18n{} (Closed)
Patch Set: indentation Created 3 years, 7 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
Index: components/security_interstitials/core/browser/resources/interstitial_v2.html
diff --git a/components/security_interstitials/core/browser/resources/interstitial_v2.html b/components/security_interstitials/core/browser/resources/interstitial_v2.html
index f382689f3d35bdaa8836f3238884c00854584896..24be84d3940430791d8f44c38beef54a64126070 100644
--- a/components/security_interstitials/core/browser/resources/interstitial_v2.html
+++ b/components/security_interstitials/core/browser/resources/interstitial_v2.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_v2.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>

Powered by Google App Engine
This is Rietveld 408576698