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

Unified Diff: chrome/browser/resources/md_history/history.html

Issue 1609683002: MD History: Rewrite i18n system using ReplaceTemplateExpressions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_history_2
Patch Set: Rebased Created 4 years, 11 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: chrome/browser/resources/md_history/history.html
diff --git a/chrome/browser/resources/md_history/history.html b/chrome/browser/resources/md_history/history.html
index 29b8ba364581bcb4be422b9fb9a795b4995e89db..2471103f49f9b2178e99d39c6cf03b2e197768d2 100644
--- a/chrome/browser/resources/md_history/history.html
+++ b/chrome/browser/resources/md_history/history.html
@@ -1,8 +1,8 @@
<!doctype html>
-<html i18n-values="dir:textdirection;lang:language">
-<head>
+<html dir="$i18n{textdirection}" lang="$i18n{language}">
+ <head>
<meta charset="utf8">
- <title i18n-content="title"></title>
+ <title>$i18n{title}</title>
<link rel="stylesheet" href="chrome://resources/css/roboto.css">
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
@@ -45,10 +45,9 @@
<script src="history.js"></script>
- <!-- Prepare strings and perform i18n substitutions. -->
+ <!-- Prepare load time strings. -->
<link rel="import" href="chrome://resources/html/load_time_data.html">
<script src="strings.js"></script>
- <link rel="import" href="chrome://resources/html/i18n_template.html">
</body>
</html>
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/history_card_manager.html » ('j') | chrome/browser/ui/webui/md_history_ui.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698