(Feat): Initial Commit
This commit is contained in:
13
internal/i18n/testdata/i18n-plural/de.toml
vendored
Normal file
13
internal/i18n/testdata/i18n-plural/de.toml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# {{.Count}} is injected by default while using service.TranslatePlural
|
||||
|
||||
# pluralized structured format
|
||||
[cats]
|
||||
zero="Ich habe keine Katze."
|
||||
one="Ich habe eine Katze."
|
||||
other="Ich habe {{.Count}} Katzen."
|
||||
|
||||
# pluralized single line format
|
||||
"dogs.zero"="Ich habe keinen Hund."
|
||||
"dogs.one"="Ich habe einen Hund."
|
||||
"dogs.other"="Ich habe {{.Count}} Hunde."
|
||||
|
||||
12
internal/i18n/testdata/i18n-plural/en.toml
vendored
Normal file
12
internal/i18n/testdata/i18n-plural/en.toml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# {{.Count}} is injected by default while using service.TranslatePlural
|
||||
|
||||
# pluralized structured format
|
||||
[cats]
|
||||
zero="I don't have a cat."
|
||||
one="I've one cat."
|
||||
other="I've {{.Count}} cats."
|
||||
|
||||
# pluralized single line format
|
||||
"dogs.zero"="I don't have a dog."
|
||||
"dogs.one"="I've one dog."
|
||||
"dogs.other"="I've {{.Count}} dogs."
|
||||
Reference in New Issue
Block a user