aboutsummaryrefslogtreecommitdiffstats
path: root/i18n/e2e
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/e2e')
-rw-r--r--i18n/e2e/localeTest_cs.html9
-rw-r--r--i18n/e2e/localeTest_de.html9
-rw-r--r--i18n/e2e/localeTest_en.html21
-rw-r--r--i18n/e2e/localeTest_es.html9
-rw-r--r--i18n/e2e/localeTest_sk.html12
-rw-r--r--i18n/e2e/localeTest_zh.html21
6 files changed, 60 insertions, 21 deletions
diff --git a/i18n/e2e/localeTest_cs.html b/i18n/e2e/localeTest_cs.html
index a2e1966e..2d8845a2 100644
--- a/i18n/e2e/localeTest_cs.html
+++ b/i18n/e2e/localeTest_cs.html
@@ -5,9 +5,14 @@
<title>locale test</title>
<script src="../../build/angular.js" ng:autobind></script>
<script src="../../build/i18n/angular-locale_cs.js"></script>
+ <script>
+ function AppCntl(){
+ this.input = 234234443432;
+ }
+ </script>
</head>
- <body>
- <input type="text" name="input" value="234234443432"><br>
+ <body ng:controller="AppCntl">
+ <input type="text" ng:model="input"><br>
date: {{input | date:"medium"}}<br>
date: {{input | date:"longDate"}}<br>
number: {{input | number}}<br>
diff --git a/i18n/e2e/localeTest_de.html b/i18n/e2e/localeTest_de.html
index 931c56dd..8618c44d 100644
--- a/i18n/e2e/localeTest_de.html
+++ b/i18n/e2e/localeTest_de.html
@@ -5,9 +5,14 @@
<title>locale test</title>
<script src="../../build/angular.js" ng:autobind></script>
<script src="../../build/i18n/angular-locale_de.js"></script>
+ <script>
+ function AppCntl(){
+ this.input = 234234443432;
+ }
+ </script>
</head>
- <body>
- <input type="text" name="input" value="234234443432"><br>
+ <body ng:controller="AppCntl">
+ <input type="text" ng:model="input"><br>
date: {{input | date:"medium"}}<br>
date: {{input | date:"longDate"}}<br>
number: {{input | number}}<br>
diff --git a/i18n/e2e/localeTest_en.html b/i18n/e2e/localeTest_en.html
index ca151c30..de77681b 100644
--- a/i18n/e2e/localeTest_en.html
+++ b/i18n/e2e/localeTest_en.html
@@ -7,17 +7,26 @@
<!-- not needed, already bundled in angular.js
<script src="../../build/i18n/angular-locale_en.js"></script>
-->
+ <script>
+ function AppCntl(){
+ this.input = 234234443432;
+ this.plInput = 1;
+ this.person1 = "Shanjian";
+ this.person2 = "Di";
+ this.plInput2 = 1;
+ }
+ </script>
</head>
- <body>
+ <body ng:controller="AppCntl">
<h3>Datetime/Number/Currency filters demo:</h3>
- <input type="text" name="input" value="234234443432"><br>
+ <input type="text" ng:model="input" value="234234443432"><br>
date(medium): {{input | date:"medium"}}<br>
date(longDate): {{input | date:"longDate"}}<br>
number: {{input | number}}<br>
currency: {{input | currency }}
<hr/>
<h3>Pluralization demo:</h3>
- <input type="text" name="plInput" value="1"><br>
+ <input type="text" ng:model="plInput"><br>
<ng:pluralize count="plInput"
when= "{ '0': 'You have no email!',
'one': 'You have one email!',
@@ -25,9 +34,9 @@
</ng:pluralize>
<hr/>
<h3>Pluralization demo with offsets:</h3>
- Name of person1:<input type="text" name="person1" value="Shanjian"/><br/>
- Name of person2:<input type="text" name="person2" value="Di"/><br/>
- <input type="text" name="plInput2" value="1"><br>
+ Name of person1:<input type="text" ng:model="person1"/><br/>
+ Name of person2:<input type="text" ng:model="person2"/><br/>
+ <input type="text" ng:model="plInput2"><br>
<ng:pluralize count="plInput2" offset=2
when= "{'0':'Nobody is viewing!',
'1': '{{person1}} is viewing!',
diff --git a/i18n/e2e/localeTest_es.html b/i18n/e2e/localeTest_es.html
index bb426923..50c8c076 100644
--- a/i18n/e2e/localeTest_es.html
+++ b/i18n/e2e/localeTest_es.html
@@ -5,9 +5,14 @@
<title>locale test</title>
<script src="../../build/angular.js" ng:autobind></script>
<script src="../../build/i18n/angular-locale_es.js"></script>
+ <script>
+ function AppCntl(){
+ this.input = 234234443432;
+ }
+ </script>
</head>
- <body>
- <input type="text" name="input" value="234234443432"><br>
+ <body ng:controller="AppCntl">
+ <input type="text" ng:model="input" value="234234443432"><br>
date: {{input | date:"medium"}}<br>
date: {{input | date:"longDate"}}<br>
number: {{input | number}}<br>
diff --git a/i18n/e2e/localeTest_sk.html b/i18n/e2e/localeTest_sk.html
index f9ae87f7..ab0bb2a5 100644
--- a/i18n/e2e/localeTest_sk.html
+++ b/i18n/e2e/localeTest_sk.html
@@ -5,15 +5,21 @@
<title>locale test</title>
<script src="../../build/angular.js" ng:autobind></script>
<script src="../../build/i18n/angular-locale_sk-sk.js"></script>
+ <script>
+ function AppCntl(){
+ this.input = 234234443432;
+ this.plInput = 1;
+ }
+ </script>
</head>
- <body>
- <input type="text" name="input" value="234234443432"><br>
+ <body ng:controller="AppCntl">
+ <input type="text" ng:model="input" value="234234443432"><br>
date: {{input | date:"medium"}}<br>
date: {{input | date:"longDate"}}<br>
number: {{input | number}}<br>
currency: {{input | currency }}
<hr/>
- <input type="text" name="plInput" value="1"><br>
+ <input type="text" ng:model="plInput"><br>
<ng:pluralize count="plInput"
when= "{ 'one': 'Mas jeden email!',
'few': 'Mas {} emaily!',
diff --git a/i18n/e2e/localeTest_zh.html b/i18n/e2e/localeTest_zh.html
index 7e2feec5..3ccad5ed 100644
--- a/i18n/e2e/localeTest_zh.html
+++ b/i18n/e2e/localeTest_zh.html
@@ -5,25 +5,34 @@
<title>locale test</title>
<script src="../../build/angular.js" ng:autobind></script>
<script src="../../build/i18n/angular-locale_zh-cn.js"></script>
+ <script>
+ function AppCntl(){
+ this.input = 234234443432;
+ this.plInput = 1;
+ this.person1 = "Shanjian";
+ this.person2 = "Di";
+ this.plInput2 = 1;
+ }
+ </script>
</head>
- <body>
+ <body ng:controller="AppCntl">
<h3>Datetime/Number/Currency filters demo:</h3>
- <input type="text" name="input" value="234234443432"><br>
+ <input type="text" ng:model="input"><br>
date(medium): {{input | date:"medium"}}<br>
date(longDate): {{input | date:"longDate"}}<br>
number: {{input | number}}<br>
currency: {{input | currency }}
<hr/>
<h3>Pluralization demo:</h3>
- <input type="text" name="plInput" value="1"><br>
+ <input type="text" ng:model="plInput"><br>
<ng:pluralize count="plInput"
when= "{'other':'{}人在浏览该文件!'}">
</ng:pluralize>
<hr/>
<h3>Pluralization demo with offsets:</h3>
- Name of person1:<input type="text" name="person1" value="Shanjian"/><br/>
- Name of person2:<input type="text" name="person2" value="Di"/><br/>
- <input type="text" name="plInput2" value="1"><br>
+ Name of person1:<input type="text" ng:model="person1"/><br/>
+ Name of person2:<input type="text" ng:model="person2"/><br/>
+ <input type="text" ng:model="plInput2"><br>
<ng:pluralize count="plInput2" offset=2
when= "{'0':'没有人在浏览该文件!',
'1': '{{person1}} 在浏览该文件!',