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

Unified Diff: components/crash/core/browser/resources/crashes.html

Issue 2908353003: [i18n] components directory to $i18n{} (Closed)
Patch Set: handle blank cohort name 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
Index: components/crash/core/browser/resources/crashes.html
diff --git a/components/crash/core/browser/resources/crashes.html b/components/crash/core/browser/resources/crashes.html
index 19ba4001f422f8fa5961584500c756b4876bf570..f6b80a7475b50b5416d9b47caebf54102027ca93 100644
--- a/components/crash/core/browser/resources/crashes.html
+++ b/components/crash/core/browser/resources/crashes.html
@@ -1,5 +1,5 @@
<!doctype html>
-<html i18n-values="dir:textdirection;lang:language">
+<html dir="$i18n{textdirection}" lang="$i18n{language}">
<head>
<meta charset="utf-8">
@@ -12,7 +12,7 @@
<script src="chrome://resources/js/ios/web_ui.js"></script>
</if>
- <title i18n-content="crashesTitle"></title>
+ <title>$i18n{crashesTitle}</title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="chrome://resources/css/widgets.css">
<link rel="stylesheet" href="crashes.css">
@@ -23,19 +23,20 @@
<script src="chrome://crashes/crashes.js"></script>
</head>
<body>
- <header><h1 i18n-content="crashesTitle"></h1></header>
+ <header><h1>$i18n{crashesTitle}</h1></header>
<div id="crashUploadStatus" hidden>
- <a is="action-link" role="button" id="uploadCrashes"
- i18n-content="uploadCrashesLinkText"></a>
+ <a is="action-link" role="button" id="uploadCrashes">
+ $i18n{uploadCrashesLinkText}
+ </a>
</div>
<div id="disabledMode" hidden>
- <h2 i18n-content="disabledHeader"></h2>
- <p i18n-values=".innerHTML:disabledMessage"></p>
+ <h2>$i18n{disabledHeader}</h2>
+ <p>$i18nRaw{disabledMessage}</p>
</div>
<div id="crashesInfo">
<h2 id="countBanner"></h2>
<div id="crashList"></div>
- <p id="noCrashes" i18n-content="noCrashesMessage" hidden></p>
+ <p id="noCrashes" hidden>$i18n{noCrashesMessage}</p>
</div>
<script src="chrome://resources/js/i18n_template.js"></script>
<script src="chrome://resources/js/jstemplate_compiled.js"></script>

Powered by Google App Engine
This is Rietveld 408576698