diff options
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.page')
-rw-r--r-- | tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.page | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.page b/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.page new file mode 100644 index 00000000..e13eecf2 --- /dev/null +++ b/tests/FunctionalTests/features/protected/pages/I18N/BasicI18N.page @@ -0,0 +1,31 @@ +<%@ Title="Basic I18N Test" Application.Globalization.Culture="zh_CN" %>
+<com:TContent ID="Content">
+<h1>Basic I18N Test</h1>
+<com:TTranslate>
+ Hello {name}
+ <com:TTranslateParameter Key="name">
+ <com:TLabel>
+ <com:TTranslate>Name</com:TTranslate>
+ </com:TLabel>
+ </com:TTranslateParameter>
+</com:TTranslate>
+
+<div>
+<com:TNumberFormat Value="10000" Type="currency"/>
+</div>
+<div><com:TDateFormat Value="2006-01-15" Culture="zh_CN"/></div>
+
+<div>
+<com:TChoiceFormat Value="0">
+ [0] None |[1] One thing. |[2,Inf) Many things.
+</com:TChoiceFormat><br />
+
+<com:TChoiceFormat Value="1">
+ [0] None |[1] One thing. |[2,Inf) Many things.
+</com:TChoiceFormat><br />
+
+<com:TChoiceFormat Value="5">
+ [0] None |[1] One thing. |[2,Inf) Many things.
+</com:TChoiceFormat>
+</div>
+</com:TContent>
\ No newline at end of file |