aboutsummaryrefslogtreecommitdiffstats
path: root/i18n/e2e/localeTest_es.html
diff options
context:
space:
mode:
authorDi Peng2011-07-29 14:22:37 -0700
committerIgor Minar2011-08-14 23:44:20 -0700
commit966cbd4cf8d795b1706ff400f604c6002d7e81f9 (patch)
tree3ca9c42d7bad4f151c72d39f3ef9b053de6cc861 /i18n/e2e/localeTest_es.html
parent8534b7c7c0aa352eb0f17dbe8b22ba34f995654d (diff)
downloadangular.js-966cbd4cf8d795b1706ff400f604c6002d7e81f9.tar.bz2
feat(i18n): collect and convert locale info from closure
- add i18n/closure directory with closure i18n files and update-closure.sh script to update them - generate.sh script runs node.js scripts that extract localization rules from the closure library, transform them to a more suitable format and dumps them into i18n/locale directory as angular's $locale services - update Rakefile to copy i18n files to build/ and pkg/ dirs - copy i18n stuff during rake build - e2e tests for several locales
Diffstat (limited to 'i18n/e2e/localeTest_es.html')
-rw-r--r--i18n/e2e/localeTest_es.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/i18n/e2e/localeTest_es.html b/i18n/e2e/localeTest_es.html
new file mode 100644
index 00000000..c4f7a997
--- /dev/null
+++ b/i18n/e2e/localeTest_es.html
@@ -0,0 +1,16 @@
+<!document html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>locale test</title>
+ <script src="../../build/angular.js" ng:autobind></script>
+ <script src="../../build/i18n/angular-locale_es.js"></script>
+ </head>
+ <body>
+ <input type="text" name="input" value="234234443432"><br>
+ date: {{input | date:"medium"}}<br>
+ date: {{input | date:"longDate"}}<br>
+ number: {{input | number}}<br>
+ currency: {{input | currency }}
+ </body>
+</html>