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

Unified Diff: samples/polymer_intl/web/localized.html

Issue 105073003: Adds a sample for polymer internationalization/localization (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Made a line fit in the prescribed length Created 7 years 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: samples/polymer_intl/web/localized.html
diff --git a/samples/polymer_intl/web/localized.html b/samples/polymer_intl/web/localized.html
new file mode 100644
index 0000000000000000000000000000000000000000..ce5cf63a3d130ed2ca5ff91a8946d9145d3b0f4d
--- /dev/null
+++ b/samples/polymer_intl/web/localized.html
@@ -0,0 +1,14 @@
+<polymer-element name="localized-example">
+ <template>
+ <h1>Polymer Internationalized Messages Example</h1>
Jennifer Messerly 2013/12/06 22:19:44 -2 indent
Alan Knight 2013/12/06 23:52:31 Done.
+
+ <p>{{helloWorld}}</p>
+
+ <select value="{{selectedLocale}}">
+ <option value="en_US">English</option>
+ <option value="fr">French</option>
+ <option value="pt">Portguese</option>
+ </select>
+ </template>
+ <script type="application/dart" src="localized.dart"></script>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698