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

Unified Diff: chrome/browser/resources/media_router/elements/route_details/route_details.html

Issue 1886003002: [Media Router WebUI] Use I18nBehavior to retrieve strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/media_router/elements/route_details/route_details.html
diff --git a/chrome/browser/resources/media_router/elements/route_details/route_details.html b/chrome/browser/resources/media_router/elements/route_details/route_details.html
index 6ea7c6d2a641274f5b5b601c492e4ae572a5d5ec..9fc321f67624a237377c4ceb2ad839ea412eeb63 100644
--- a/chrome/browser/resources/media_router/elements/route_details/route_details.html
+++ b/chrome/browser/resources/media_router/elements/route_details/route_details.html
@@ -1,4 +1,5 @@
<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<dom-module id="route-details">
<link rel="import" type="css" href="../../media_router_common.css">
@@ -15,12 +16,12 @@
id="start-casting-to-route-button"
hidden$="[[!route.canJoin]]"
on-tap="startCastingToRoute_">
- <span>[[i18n_.startCastingButtonText]]</span>
+ <span>[[i18n('startCastingButtonText')]]</span>
</paper-button>
<paper-button flat class="route-button button"
id="close-route-button"
on-tap="closeRoute_">
- <span>[[i18n_.stopCastingButtonText]]</span>
+ <span>[[i18n('stopCastingButtonText')]]</span>
</paper-button>
<div>
</template>

Powered by Google App Engine
This is Rietveld 408576698