OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 4 BSD-style license that can be found in the LICENSE file. |
5 --> | 5 --> |
| 6 <link rel="import" href="packages/polymer/polymer.html"> |
6 <polymer-element name="localized-example"> | 7 <polymer-element name="localized-example"> |
7 <template> | 8 <template> |
8 <h1>Polymer Internationalized Messages Example</h1> | 9 <h1>Polymer Internationalized Messages Example</h1> |
9 | 10 |
10 <p>{{helloWorld}}</p> | 11 <p>{{helloWorld}}</p> |
11 | 12 |
12 <select value="{{selectedLocale}}"> | 13 <select value="{{selectedLocale}}"> |
13 <option value="en_US">English</option> | 14 <option value="en_US">English</option> |
14 <option value="fr">French</option> | 15 <option value="fr">French</option> |
15 <option value="pt">Portguese</option> | 16 <option value="pt">Portguese</option> |
16 </select> | 17 </select> |
17 </template> | 18 </template> |
18 <script type="application/dart" src="localized.dart"></script> | 19 <script type="application/dart" src="localized.dart"></script> |
19 </polymer-element> | 20 </polymer-element> |
OLD | NEW |