YAML

2 views
Skip to first unread message

Maciej Piechotka

unread,
Jun 24, 2008, 4:55:02 PM6/24/08
to Merb Global Mailing List
I'm thinking about changing YAML format from:
---
:plural: "(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ?
1 : 2)"
:nplural: 3
"Test":
:plural: "Tests"
0: "Test"
1: "Testy"
2: "Testów"
"Hello": "Cześć"

into:
---
:plural: "(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ?
1 : 2)"
:nplural: 3
"Test":
- "Test"
- "Testy"
- "Testów"
"Hello": "Cześć"

However I don't know where plural should go. What do you think?

signature.asc
Reply all
Reply to author
Forward
0 new messages