Initial commit
This commit is contained in:
commit
a85880eab0
7
README.md
Normal file
7
README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# AutoMod Translations
|
||||
|
||||
![](https://weblate.insrt.uk/widgets/automod/-/svg-badge.svg)
|
||||
|
||||
> **DO NOT** create pull requests directly to this repository!
|
||||
|
||||
Translations are handled via Weblate - Contribute [here](https://weblate.insrt.uk/projects/automod/).
|
3
bot/de.json
Normal file
3
bot/de.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"test": "Testnachricht in Deutsch"
|
||||
}
|
6
bot/en.json
Normal file
6
bot/en.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"test": "Test message in english",
|
||||
"i18n_test": "They shat themselves",
|
||||
"i18n_test_f": "She shat herself",
|
||||
"i18n_test_m": "He shat himself"
|
||||
}
|
15
langs.json
Normal file
15
langs.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"$schema": "./langs.schema.json",
|
||||
"langs": {
|
||||
"en": {
|
||||
"name": "English",
|
||||
"nameLocalised": "English",
|
||||
"emoji": "🇬🇧"
|
||||
},
|
||||
"de": {
|
||||
"name": "German",
|
||||
"nameLocalised": "Deutsch",
|
||||
"emoji": "🇩🇪"
|
||||
}
|
||||
}
|
||||
}
|
28
langs.schema.json
Normal file
28
langs.schema.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "AutoMod i18n language definition file",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"langs": {
|
||||
"patternProperties": {
|
||||
".*": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Language name"
|
||||
},
|
||||
"nameLocalised": {
|
||||
"type": "string",
|
||||
"title": "Localised language name"
|
||||
},
|
||||
"flag": {
|
||||
"type": "string",
|
||||
"title": "Language flag"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue