Initial commit

master
Lea 2023-06-06 22:53:15 +02:00
commit a85880eab0
Signed by: Lea
GPG Key ID: 1BAFFE8347019C42
5 changed files with 59 additions and 0 deletions

7
README.md Normal file
View 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
View File

@ -0,0 +1,3 @@
{
"test": "Testnachricht in Deutsch"
}

6
bot/en.json Normal file
View 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
View 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
View 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"
}
}
}
}
}
}
}