Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Crowdin Action

on:
schedule:
- cron: '0 */6 * * *'
push:
paths:
- 'lang/**/en.json'
branches: [ develop, crowdin-action ]
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Crowdin action
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: true
download_translations: true
skip_untranslated_strings: true
skip_untranslated_files: false
localization_branch_name: l10n_develop

create_pull_request: true
pull_request_title: 'New Crowdin Translations'
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
pull_request_base_branch_name: 'develop'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
5 changes: 4 additions & 1 deletion crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
base_path: ./lang
preserve_hierarchy: true

files:
- source: /lang/*/en.json
- source: /*/en.json
translation: /%original_path%/%two_letters_code%.json
1 change: 1 addition & 0 deletions lang/antiscam/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions lang/antiscam/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions lang/antiscam/fr2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions lang/antiscam/it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 0 additions & 1 deletion lang/antiscam/lolcat.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"probabilities": "Probabilities:",
"report-empty": "Uh, what dayawanna report??? I see no message there!",
"report-successful": "Thanks sir, I gotcha!",
"result": "Anti-bad-ppl detecshun result:",
Expand Down
1 change: 1 addition & 0 deletions lang/antiscam/tr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
4 changes: 4 additions & 0 deletions lang/bot_events/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
},
"soon": "Událost se blíží! Sledujte informace, protože začne %{date}",
"tictactoe": {
"lost": {
"title": "",
"desc": ""
},
"won": {
"title": "Tic-tac-toe vítezství!",
"desc": "Tím, že jsi vyhrál tuto hru, jsi získal ** body%{points} události**!"
Expand Down
60 changes: 57 additions & 3 deletions lang/bot_events/de.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,66 @@
{
"available-starting": "",
"calendar": {
"collected-all": "",
"collected-day": "",
"today-gifts": "",
"today-gifts-late": ""
},
"collect": {
"got-points": "",
"lost-points": "",
"nothing": "",
"got-items": {
"one": "",
"many": ""
},
"too-quick": "",
"strike-bonus": ""
},
"collection-empty": {
"user": "",
"other": ""
},
"collection-more": "",
"collection-title": {
"user": "",
"other": ""
},
"events-price-title": "Preise zum gewinnen",
"leaderboard-global": "",
"nothing-desc": "",
"nothing-prices": "Es gibt nichts bei diesem Event zu holen 😕",
"nthing-desc": "Es sind zur Zeit keine Events. Folge den bot news um das Datum für das nächste Event zu erfahren!",
"no-objectives": "",
"objectives": "Ziele",
"ocean-cooldown": "",
"points": "Punkte",
"rank-global": "Globale Platzierung",
"points-total": "",
"position-global": "",
"rank-title": "Event Punkte",
"rank-total": "Punkte gesamt",
"rankcard-unlocked": {
"title": "",
"desc": {
"one": "",
"many": ""
}
},
"reaction": {
"positive": "",
"negative": "",
"neutral": ""
},
"soon": "",
"tictactoe": {
"lost": {
"title": "",
"desc": ""
},
"won": {
"title": "",
"desc": ""
}
},
"tip-title": "",
"unclassed": "Du hast noch keine Punkte",
"xp-howto": "Du kannst Event Punkte beim gewinnen von tic-tac-toe Spielen bekommen, wenn die Event Befehle möglich sind oder beim lösen von geheimen Aufgaben. Komm bitte nicht zum Support Server, um nur nach Event Informationen zu fragen!"
}
66 changes: 66 additions & 0 deletions lang/bot_events/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"available-starting": "",
"calendar": {
"collected-all": "",
"collected-day": "",
"today-gifts": "",
"today-gifts-late": ""
},
"collect": {
"got-points": "",
"lost-points": "",
"nothing": "",
"got-items": {
"one": "",
"many": ""
},
"too-quick": "",
"strike-bonus": ""
},
"collection-empty": {
"user": "",
"other": ""
},
"collection-more": "",
"collection-title": {
"user": "",
"other": ""
},
"events-price-title": "",
"leaderboard-global": "",
"nothing-desc": "",
"nothing-prices": "",
"no-objectives": "",
"objectives": "",
"ocean-cooldown": "",
"points": "",
"points-total": "",
"position-global": "",
"rank-title": "",
"rankcard-unlocked": {
"title": "",
"desc": {
"one": "",
"many": ""
}
},
"reaction": {
"positive": "",
"negative": "",
"neutral": ""
},
"soon": "",
"tictactoe": {
"lost": {
"title": "",
"desc": ""
},
"won": {
"title": "",
"desc": ""
}
},
"tip-title": "",
"unclassed": "",
"xp-howto": ""
}
57 changes: 52 additions & 5 deletions lang/bot_events/fi.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,66 @@
{
"christmas": {
"already-collected": "Olet jo lunastanut joululahjasi! Nauti lahjoistasi ja pidä hauskaa!",
"collected": "Olet kerännyt vuoden 2022 joulukorttisi!\nKokeile %{cmd} komentoa (tyyli \"christmas22\") aloittaaksesi sen käytön!"
"available-starting": "",
"calendar": {
"collected-all": "",
"collected-day": "",
"today-gifts": "",
"today-gifts-late": ""
},
"collect": {
"got-points": "",
"lost-points": "",
"nothing": "",
"got-items": {
"one": "",
"many": ""
},
"too-quick": "",
"strike-bonus": ""
},
"collection-empty": {
"user": "",
"other": ""
},
"collection-more": "",
"collection-title": {
"user": "",
"other": ""
},
"events-price-title": "Palkinnot voittajille",
"leaderboard-global": "Globaali tulostaulukko (top %{count})",
"nothing-desc": "Tällä hetkellä ei ole tapahtumia. Seuraa bottiuutisia tietääksesi, milloin seuraava tapahtuma on!",
"nothing-prices": "Tässä tapahtumassa ei ole mitään saavutettavaa :confused:",
"no-objectives": "Tämä tapahtuma ei edellytä sinua keräämään pisteitä voittaaksesi.\nLisätietoja saat komennosta %{cmd}",
"objectives": "Tavoitteet",
"ocean-cooldown": "",
"points": "pistettä",
"points-total": "",
"position-global": "Globaali sija",
"leaderboard-global": "Globaali tulostaulukko (top %{count})",
"rank-title": "Tapahtuma pisteet",
"rank-total": "Pisteet yhteensä",
"rankcard-unlocked": {
"title": "",
"desc": {
"one": "",
"many": ""
}
},
"reaction": {
"positive": "",
"negative": "",
"neutral": ""
},
"soon": "Tapahtuma on tulossa pian! Pidä silmät auki, koska se alkaa %{date}",
"tictactoe": {
"lost": {
"title": "",
"desc": ""
},
"won": {
"title": "",
"desc": ""
}
},
"tip-title": "",
"unclassed": "luokittelematon",
"xp-howto": "Voit ansaita tapahtumapisteitä voittamalla ristinolla -pelejä, käyttämällä tapahtumakomentoja, tai suorittamalla useita muita salaisia tehtäviä. Älä epäröi tulla tukipalvelimelle kysymään lisätietoja!"
}
60 changes: 57 additions & 3 deletions lang/bot_events/fr2.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,66 @@
{
"available-starting": "",
"calendar": {
"collected-all": "",
"collected-day": "",
"today-gifts": "",
"today-gifts-late": ""
},
"collect": {
"got-points": "",
"lost-points": "",
"nothing": "",
"got-items": {
"one": "",
"many": ""
},
"too-quick": "",
"strike-bonus": ""
},
"collection-empty": {
"user": "",
"other": ""
},
"collection-more": "",
"collection-title": {
"user": "",
"other": ""
},
"events-price-title": "Le super prix délirant de la mort qui tue",
"leaderboard-global": "",
"nothing-desc": "Il n'y a aucun événement en cours :neutral_face: Suis les news du bot pour connaître la date du prochain !",
"nothing-prices": "Il n'y a rien à gagner pour cet événement :confused:\nFaut qu'on refasse des choses, nous.",
"no-objectives": "",
"objectives": "Objectifs",
"points": "points",
"rank-global": "Classement mondial",
"ocean-cooldown": "",
"points": "",
"points-total": "",
"position-global": "",
"rank-title": "Points de l'événement",
"rank-total": "Total des points",
"rankcard-unlocked": {
"title": "",
"desc": {
"one": "",
"many": ""
}
},
"reaction": {
"positive": "",
"negative": "",
"neutral": ""
},
"soon": "",
"tictactoe": {
"lost": {
"title": "",
"desc": ""
},
"won": {
"title": "",
"desc": ""
}
},
"tip-title": "",
"unclassed": "Pas classé !",
"xp-howto": "Tu peux gagner des points d'évènement en gagnant des parties de morpion (commande `ttt`), en utilisant la commande d'évent quand elle est dispo, ou en faisant d'autres trucs sympas.\nHésite pas à venir voir le support pour plus d'infos !"
}
Loading