🌐 Updated locales strings

This commit is contained in:
Maxim Lebedev 2023-12-13 18:17:37 +06:00
parent df954d50fb
commit 83402fac50
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
5 changed files with 250 additions and 17 deletions

View File

@ -1,6 +1,69 @@
{
"language": "en",
"messages": [
{
"id": "I want to donate",
"message": "I want to donate",
"translation": "I want to donate",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "dollar amount",
"message": "dollar amount",
"translation": "dollar amount",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "contribution frequency",
"message": "contribution frequency",
"translation": "contribution frequency",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "one time",
"message": "one time",
"translation": "one time",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "weekly",
"message": "weekly",
"translation": "weekly",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "monthly",
"message": "monthly",
"translation": "monthly",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "annually",
"message": "annually",
"translation": "annually",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "from Russia",
"message": "from Russia",
"translation": "from Russia",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Europe",
"message": "Europe",
"translation": "Europe",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Donate ${Amount__100} to {Toby3d}",
"message": "Donate ${Amount__100} to {Toby3d}",
@ -25,7 +88,7 @@
"placeholders": [
{
"id": "Amount__100",
"string": "%[1].2f",
"string": "%.2[1]f",
"type": "float64",
"underlyingType": "float64",
"argNum": 1,
@ -43,4 +106,4 @@
"fuzzy": true
}
]
}
}

View File

@ -1,6 +1,69 @@
{
"language": "en",
"messages": [
{
"id": "I want to donate",
"message": "I want to donate",
"translation": "I want to donate",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "dollar amount",
"message": "dollar amount",
"translation": "dollar amount",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "contribution frequency",
"message": "contribution frequency",
"translation": "contribution frequency",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "one time",
"message": "one time",
"translation": "one time",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "weekly",
"message": "weekly",
"translation": "weekly",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "monthly",
"message": "monthly",
"translation": "monthly",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "annually",
"message": "annually",
"translation": "annually",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "from Russia",
"message": "from Russia",
"translation": "from Russia",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Europe",
"message": "Europe",
"translation": "Europe",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Donate ${Amount__100} to {Toby3d}",
"message": "Donate ${Amount__100} to {Toby3d}",

View File

@ -1,6 +1,51 @@
{
"language": "ru",
"messages": [
{
"id": "I want to donate",
"message": "I want to 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": "из России"
},
{
"id": "Europe",
"message": "Europe",
"translation": "Европы"
},
{
"id": "Donate ${Amount__100} to {Toby3d}",
"message": "Donate ${Amount__100} to {Toby3d}",
@ -24,7 +69,7 @@
"placeholders": [
{
"id": "Amount__100",
"string": "%[1].2f",
"string": "%.2[1]f",
"type": "float64",
"underlyingType": "float64",
"argNum": 1,

View File

@ -1,6 +1,51 @@
{
"language": "ru",
"messages": [
{
"id": "I want to donate",
"message": "I want to 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": "из России"
},
{
"id": "Europe",
"message": "Europe",
"translation": "Европы"
},
{
"id": "Donate ${Amount__100} to {Toby3d}",
"message": "Donate ${Amount__100} to {Toby3d}",

View File

@ -39,23 +39,40 @@ func init() {
}
var messageKeyToIndex = map[string]int{
"Donate $%.2f to %s": 0,
"Donate $%.2f to %s": 9,
"Europe": 8,
"I want to donate": 0,
"annually": 6,
"contribution frequency": 2,
"dollar amount": 1,
"from Russia": 7,
"monthly": 5,
"one time": 3,
"weekly": 4,
}
var enIndex = []uint32{ // 2 elements
0x00000000, 0x00000053,
} // Size: 32 bytes
var enIndex = []uint32{ // 11 elements
0x00000000, 0x00000011, 0x0000001f, 0x00000036,
0x0000003f, 0x00000046, 0x0000004e, 0x00000057,
0x00000063, 0x0000006a, 0x000000bd,
} // Size: 68 bytes
const enData string = "" + // Size: 83 bytes
"\x14\x01\x81\x01\x02=\x00\x10\x02Donate to %[2]s=\x01\x1d\x02Donate oned" +
"ollar™ to %[2]s\x00\x19\x02Donate $%.2[1]f to %[2]s"
const enData string = "" + // Size: 189 bytes
"\x02I want to donate\x02dollar amount\x02contribution frequency\x02one t" +
"ime\x02weekly\x02monthly\x02annually\x02from Russia\x02Europe\x14\x01" +
"\x81\x01\x02=\x00\x10\x02Donate to %[2]s=\x01\x1d\x02Donate onedollar™ t" +
"o %[2]s\x00\x19\x02Donate $%.2[1]f to %[2]s"
var ruIndex = []uint32{ // 2 elements
0x00000000, 0x00000081,
} // Size: 32 bytes
var ruIndex = []uint32{ // 11 elements
0x00000000, 0x00000022, 0x00000041, 0x0000005f,
0x00000076, 0x0000008d, 0x000000a2, 0x000000b3,
0x000000c5, 0x000000d2, 0x00000153,
} // Size: 68 bytes
const ruData string = "" + // Size: 129 bytes
"\x14\x01\x81\x01\x02=\x00\x1f\x02Пожертвовать %[2]s=\x01-\x02Пожертвоват" +
"ь долор™ %[2]s\x00(\x02Пожертвовать $%.2[1]f %[2]s"
const ruData string = "" + // Size: 339 bytes
"\x02Хочу пожертвовать\x02сумма в долларах\x02частота взносов\x02единораз" +
"ово\x02еженедельно\x02ежемесячно\x02ежегодно\x02из России\x02Европы\x14" +
"\x01\x81\x01\x02=\x00\x1f\x02Пожертвовать %[2]s=\x01-\x02Пожертвовать до" +
"лор™ %[2]s\x00(\x02Пожертвовать $%.2[1]f %[2]s"
// Total table size 276 bytes (0KiB); checksum: 3BFB37FB
// Total table size 664 bytes (0KiB); checksum: 624A29EB