summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
diff options
context:
space:
mode:
authorwei <>2006-01-06 04:40:33 +0000
committerwei <>2006-01-06 04:40:33 +0000
commitab5bd4f0f9e5b76a219a8b3d353ce32d9255edb9 (patch)
tree79429edebb1ce48623b93d90cf0e37e59a02c53c /tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
parent3b11f3555426a50664e130148fa37e18b8098e28 (diff)
Adding BasicI18N tests
Diffstat (limited to 'tests/FunctionalTests/protected/pages/I18N/BasicI18N.page')
-rw-r--r--tests/FunctionalTests/protected/pages/I18N/BasicI18N.page60
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
new file mode 100644
index 00000000..9d1b8588
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
@@ -0,0 +1,60 @@
+<!doctype html public
+ "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+ <title>Basic I18N Test</title>
+ <style type="text/css">
+ /*<![CDATA[*/
+ body
+ {
+ font-family: Georgia, "Times New Roman", Times, serif;
+ }
+ .w3c
+ {
+ margin-top: 2em;
+ display: block;
+ }
+ /*]]>*/
+ </style>
+</head>
+
+<body>
+<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 /></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>
+
+<div class="w3c">
+<a href="http://validator.w3.org/check?uri=referer">
+ Validate XHTML 1.0
+</a>
+</div>
+</body>
+</html> \ No newline at end of file