"description": "A plural message with a dollar sign.",
"placeholders": {
"count": {}
}
},
"singleQuote": "Flutter'samazing!",
"@singleQuote": {
"description": "Amessagewithasinglequote."
},
"singleQuotePlural": "{count,plural,=1{Flutter's amazing, times 1!} other{Flutter'samazing,times{count}!}}",
"@singleQuotePlural": {
"description": "Apluralmessagewithasinglequote.",
"placeholders": {
"count": {}
}
},
"doubleQuote": "Flutteris\"amazing\"!",
"@doubleQuote":{
"description":"A message with double quotes."
},
"doubleQuotePlural":"{count,plural, =1{Flutter is \"amazing\", times 1!} other{Flutter is \"amazing\", times {count}!}}",
"@doubleQuotePlural":{
"description":"A plural message with double quotes.",
"placeholders":{
"count":{}
}
}
}
''';
...
...
@@ -426,8 +459,12 @@ void main() {
"helloWorldPopulation":"{count,plural, =1{Hello World of {population} citizens} =2{Hello two worlds with {population} total citizens} many{Hello all {count} worlds, with a total of {population} citizens} other{Hello other {count} worlds, with a total of {population} citizens}}",
"helloWorldInterpolation":"[{hello}] #{world}#",
"helloWorldsInterpolation":"{count,plural, other {[{hello}] -{world}- #{count}#}}",