🍱 Generated empty esperanto locale strings

This commit is contained in:
Maxim Lebedev 2024-05-02 05:51:21 +05:00
parent 41c7387f2f
commit 1fdb84345b
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
2 changed files with 78 additions and 1 deletions

View File

@ -0,0 +1,68 @@
{
"language": "eo",
"messages": [
{
"id": "Donate ${Amount__100} to {Toby3d}",
"message": "Donate ${Amount__100} to {Toby3d}",
"translation": "",
"placeholders": [
{
"id": "Amount__100",
"string": "%[1]d",
"type": "uint64",
"underlyingType": "uint64",
"argNum": 1,
"expr": "ctx.amount / 100"
},
{
"id": "Toby3d",
"string": "%[2]s",
"type": "string",
"underlyingType": "string",
"argNum": 2,
"expr": "\"toby3d\""
}
]
},
{
"id": "Donate",
"message": "Donate",
"translation": ""
},
{
"id": "dollar amount",
"message": "dollar amount",
"translation": ""
},
{
"id": "contribution frequency",
"message": "contribution frequency",
"translation": ""
},
{
"id": "one time",
"message": "one time",
"translation": ""
},
{
"id": "weekly",
"message": "weekly",
"translation": ""
},
{
"id": "monthly",
"message": "monthly",
"translation": ""
},
{
"id": "annually",
"message": "annually",
"translation": ""
},
{
"id": "from Russia",
"message": "from Russia",
"translation": ""
}
]
}

View File

@ -28,6 +28,7 @@ func (d *dictionary) Lookup(key string) (data string, ok bool) {
func init() {
dict := map[string]catalog.Dictionary{
"en": &dictionary{index: enIndex, data: enData},
"eo": &dictionary{index: eoIndex, data: eoData},
"ru": &dictionary{index: ruIndex, data: ruData},
}
fallback := language.MustParse("en")
@ -62,6 +63,14 @@ const enData string = "" + // Size: 170 bytes
"ount\x02contribution frequency\x02one time\x02weekly\x02monthly\x02annua" +
"lly\x02from Russia"
var eoIndex = []uint32{ // 10 elements
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000,
} // Size: 64 bytes
const eoData string = ""
var ruIndex = []uint32{ // 10 elements
0x00000000, 0x0000007f, 0x00000098, 0x000000b7,
0x000000d5, 0x000000ec, 0x00000103, 0x00000118,
@ -74,4 +83,4 @@ const ruData string = "" + // Size: 315 bytes
"ма в долларах\x02частота взносов\x02единоразово\x02еженедельно\x02ежеме" +
"сячно\x02ежегодно\x02из России"
// Total table size 613 bytes (0KiB); checksum: 7E1ACFAA
// Total table size 677 bytes (0KiB); checksum: D7C98321