- Use go-i18n only to pick a category label, then substitute :name/:Name/:NAME
- Treat YAML maps as plurals when all keys are locale CLDR categories
- Parse pipe strings with {n} and [a,b]/[a,*] conditions at catalog load
Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
194 B
YAML
9 lines
194 B
YAML
greeting: Hello
|
|
labels:
|
|
pluginName: Hello plugin
|
|
albums:
|
|
one: ":count album"
|
|
other: ":count albums"
|
|
items: "{0} No items|{1} One item|[2,*] :count items"
|
|
helloName: "hi :name :Name :NAME"
|