From 17aa8b4f5c08d86a220d661d0a0475b060b96c53 Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 19 Feb 2008 23:22:30 +0000 Subject: Fixed choice format example. --- demos/quickstart/protected/pages/Advanced/I18N.page | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demos') 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:TChoiceFormat Value="21"> - {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} </com:TChoiceFormat> -- cgit v1.2.3