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

Unified Diff: components/neterror/resources/neterror.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/neterror/resources/neterror.html
diff --git a/components/neterror/resources/neterror.html b/components/neterror/resources/neterror.html
index 3038e71721db90d34d2cf49e04f3d6619676469f..4c652ae9d479de9640594d31cf72d3992ce836d5 100644
--- a/components/neterror/resources/neterror.html
+++ b/components/neterror/resources/neterror.html
@@ -1,10 +1,10 @@
<!doctype html>
-<html i18n-values="dir:textdirection;lang:language">
+<html dir="$i18n{textdirection}" lang="$i18n{language}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no">
- <title i18n-content="title"></title>
+ <title>$i18n{title}</title>
<link rel="stylesheet" href="../../../components/security_interstitials/core/browser/resources/interstitial_common.css">
<link rel="stylesheet" href="../../../components/security_interstitials/core/browser/resources/interstitial_large.css">
<link rel="stylesheet" href="neterror.css">
@@ -12,7 +12,7 @@
<script src="neterror.js"></script>
<script src="offline.js"></script>
</head>
-<body id="t" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
+<body id="t" style="fontFamily:$i18n{fontfamily};fontSize:$i18n{fontsize}">
<div id="main-frame-error" class="interstitial-wrapper">
<div id="main-content">
<div class="icon"

Powered by Google App Engine
This is Rietveld 408576698