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

Side by Side Diff: src/site/samples/polymer_intl/example/polymer_intl.html

Issue 140303004: Added polymer internationalization sample (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 for details. All rights reserved. Use of this source code is governed by a
4 BSD-style license that can be found in the LICENSE file.
5 --><!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug. js"></script>
6 <script src="packages/custom_element/custom-elements.debug.js"></script>
7 <script src="packages/browser/interop.js"></script>
8
9 <meta charset="utf-8">
10 <title>Localization Example</title>
11 <link rel="stylesheet" href="polymer_intl.css">
12
13
14 <script src="polymer_intl.html_bootstrap.dart.js"></script>
15
16 </head>
17 <body><polymer-element name="localized-example">
18 <template>
19 <h1>Polymer Internationalized Messages Example</h1>
20
21 <p>{{helloWorld}}</p>
22
23 <select value="{{selectedLocale}}">
24 <option value="en_US">English</option>
25 <option value="fr">French</option>
26 <option value="pt">Portguese</option>
Kathy Walrath 2014/01/24 17:48:25 Portguese -> Portuguese
shailentuli 2014/01/27 17:07:15 Done.
27 </select>
28 </template>
29
30 </polymer-element>
31
32 <localized-example></localized-example>
33
34
35 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698