Skip to content

Commit

Permalink
Merge pull request #210 from TeamBulbbot/i18n-updates
Browse files Browse the repository at this point in the history
I18n updates
  • Loading branch information
y3ll0wlife committed Sep 11, 2021
2 parents 6b1b110 + ab90a93 commit bbd8c8c
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 19 deletions.
4 changes: 4 additions & 0 deletions interactionCommands.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@
{
"name": "cs-CZ",
"value": "cs-CZ"
},
{
"name": "it-IT",
"value": "it-IT"
}
],
"required": true
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import * as svSE from "./languages/sv-SE.json";
import * as csCZ from "./languages/cs-CZ.json";
import * as ptBR from "./languages/pt-BR.json";
import * as frFR from "./languages/fr-FR.json";
import * as itIT from "./languages/it-IT.json";

const config = {
token: process.env.TOKEN,
Expand Down Expand Up @@ -41,6 +42,9 @@ i18next.init({
"cs-CZ": {
translation: csCZ,
},
"it-IT": {
translation: itIT,
}
},
});

Expand Down
38 changes: 19 additions & 19 deletions src/languages/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"global_missing_permissions": "{{emote_lock}} Permission(s) manquante(s)",
"global_missing_permissions_bot": "Le bot ne dispose pas des permissions nécessaires pour exécuter cette commande. Veuillez vérifier les permissions du bot.\n{{missing}}",
"global_cannot_convert": "{{emote_fail}} Impossible convertir `{{arg_provided}}` en `{{arg_expected}}`.\n{{emote_wrench}} **Utilisation correcte :** {{usage}}",
"global_not_found": "{{emote_fail}} Le {{type}} spécifié est introuvable. Impossible convertir `{{arg_provided}}` en `{{arg_expected}}`.\n{{emote_wrench}} **Utilisation correcte :** {{usage}}",
"global_not_found": "{{emote_fail}} {{type}} spécifié(e) est introuvable. Impossible convertir `{{arg_provided}}` en `{{arg_expected}}`.\n{{emote_wrench}} **Utilisation correcte :** {{usage}}",
"global_not_found_types": {
"user": "utilisateur",
"member": "membre",
"role": "rôle",
"channel": "salon",
"lang": "langage",
"cmd": "commande",
"emoji": "émoji",
"int": "nombre entier",
"bool": "booléen",
"snowflake": "snowflake"
"user": "L'utilisateur",
"member": "Le membre",
"role": "Le rôle",
"channel": "Le salon",
"lang": "Le langage",
"cmd": "La commande",
"emoji": "L'émoji",
"int": "Le nombre entier",
"bool": "Le booléen",
"snowflake": "Le snowflake"
},
"global_mod_action_log": "{{action}} par : {{moderator.tag}} ({{moderator.id}}) | Utilisateur : {{target.tag}} ({{target.id}}) | Raison : {{reason}}",
"global_logging_mod": "`[{{timestamp}}]` {{emoji}} **{{moderator.tag}}** `({{moderator.id}})` a {{action}} **{{target.tag}}** `({{target.id}})` pour **{{reason}}** `[#{{infraction_id}}]`",
Expand Down Expand Up @@ -53,9 +53,9 @@
"global_cannot_action_role_equal_bot": "{{emote_warn}} Je ne peux pas effectuer cette action sur **{{target.tag}}** `({{target.id}})` parce que je n'ai pas de rôle plus élevé qu'eux !",
"global_cannot_action_bot_self": "{{emote_warn}} Vous ne pouvez pas effectuer cette action sur le bot !",
"global_premium_only": "Ceci est une commande premium. Devenez Patron et accédez à cette commande et à d'autres fonctionnalités exclusives sur <https://www.patreon.com/bulbbot>",
"event_message_args_unexpected": "{{emote_warn}} Argument inattendu {{argument}}. Attendu : `{{arg_expected}}`, obtenu : `{{arg_provided}}`.\n{{emote_wrench}} **Utilisation correcte :** {{usage}}",
"event_message_args_unexpected": "{{emote_warn}} Argument inattendu `{{argument}}`. Attendu : `{{arg_expected}}`, obtenu : `{{arg_provided}}`.\n{{emote_wrench}} **Utilisation correcte :** {{usage}}",
"event_message_args_missing": "{{emote_warn}} Argument manquant {{argument}}. Attendu : `{{arg_expected}}`.\n{{emote_wrench}} **Utilisation correcte :** {{usage}}",
"event_message_args_missing_list": "{{emote_warn}} Argument inattendu {{argument}}. Attendu : `{{arg_expected}}`.\n{{emote_wrench}} **Arguments corrects :** {{argument_list}}",
"event_message_args_missing_list": "{{emote_warn}} Argument inattendu `{{argument}}`. Attendu : `{{arg_expected}}`.\n{{emote_wrench}} **Arguments corrects :** {{argument_list}}",
"event_message_edit": "{{emote_edit}} Un message de **{{user_tag}}** `({{user.id}})` a été modifié dans <#{{channel.id}}>.\n`ID (salon-message) : {{channel.id}}-{{message.id}}`\n**Avant :** {{before}}\n**Après :** {{after}}",
"event_message_edit_special": "{{emote_edit}} Un message de **{{user_tag}}** `({{user.id}})` a été modifié dans <#{{channel.id}}>.\n`ID (salon-message) : {{channel.id}}-{{message.id}}`",
"event_message_delete": "{{emote_trash}} Un message de **{{user_tag}}** `({{user.id}})` a été supprimé dans <#{{channel.id}}>.\n`ID (salon-message) : {{channel.id}}-{{message.id}}`\n{{content}}{{reply}}{{sticker}}{{attachment}}",
Expand Down Expand Up @@ -187,13 +187,13 @@
"serverinfo_emotes_none": "Aucun émoji",
"action_success": "{{emote_success}} Un modérateur a {{action}} **{{target.tag}}** `({{target.id}})` pour **{{reason}}** `[#{{infraction_id}}]`",
"action_success_temp": "{{emote_success}} **{{target.tag}}** `({{target.id}})` a été {{action}} jusqu'au **{{until}}** pour **{{reason}}** `[#{{infraction_id}}]`",
"action_success_multi": "{{emote_success}} {{full_list}} ont été {{action}} pour **{{reason}}**",
"action_multi_less_than_2": "{{emote_warn}} Moins de 2 cibles sélectionnées. Exécution normale de {{action}} à la place",
"action_success_multi": "{{emote_success}} Un modérateur a {{action}} {{full_list}} pour **{{reason}}**",
"action_multi_less_than_2": "{{emote_warn}} Moins de 2 cibles sélectionnées. Exécution normale {{action}} à la place",
"action_multi_types": {
"ban": "bannissement",
"kick": "expulsion",
"unban": "révocation de bannissement",
"warn": "avertissement"
"ban": "du bannissement",
"kick": "de l'expulsion",
"unban": "de la révocation de bannissement",
"warn": "de l'avertissement"
},
"already_banned": "{{emote_warn}} **{{target.tag}}** `({{target.id}})` a déjà été banni pour `{{reason}}`",
"not_banned": "{{emote_fail}} **{{target.tag}}** `({{target.id}})` n'est pas banni de ce serveur !",
Expand Down
Loading

0 comments on commit bbd8c8c

Please sign in to comment.