"description":"A select message with a single quote.",
"placeholders":{
"vehicleType":{}
}
},
"doubleQuoteSelect":"{vehicleType, select, sedan{Sedan has \"elegance\"} cabriolet{Cabriolet has \"acceleration\"} truck{truck is \"heavy duty\"} other{Other have \"mirrors\"!}}",
"@doubleQuoteSelect":{
"description":"A select message with double quote.",
"placeholders":{
"vehicleType":{}
}
},
"pluralInString":"Oh, she found {count, plural, =1 {1 item} other {all {count} items} }!",
"@pluralInString":{
"description":"A plural message with prefix and suffix strings.",
"placeholders":{
"count":{}
}
},
"selectInString":"Indeed, {gender, select, male {he likes} female {she likes} other {they like} } Flutter!",
"@selectInString":{
"description":"A select message with prefix and suffix strings.",
"placeholders":{
"gender":{}
}
}
}
''';
...
...
@@ -646,13 +696,18 @@ void main() {
"helloWorldsOn": "{count,plural, =0{ES - Hello on {date}} =1{ES - Hello World, on {date}} =2{ES - Hello two worlds, on {date}} other{ES - Hello other {count} worlds, on {date}}}",
"helloWorldPopulation": "{ES - count,plural, =1{ES - Hello World of {population} citizens} =2{ES - Hello two worlds with {population} total citizens} many{ES - Hello all {count} worlds, with a total of {population} citizens} other{ES - Hello other {count} worlds, with a total of {population} citizens}}",
"doubleQuoteSelect":"{vehicleType, select, sedan{ES - Sedan has \"elegance\"} cabriolet{ES - Cabriolet has \"acceleration\"} truck{ES - truck is \"heavy duty\"} other{ES - Other have \"mirrors\"!}}",
"pluralInString":"ES - Oh, she found {count, plural, =1 {ES - 1 item} other {ES - all {count} items} }ES - !",
"selectInString":"ES - Indeed, {gender, select, male {ES - he likes} female {ES - she likes} other {ES - they like} } ES - Flutter!"