| 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..dc211e6cef987626e1ba6c3d0e3e6b1914062918
|
| --- /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">Portuguese</option>
|
| + </select>
|
| + </template>
|
| +
|
| +</polymer-element>
|
| +
|
| + <localized-example></localized-example>
|
| +
|
| +
|
| +</body></html>
|
|
|