Chromium Code Reviews| Index: src/site/samples/polymer_intl/example/polymer_intl.html |
| diff --git a/src/site/samples/polymer_intl/example/polymer_intl.html b/src/site/samples/polymer_intl/example/polymer_intl.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7a30859c0447a22310c6c1532cd3d7bd491cf318 |
| --- /dev/null |
| +++ b/src/site/samples/polymer_intl/example/polymer_intl.html |
| @@ -0,0 +1,35 @@ |
| +<!-- |
| +Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| +for details. All rights reserved. Use of this source code is governed by a |
| +BSD-style license that can be found in the LICENSE file. |
| +--><!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js"></script> |
| +<script src="packages/custom_element/custom-elements.debug.js"></script> |
| +<script src="packages/browser/interop.js"></script> |
| + |
| + <meta charset="utf-8"> |
| + <title>Localization Example</title> |
| + <link rel="stylesheet" href="polymer_intl.css"> |
| + |
| + |
| + <script src="polymer_intl.html_bootstrap.dart.js"></script> |
| + |
| + </head> |
| + <body><polymer-element name="localized-example"> |
| + <template> |
| + <h1>Polymer Internationalized Messages Example</h1> |
| + |
| + <p>{{helloWorld}}</p> |
| + |
| + <select value="{{selectedLocale}}"> |
| + <option value="en_US">English</option> |
| + <option value="fr">French</option> |
| + <option value="pt">Portguese</option> |
|
Kathy Walrath
2014/01/24 17:48:25
Portguese -> Portuguese
shailentuli
2014/01/27 17:07:15
Done.
|
| + </select> |
| + </template> |
| + |
| +</polymer-element> |
| + |
| + <localized-example></localized-example> |
| + |
| + |
| +</body></html> |