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

Unified Diff: components/dom_distiller/webui/resources/about_dom_distiller.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/dom_distiller/webui/resources/about_dom_distiller.html
diff --git a/components/dom_distiller/webui/resources/about_dom_distiller.html b/components/dom_distiller/webui/resources/about_dom_distiller.html
index 2a7c7de63222ec54835ffffde5f583f34e12bd37..91c4f49d9b4fe3607503c0cd0ba0e5c1655b7557 100644
--- a/components/dom_distiller/webui/resources/about_dom_distiller.html
+++ b/components/dom_distiller/webui/resources/about_dom_distiller.html
@@ -7,7 +7,7 @@ found in the LICENSE file.
<html>
<head>
<meta charset="utf-8">
- <title i18n-content="domDistillerTitle"></title>
+ <title>$i18n{domDistillerTitle}</title>
<link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
<link rel="stylesheet" href="chrome://resources/css/overlay.css">
<link rel="stylesheet" href="about_dom_distiller.css">
@@ -26,21 +26,21 @@ found in the LICENSE file.
<div id="mainContent">
<div id="list-section">
<header>
- <h1 id="listTitle" i18n-content="domDistillerTitle"></h1>
+ <h1 id="listTitle">$i18n{domDistillerTitle}</h1>
</header>
<div id="add-entry">
- <label for="article_url" i18n-content="addArticleUrl"></label>
+ <label for="article_url">$i18n{addArticleUrl}</label>
<input type="text" id="article_url" />
<br/>
- <button id="addbutton" i18n-content="addArticleAddButtonLabel"></button>
- <button id="viewbutton" i18n-content="viewUrlButtonLabel"></button>
- <span id="add-entry-error" i18n-content="addArticleFailedLabel"></span>
- <span id="view-url-error" i18n-content="viewUrlFailedLabel"></span>
+ <button id="addbutton">$i18n{addArticleAddButtonLabel}</button>
+ <button id="viewbutton">$i18n{viewUrlButtonLabel}</button>
+ <span id="add-entry-error">$i18n{addArticleFailedLabel}</span>
+ <span id="view-url-error">$i18n{viewUrlFailedLabel}</span>
</div>
<div id="update-list">
<form>
- <button id="refreshbutton" i18n-content="refreshButtonLabel"></button>
- <span id="entries-list-loading" i18n-content="loadingEntries"></span>
+ <button id="refreshbutton">$i18n{refreshButtonLabel}</button>
+ <span id="entries-list-loading">$i18n{loadingEntries}</span>
</form>
</div>
<ul id="entries-list">

Powered by Google App Engine
This is Rietveld 408576698