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

Unified Diff: net/base/dir_header.html

Issue 2867683003: [i18n] dir header i18n-content/values to $i18n (Closed)
Patch Set: fix innerHTML 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/dir_header.html
diff --git a/net/base/dir_header.html b/net/base/dir_header.html
index b4cefe5db06017ec050ab55476ba2f0419ec7415..763ec30ce028f10d1fdb50625d6bf93f072671dd 100644
--- a/net/base/dir_header.html
+++ b/net/base/dir_header.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<html i18n-values="dir:textdirection;lang:language">
+<html dir="$i18n{textdirection}" lang="$i18n{language}">
<head>
<meta charset="utf-8">
@@ -192,22 +192,26 @@ function sortTable(column) {
<body>
-<div id="listingParsingErrorBox" i18n-values=".innerHTML:listingParsingErrorBoxText"></div>
+<div id="listingParsingErrorBox">$i18nRaw{listingParsingErrorBoxText}</div>
-<h1 id="header" i18n-content="header"></h1>
+<h1 id="header">$i18n{header}</h1>
<div id="parentDirLinkBox" style="display:none">
<a id="parentDirLink" class="icon up">
- <span id="parentDirText" i18n-content="parentDirText"></span>
+ <span id="parentDirText">$i18n{parentDirText}</span>
</a>
</div>
<table>
<thead>
<tr class="header" id="theader">
- <th i18n-content="headerName" onclick="javascript:sortTable(0);"></th>
- <th class="detailsColumn" i18n-content="headerSize" onclick="javascript:sortTable(1);"></th>
- <th class="detailsColumn" i18n-content="headerDateModified" onclick="javascript:sortTable(2);"></th>
+ <th onclick="javascript:sortTable(0);">$i18n{headerName}</th>
+ <th class="detailsColumn" onclick="javascript:sortTable(1);">
+ $i18n{headerSize}
+ </th>
+ <th class="detailsColumn" onclick="javascript:sortTable(2);">
+ $i18n{headerDateModified}
+ </th>
</tr>
</thead>
<tbody id="tbody">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698