mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
- 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
16 lines
474 B
HTML
16 lines
474 B
HTML
<!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_cs.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>
|