From 6b819c741b554d81c3a365289d799480c705d86f Mon Sep 17 00:00:00 2001 From: tnfAngel <57068341+tnfAngel@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:41:05 +0000 Subject: [PATCH 1/5] add new test key to en.json --- src/locales/commands/en.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locales/commands/en.json b/src/locales/commands/en.json index faa82f3..eb0c9a3 100644 --- a/src/locales/commands/en.json +++ b/src/locales/commands/en.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "I need to be the party leader to execute this command!", "errors.only_for_owners": "This command is only available for bot owners.", "errors.only_for_admins": "This command is only available for bot administrators.", - "errors.only_for_whitelist": "This command is only available for users on the whitelist of the bot." + "errors.only_for_whitelist": "This command is only available for users on the whitelist of the bot.", + "test": "this is a test" }, "config.all_items": { "description": "Shows the latest cosmetics added to the game, an optional filter can be added and you can stop with the \"stop\" command.", From 1d2b5d7e1d8ae9ddfa34da5ab0f60d163600ea51 Mon Sep 17 00:00:00 2001 From: tnfAngel <57068341+tnfAngel@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:43:37 +0000 Subject: [PATCH 2/5] fix ci --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec874eb..d278a13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,8 @@ jobs: translate: needs: [avoid_redundancy_lint_pretty_and_cache_deps] runs-on: ubuntu-22.04 + permissions: + contents: write steps: - uses: actions/checkout@v4 with: From 7c81e33d6a923f0ff02ed3faec654bb720a24298 Mon Sep 17 00:00:00 2001 From: tnfAngel Date: Mon, 22 Jan 2024 08:44:36 +0000 Subject: [PATCH 3/5] Sync translations --- src/locales/commands/de.json | 3 ++- src/locales/commands/es.json | 3 ++- src/locales/commands/fr.json | 3 ++- src/locales/commands/it.json | 3 ++- src/locales/commands/pl.json | 3 ++- src/locales/commands/pt.json | 3 ++- src/locales/commands/tr.json | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/locales/commands/de.json b/src/locales/commands/de.json index 0e7b7b1..f829810 100644 --- a/src/locales/commands/de.json +++ b/src/locales/commands/de.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "Ich muss der Parteiführer sein, um diesen Befehl auszuführen!", "errors.only_for_owners": "Dieser Befehl ist nur für Bot -Besitzer verfügbar.", "errors.only_for_admins": "Dieser Befehl ist nur für Bot -Administratoren verfügbar.", - "errors.only_for_whitelist": "Dieser Befehl ist nur für Benutzer der Whitelist des Bots verfügbar." + "errors.only_for_whitelist": "Dieser Befehl ist nur für Benutzer der Whitelist des Bots verfügbar.", + "test": "das ist ein Test" }, "config.all_items": { "description": "Zeigt die neuesten Kosmetik, die dem Spiel hinzugefügt wurden, ein optionaler Filter kann hinzugefügt werden und Sie können mit dem Befehl \"stop\" anhalten.", diff --git a/src/locales/commands/es.json b/src/locales/commands/es.json index 57fd9af..b6bc256 100644 --- a/src/locales/commands/es.json +++ b/src/locales/commands/es.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "¡Necesito ser el líder del grupo para ejecutar este comando!", "errors.only_for_owners": "Este comando sólo está disponible para propietarios de bots.", "errors.only_for_admins": "Este comando solo está disponible para administradores de bots.", - "errors.only_for_whitelist": "Este comando solo está disponible para usuarios en la lista blanca del bot." + "errors.only_for_whitelist": "Este comando solo está disponible para usuarios en la lista blanca del bot.", + "test": "esto es una prueba" }, "config.all_items": { "description": "Muestra los últimos cosméticos agregados al juego, se puede agregar un filtro opcional y puedes detenerlo con el comando \"stop\".", diff --git a/src/locales/commands/fr.json b/src/locales/commands/fr.json index 424f7cd..7318a70 100644 --- a/src/locales/commands/fr.json +++ b/src/locales/commands/fr.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "J'ai besoin d'être le chef de parti pour exécuter cette commande!", "errors.only_for_owners": "Cette commande n'est disponible que pour les propriétaires de bots.", "errors.only_for_admins": "Cette commande n'est disponible que pour les administrateurs de bot.", - "errors.only_for_whitelist": "Cette commande n'est disponible que pour les utilisateurs sur la liste blanche du bot." + "errors.only_for_whitelist": "Cette commande n'est disponible que pour les utilisateurs sur la liste blanche du bot.", + "test": "c'est un test" }, "config.all_items": { "description": "Affiche les derniers cosmétiques ajoutés au jeu, un filtre en option peut être ajouté et vous pouvez vous arrêter avec la commande \"stop\".", diff --git a/src/locales/commands/it.json b/src/locales/commands/it.json index 27533d5..8af8be4 100644 --- a/src/locales/commands/it.json +++ b/src/locales/commands/it.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "Devo essere il leader del partito per eseguire questo comando!", "errors.only_for_owners": "Questo comando è disponibile solo per i proprietari di bot.", "errors.only_for_admins": "Questo comando è disponibile solo per gli amministratori di bot.", - "errors.only_for_whitelist": "Questo comando è disponibile solo per gli utenti nella whitelist del bot." + "errors.only_for_whitelist": "Questo comando è disponibile solo per gli utenti nella whitelist del bot.", + "test": "questa è una prova" }, "config.all_items": { "description": "Mostra gli ultimi cosmetici aggiunti al gioco, è possibile aggiungere un filtro opzionale e puoi fermarti con il comando \"stop\".", diff --git a/src/locales/commands/pl.json b/src/locales/commands/pl.json index 2c742d7..7cadd82 100644 --- a/src/locales/commands/pl.json +++ b/src/locales/commands/pl.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "Muszę być liderem partii, aby wykonać to polecenie!", "errors.only_for_owners": "To polecenie jest dostępne tylko dla właścicieli botów.", "errors.only_for_admins": "To polecenie jest dostępne tylko dla administratorów BOT.", - "errors.only_for_whitelist": "To polecenie jest dostępne tylko dla użytkowników na białej bota." + "errors.only_for_whitelist": "To polecenie jest dostępne tylko dla użytkowników na białej bota.", + "test": "to jest test" }, "config.all_items": { "description": "Pokazuje najnowsze kosmetyki dodane do gry, można dodać opcjonalny filtr i możesz zatrzymać się przy poleceniu „Stop”.", diff --git a/src/locales/commands/pt.json b/src/locales/commands/pt.json index 8d2f7cd..e4c3ed4 100644 --- a/src/locales/commands/pt.json +++ b/src/locales/commands/pt.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "Eu preciso ser o líder do partido para executar este comando!", "errors.only_for_owners": "Este comando está disponível apenas para proprietários de bot.", "errors.only_for_admins": "Este comando está disponível apenas para administradores de bot.", - "errors.only_for_whitelist": "Este comando está disponível apenas para usuários na lista de permissões do bot." + "errors.only_for_whitelist": "Este comando está disponível apenas para usuários na lista de permissões do bot.", + "test": "isto é um teste" }, "config.all_items": { "description": "Mostra os cosméticos mais recentes adicionados ao jogo, um filtro opcional pode ser adicionado e você pode parar com o comando \"stop\".", diff --git a/src/locales/commands/tr.json b/src/locales/commands/tr.json index bed5490..1cefda4 100644 --- a/src/locales/commands/tr.json +++ b/src/locales/commands/tr.json @@ -5,7 +5,8 @@ "errors.need_party_leader": "Bu komutu yürütmek için parti lideri olmalıyım!", "errors.only_for_owners": "Bu komut yalnızca bot sahipleri için kullanılabilir.", "errors.only_for_admins": "Bu komut yalnızca bot yöneticileri için kullanılabilir.", - "errors.only_for_whitelist": "Bu komut yalnızca botun beyaz listesindeki kullanıcılar için kullanılabilir." + "errors.only_for_whitelist": "Bu komut yalnızca botun beyaz listesindeki kullanıcılar için kullanılabilir.", + "test": "bu bir test" }, "config.all_items": { "description": "Oyuna eklenen en son kozmetikleri gösterir, isteğe bağlı bir filtre eklenebilir ve \"stop\" komutuyla durabilirsiniz.", From 795c0bedd79e45d8575909e7edeec7c217f787b6 Mon Sep 17 00:00:00 2001 From: tnfAngel <57068341+tnfAngel@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:45:15 +0000 Subject: [PATCH 4/5] Revert "add new test key to en.json" This reverts commit 6b819c741b554d81c3a365289d799480c705d86f. --- src/locales/commands/en.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/locales/commands/en.json b/src/locales/commands/en.json index eb0c9a3..faa82f3 100644 --- a/src/locales/commands/en.json +++ b/src/locales/commands/en.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "I need to be the party leader to execute this command!", "errors.only_for_owners": "This command is only available for bot owners.", "errors.only_for_admins": "This command is only available for bot administrators.", - "errors.only_for_whitelist": "This command is only available for users on the whitelist of the bot.", - "test": "this is a test" + "errors.only_for_whitelist": "This command is only available for users on the whitelist of the bot." }, "config.all_items": { "description": "Shows the latest cosmetics added to the game, an optional filter can be added and you can stop with the \"stop\" command.", From 1c9fd637537182b06ec2f21172cdcb48bb20b06e Mon Sep 17 00:00:00 2001 From: tnfAngel Date: Mon, 22 Jan 2024 08:46:55 +0000 Subject: [PATCH 5/5] Sync translations --- src/locales/commands/de.json | 3 +-- src/locales/commands/es.json | 3 +-- src/locales/commands/fr.json | 3 +-- src/locales/commands/it.json | 3 +-- src/locales/commands/pl.json | 3 +-- src/locales/commands/pt.json | 3 +-- src/locales/commands/tr.json | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/src/locales/commands/de.json b/src/locales/commands/de.json index f829810..0e7b7b1 100644 --- a/src/locales/commands/de.json +++ b/src/locales/commands/de.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "Ich muss der Parteiführer sein, um diesen Befehl auszuführen!", "errors.only_for_owners": "Dieser Befehl ist nur für Bot -Besitzer verfügbar.", "errors.only_for_admins": "Dieser Befehl ist nur für Bot -Administratoren verfügbar.", - "errors.only_for_whitelist": "Dieser Befehl ist nur für Benutzer der Whitelist des Bots verfügbar.", - "test": "das ist ein Test" + "errors.only_for_whitelist": "Dieser Befehl ist nur für Benutzer der Whitelist des Bots verfügbar." }, "config.all_items": { "description": "Zeigt die neuesten Kosmetik, die dem Spiel hinzugefügt wurden, ein optionaler Filter kann hinzugefügt werden und Sie können mit dem Befehl \"stop\" anhalten.", diff --git a/src/locales/commands/es.json b/src/locales/commands/es.json index b6bc256..57fd9af 100644 --- a/src/locales/commands/es.json +++ b/src/locales/commands/es.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "¡Necesito ser el líder del grupo para ejecutar este comando!", "errors.only_for_owners": "Este comando sólo está disponible para propietarios de bots.", "errors.only_for_admins": "Este comando solo está disponible para administradores de bots.", - "errors.only_for_whitelist": "Este comando solo está disponible para usuarios en la lista blanca del bot.", - "test": "esto es una prueba" + "errors.only_for_whitelist": "Este comando solo está disponible para usuarios en la lista blanca del bot." }, "config.all_items": { "description": "Muestra los últimos cosméticos agregados al juego, se puede agregar un filtro opcional y puedes detenerlo con el comando \"stop\".", diff --git a/src/locales/commands/fr.json b/src/locales/commands/fr.json index 7318a70..424f7cd 100644 --- a/src/locales/commands/fr.json +++ b/src/locales/commands/fr.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "J'ai besoin d'être le chef de parti pour exécuter cette commande!", "errors.only_for_owners": "Cette commande n'est disponible que pour les propriétaires de bots.", "errors.only_for_admins": "Cette commande n'est disponible que pour les administrateurs de bot.", - "errors.only_for_whitelist": "Cette commande n'est disponible que pour les utilisateurs sur la liste blanche du bot.", - "test": "c'est un test" + "errors.only_for_whitelist": "Cette commande n'est disponible que pour les utilisateurs sur la liste blanche du bot." }, "config.all_items": { "description": "Affiche les derniers cosmétiques ajoutés au jeu, un filtre en option peut être ajouté et vous pouvez vous arrêter avec la commande \"stop\".", diff --git a/src/locales/commands/it.json b/src/locales/commands/it.json index 8af8be4..27533d5 100644 --- a/src/locales/commands/it.json +++ b/src/locales/commands/it.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "Devo essere il leader del partito per eseguire questo comando!", "errors.only_for_owners": "Questo comando è disponibile solo per i proprietari di bot.", "errors.only_for_admins": "Questo comando è disponibile solo per gli amministratori di bot.", - "errors.only_for_whitelist": "Questo comando è disponibile solo per gli utenti nella whitelist del bot.", - "test": "questa è una prova" + "errors.only_for_whitelist": "Questo comando è disponibile solo per gli utenti nella whitelist del bot." }, "config.all_items": { "description": "Mostra gli ultimi cosmetici aggiunti al gioco, è possibile aggiungere un filtro opzionale e puoi fermarti con il comando \"stop\".", diff --git a/src/locales/commands/pl.json b/src/locales/commands/pl.json index 7cadd82..2c742d7 100644 --- a/src/locales/commands/pl.json +++ b/src/locales/commands/pl.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "Muszę być liderem partii, aby wykonać to polecenie!", "errors.only_for_owners": "To polecenie jest dostępne tylko dla właścicieli botów.", "errors.only_for_admins": "To polecenie jest dostępne tylko dla administratorów BOT.", - "errors.only_for_whitelist": "To polecenie jest dostępne tylko dla użytkowników na białej bota.", - "test": "to jest test" + "errors.only_for_whitelist": "To polecenie jest dostępne tylko dla użytkowników na białej bota." }, "config.all_items": { "description": "Pokazuje najnowsze kosmetyki dodane do gry, można dodać opcjonalny filtr i możesz zatrzymać się przy poleceniu „Stop”.", diff --git a/src/locales/commands/pt.json b/src/locales/commands/pt.json index e4c3ed4..8d2f7cd 100644 --- a/src/locales/commands/pt.json +++ b/src/locales/commands/pt.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "Eu preciso ser o líder do partido para executar este comando!", "errors.only_for_owners": "Este comando está disponível apenas para proprietários de bot.", "errors.only_for_admins": "Este comando está disponível apenas para administradores de bot.", - "errors.only_for_whitelist": "Este comando está disponível apenas para usuários na lista de permissões do bot.", - "test": "isto é um teste" + "errors.only_for_whitelist": "Este comando está disponível apenas para usuários na lista de permissões do bot." }, "config.all_items": { "description": "Mostra os cosméticos mais recentes adicionados ao jogo, um filtro opcional pode ser adicionado e você pode parar com o comando \"stop\".", diff --git a/src/locales/commands/tr.json b/src/locales/commands/tr.json index 1cefda4..bed5490 100644 --- a/src/locales/commands/tr.json +++ b/src/locales/commands/tr.json @@ -5,8 +5,7 @@ "errors.need_party_leader": "Bu komutu yürütmek için parti lideri olmalıyım!", "errors.only_for_owners": "Bu komut yalnızca bot sahipleri için kullanılabilir.", "errors.only_for_admins": "Bu komut yalnızca bot yöneticileri için kullanılabilir.", - "errors.only_for_whitelist": "Bu komut yalnızca botun beyaz listesindeki kullanıcılar için kullanılabilir.", - "test": "bu bir test" + "errors.only_for_whitelist": "Bu komut yalnızca botun beyaz listesindeki kullanıcılar için kullanılabilir." }, "config.all_items": { "description": "Oyuna eklenen en son kozmetikleri gösterir, isteğe bağlı bir filtre eklenebilir ve \"stop\" komutuyla durabilirsiniz.",