summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected
diff options
context:
space:
mode:
authorwei <>2008-02-19 23:22:30 +0000
committerwei <>2008-02-19 23:22:30 +0000
commit17aa8b4f5c08d86a220d661d0a0475b060b96c53 (patch)
tree41ee8636a16d31621618995af59ed5536bc3f02f /demos/quickstart/protected
parentd88930d23f712f9b9da279f32ee689e6d719f13b (diff)
Fixed choice format example.
Diffstat (limited to 'demos/quickstart/protected')
-rw-r--r--demos/quickstart/protected/pages/Advanced/I18N.page6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Advanced/I18N.page b/demos/quickstart/protected/pages/Advanced/I18N.page
index 73ff1d04..306553e1 100644
--- a/demos/quickstart/protected/pages/Advanced/I18N.page
+++ b/demos/quickstart/protected/pages/Advanced/I18N.page
@@ -385,9 +385,9 @@ represents ordinal values in English such as: "0th", "1st", "2nd", "3rd", "4th",
<com:TTextHighlighter Language="prado" CssClass="source block-content" >
&lt;com:TChoiceFormat Value="21"&gt;
- {n: (n > 0) && (n < 10 || n > 20) && n % 10 == 1} {Value}st
-|{n: (n > 0) && (n < 10 || n > 20) && n % 10 == 2} {Value}nd
-|{n: (n > 0) && (n < 10 || n > 20) && n % 10 == 3} {Value}rd
+ {n: n > 0 && n % 10 == 1 && n % 100 != 11} {Value}st
+|{n: n > 0 && n % 10 == 2 && n % 100 != 12} {Value}nd
+|{n: n > 0 && n % 10 == 3 && n % 100 != 13} {Value}rd
|{n: n > -1 } {Value}th
|(-Inf, 0) {Value}
&lt;/com:TChoiceFormat&gt;