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

Unified Diff: components/physical_web/webui/resources/physical_web.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/physical_web/webui/resources/physical_web.html
diff --git a/components/physical_web/webui/resources/physical_web.html b/components/physical_web/webui/resources/physical_web.html
index 034912ed7433059ca54275708536114008356014..a873271a69d17cc8594fea18917aae85b3adb1b0 100644
--- a/components/physical_web/webui/resources/physical_web.html
+++ b/components/physical_web/webui/resources/physical_web.html
@@ -1,8 +1,8 @@
<!doctype html>
-<html i18n-values="dir:textdirection;lang:language">
+<html dir="$i18n{textdirection}" lang="$i18n{language}">
<head>
<meta charset="utf-8">
-<title i18n-content="title"></title>
+<title>$i18n{title}</title>
<if expr="is_android or is_ios">
<meta name="viewport" content="width=device-width, user-scalable=no">
</if>
@@ -22,9 +22,9 @@
<body>
<div id="body-container" hidden>
- <h1 i18n-content="title"></h1>
+ <h1>$i18n{title}</h1>
<div id="render-container"></div>
- <div id="empty-list-container" i18n-content="emptyMessage"></div>
+ <div id="empty-list-container">$i18n{emptyMessage}</div>
</div>
<a hidden id="render-template" class="physicalWebTemplate" jsselect="metadata"

Powered by Google App Engine
This is Rietveld 408576698