Skip to content

Commit 6b1bea1

Browse files
committed
feat(trads): add trads for new panel configuration section
1 parent 8030859 commit 6b1bea1

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

crates/rustmail_panel/src/i18n/en/en.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,27 @@
6868
"super_admin_roles": "Super Admin Roles (IDs)",
6969
"super_admin_roles_help": "Comma-separated list of Discord role IDs. Members with these roles will have full access to the panel."
7070
},
71+
"discord_profile": {
72+
"title": "Bot Discord Profile",
73+
"description": "Change the bot's name, avatar and banner",
74+
"username": "Username",
75+
"username_help": "The bot's display name (2-32 characters)",
76+
"avatar": "Avatar",
77+
"avatar_help": "Click or drag an image (PNG, JPEG, GIF, WebP)",
78+
"banner": "Banner",
79+
"banner_help": "Click or drag an image for the banner (PNG, JPEG, GIF, WebP)",
80+
"current_avatar": "Current avatar",
81+
"current_banner": "Current banner",
82+
"no_banner": "No banner",
83+
"change": "Change",
84+
"remove": "Remove",
85+
"save_profile": "Save Profile",
86+
"saving": "Saving...",
87+
"save_success": "Profile updated successfully!",
88+
"save_error": "Error updating profile",
89+
"loading": "Loading profile...",
90+
"bot_not_running": "The bot must be online to edit the profile"
91+
},
7192
"server_mode": {
7293
"type": "Mode Type",
7394
"single": "Single (One server only)",
@@ -133,6 +154,9 @@
133154
"later": "Later"
134155
},
135156
"presence_status": "Presence Status",
157+
"controls": {
158+
"title": "Controls"
159+
},
136160
"presence": {
137161
"online": "Online",
138162
"idle": "Idle",

crates/rustmail_panel/src/i18n/fr/fr.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,27 @@
6969
"super_admin_roles": "Super Admin Roles (IDs)",
7070
"super_admin_roles_help": "Liste d'IDs de rôles Discord séparés par des virgules. Les membres ayant ces rôles auront tous les accès au panel."
7171
},
72+
"discord_profile": {
73+
"title": "Profil Discord du bot",
74+
"description": "Modifiez le nom, l'avatar et la bannière du bot",
75+
"username": "Nom d'utilisateur",
76+
"username_help": "Le nom affiché du bot (2-32 caractères)",
77+
"avatar": "Avatar",
78+
"avatar_help": "Cliquez ou glissez une image (PNG, JPEG, GIF, WebP)",
79+
"banner": "Bannière",
80+
"banner_help": "Cliquez ou glissez une image pour la bannière (PNG, JPEG, GIF, WebP)",
81+
"current_avatar": "Avatar actuel",
82+
"current_banner": "Bannière actuelle",
83+
"no_banner": "Aucune bannière",
84+
"change": "Changer",
85+
"remove": "Supprimer",
86+
"save_profile": "Sauvegarder le profil",
87+
"saving": "Sauvegarde...",
88+
"save_success": "Profil mis à jour avec succès !",
89+
"save_error": "Erreur lors de la mise à jour du profil",
90+
"loading": "Chargement du profil...",
91+
"bot_not_running": "Le bot doit être en ligne pour modifier le profil"
92+
},
7293
"server_mode": {
7394
"type": "Type de mode",
7495
"single": "Single (Un seul serveur)",
@@ -134,6 +155,9 @@
134155
"later": "Plus tard"
135156
},
136157
"presence_status": "Statut de présence",
158+
"controls": {
159+
"title": "Contrôles"
160+
},
137161
"presence": {
138162
"online": "En ligne",
139163
"idle": "Inactif",

0 commit comments

Comments
 (0)