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

Unified Diff: chrome/browser/resources/md_history/history_toolbar.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_toolbar.html
diff --git a/chrome/browser/resources/md_history/history_toolbar.html b/chrome/browser/resources/md_history/history_toolbar.html
index 7e46840aaecb2f0b335050475f80a812eb09b247..ca8be5cf6a54f958d065e15f1830ff0a2fec8c9e 100644
--- a/chrome/browser/resources/md_history/history_toolbar.html
+++ b/chrome/browser/resources/md_history/history_toolbar.html
@@ -50,9 +50,10 @@
</style>
<template is="dom-if" if="{{!itemsSelected_}}">
- <h1 i18n-content="title" id="title"></h1>
- <cr-search-field id="search-input"
- i18n-values="label:search;clear-label:clearSearch"></cr-search-field>
+ <h1 id="title">$i18n{title}</h1>
+ <cr-search-field id="search-input" label="$i18n{search}"
+ clear-label="$i18n{clearSearch}">
+ </cr-search-field>
</template>
<template is="dom-if" if="{{itemsSelected_}}">

Powered by Google App Engine
This is Rietveld 408576698