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

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: Changes from review 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
« no previous file with comments | « samples/polymer_intl/web/localized.dart ('k') | samples/polymer_intl/web/messages_all.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c7fc4723844ef1a71e028b90017a69c456b97299
--- /dev/null
+++ b/samples/polymer_intl/web/localized.html
@@ -0,0 +1,19 @@
+<!--
+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.
+-->
+<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>
+ </select>
+ </template>
+ <script type="application/dart" src="localized.dart"></script>
+</polymer-element>
« no previous file with comments | « samples/polymer_intl/web/localized.dart ('k') | samples/polymer_intl/web/messages_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698