Skip to content

Commit

Permalink
feat: Add new buttons and command responses for multiple languages
Browse files Browse the repository at this point in the history
  • Loading branch information
thatkev committed May 31, 2024
1 parent 4a23ff2 commit 435cc52
Show file tree
Hide file tree
Showing 10 changed files with 119 additions and 6 deletions.
7 changes: 6 additions & 1 deletion bot/en_gb/buttons.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"userID": "User ID",
"supportServer": "Support Server",
"customise": "Customise"
"customise": "Customise",

"overview": "Overview",
"serverlog": "Serverlog",
"dashboard": "Dashboard",
"pro": "Quark Pro"
}
21 changes: 21 additions & 0 deletions bot/en_gb/command_responses.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"disable": "Disable",
"enable": "Enable",

"error-401-0": "Command failed",
"error-401-1-type-0": "I am unable to ban that user",
"error-401-1-type-1": "I am unable to kick that user",
Expand Down Expand Up @@ -33,6 +36,9 @@
"error-434-1": "The start message and end message must belong to the same channel",
"error-435-0": "Cooldown active",
"error-435-1": "This command can only be used every 15 minutes",
"error-try-help-again": "Try running the help command again...",
"error-no-modlog": "No modlog channel",
"error-invalid-log": "Modlog case not found",

"error-timeout-period-too-long-0": "Timeout period too long",
"error-timeout-period-too-long-1": "Timeout period must be less than 28 days",
Expand All @@ -44,6 +50,19 @@
"response-unban": "Unbanned",
"response-purge": "Purged {count} messages",

"response-customise-dash": "Customisation settings have moved to our [web dashboard]!",
"response-customise-1": "Log messages up to 2 weeks old, customise logs, and so much more with Quark Pro...",
"response-customise-2": "[UK, US, EU] Click onto my profile to upgrade!",
"response-customise-3": "Or... {proLink}",
"response-customise-4": "Try out colour customisation for free at {inventoryLink}",

"response-case-updated": "Case updated!",

"response-debug": "Debug log sent!",

"response-status-enabled": "Status channel updates enabled!",
"response-status-disabled": "Status channel updates disabled!",

"target0-command": "target",
"target1-command": "targets",
"message0-command": "message",
Expand All @@ -52,6 +71,8 @@
"channel0-command": "channel",
"channel1-command": "channels",

"serverlog-web-promote": "...or check out our web dashboard!",
"serverlog-select": "Select serverlog channel",
"serverlog-unset": "Channel unset",
"serverlog-set": "Channel set",
"serverlog-setchannel": "Channel set to {channel}",
Expand Down
7 changes: 6 additions & 1 deletion bot/en_pr/buttons.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"userID": "User ID",
"supportServer": "Support Server",
"customise": "Customise"
"customise": "Customise",

"overview": "Overview",
"serverlog": "Serverlog",
"dashboard": "Dashboard",
"pro": "Quark Pro"
}
18 changes: 18 additions & 0 deletions bot/en_pr/command_responses.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"error-434-1": "The start message and end message must belong to the same channel",
"error-435-0": "Cooldown active",
"error-435-1": "This command can only be used every 15 minutes",
"error-try-help-again": "Try running the help command again...",
"error-no-modlog": "No modlog channel",
"error-invalid-log": "Modlog case not found",

"error-timeout-period-too-long-0": "Timeout period too long",
"error-timeout-period-too-long-1": "Timeout period must be less than 28 days",
Expand All @@ -44,6 +47,19 @@
"response-unban": "Unbanned",
"response-purge": "Purged {count} messages",

"response-customise-dash": "Customisation settings have moved to our [web dashboard]!",
"response-customise-1": "Log messages up to 2 weeks old, customise logs, and so much more with Quark Pro...",
"response-customise-2": "[UK, US, EU] Click onto my profile to upgrade!",
"response-customise-3": "Or... {proLink}",
"response-customise-4": "Try out colour customisation for free at {inventoryLink}",

"response-case-updated": "Case updated!",

"response-debug": "Debug log sent!",

"response-status-enabled": "Status channel updates enabled!",
"response-status-disabled": "Status channel updates disabled!",

"target0-command": "target",
"target1-command": "targets",
"message0-command": "message",
Expand All @@ -52,6 +68,8 @@
"channel0-command": "channel",
"channel1-command": "channels",

"serverlog-web-promote": "...or check out our web dashboard!",
"serverlog-select": "Select serverlog channel",
"serverlog-unset": "Channel unset",
"serverlog-set": "Channel set",
"serverlog-setchannel": "Channel set to {channel}",
Expand Down
7 changes: 6 additions & 1 deletion bot/en_us/buttons.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"userID": "User ID",
"supportServer": "Support Server",
"customise": "Customize"
"customise": "Customize",

"overview": "Overview",
"serverlog": "Serverlog",
"dashboard": "Dashboard",
"pro": "Quark Pro"
}
21 changes: 21 additions & 0 deletions bot/en_us/command_responses.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"disable": "Disable",
"enable": "Enable",

"error-401-0": "Command failed",
"error-401-1-type-0": "I am unable to ban that user",
"error-401-1-type-1": "I am unable to kick that user",
Expand Down Expand Up @@ -33,6 +36,9 @@
"error-434-1": "The start message and end message must belong to the same channel",
"error-435-0": "Cooldown active",
"error-435-1": "This command can only be used every 15 minutes",
"error-try-help-again": "Try running the help command again...",
"error-no-modlog": "No modlog channel",
"error-invalid-log": "Modlog case not found",

"error-timeout-period-too-long-0": "Timeout period too long",
"error-timeout-period-too-long-1": "Timeout period must be less than 28 days",
Expand All @@ -44,6 +50,19 @@
"response-unban": "Unbanned",
"response-purge": "Purged {count} messages",

"response-customise-dash": "Customization settings have moved to our [web dashboard]!",
"response-customise-1": "Log messages up to 2 weeks old, customise logs, and so much more with Quark Pro...",
"response-customise-2": "[UK, US, EU] Click onto my profile to upgrade!",
"response-customise-3": "Or... {proLink}",
"response-customise-4": "Try out colour customisation for free at {inventoryLink}",

"response-case-updated": "Case updated!",

"response-debug": "Debug log sent!",

"response-status-enabled": "Status channel updates enabled!",
"response-status-disabled": "Status channel updates disabled!",

"target0-command": "target",
"target1-command": "targets",
"message0-command": "message",
Expand All @@ -52,6 +71,8 @@
"channel0-command": "channel",
"channel1-command": "channels",

"serverlog-web-promote": "...or check out our web dashboard!",
"serverlog-select": "Select serverlog channel",
"serverlog-unset": "Channel unset",
"serverlog-set": "Channel set",
"serverlog-setchannel": "Channel set to {channel}",
Expand Down
7 changes: 6 additions & 1 deletion bot/tr/buttons.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"userID": "User ID",
"supportServer": "Support Server",
"customise": "Customize"
"customise": "Customise",

"overview": "Overview",
"serverlog": "Serverlog",
"dashboard": "Dashboard",
"pro": "Quark Pro"
}
14 changes: 14 additions & 0 deletions bot/tr/command_responses.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"disable": "Disable",
"enable": "Enable",

"error-401-0": "Command failed",
"error-401-1-type-0": "I am unable to ban that user",
"error-401-1-type-1": "I am unable to kick that user",
Expand Down Expand Up @@ -33,6 +36,9 @@
"error-434-1": "The start message and end message must belong to the same channel",
"error-435-0": "Cooldown active",
"error-435-1": "This command can only be used every 15 minutes",
"error-try-help-again": "Try running the help command again...",
"error-no-modlog": "No modlog channel",
"error-invalid-log": "Modlog case not found",

"error-timeout-period-too-long-0": "Timeout period too long",
"error-timeout-period-too-long-1": "Timeout period must be less than 28 days",
Expand All @@ -44,6 +50,12 @@
"response-unban": "Unbanned",
"response-purge": "Purged {count} messages",

"response-customise-dash": "Customisation settings have moved to our [web dashboard]!",
"response-customise-1": "Log messages up to 2 weeks old, customise logs, and so much more with Quark Pro...",
"response-customise-2": "[UK, US, EU] Click onto my profile to upgrade!",
"response-customise-3": "Or... {proLink}",
"response-customise-4": "Try out colour customisation for free at {inventoryLink}",

"target0-command": "target",
"target1-command": "targets",
"message0-command": "message",
Expand All @@ -52,6 +64,8 @@
"channel0-command": "channel",
"channel1-command": "channels",

"serverlog-web-promote": "...or check out our web dashboard!",
"serverlog-select": "Select serverlog channel",
"serverlog-unset": "Channel unset",
"serverlog-set": "Channel set",
"serverlog-setchannel": "Channel set to {channel}",
Expand Down
7 changes: 6 additions & 1 deletion bot/vi/buttons.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"userID": "User ID",
"supportServer": "Support Server",
"customise": "Customize"
"customise": "Customise",

"overview": "Overview",
"serverlog": "Serverlog",
"dashboard": "Dashboard",
"pro": "Quark Pro"
}
16 changes: 15 additions & 1 deletion bot/vi/command_responses.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"disable": "Tắt",
"enable": "Bật",

"error-401-0": "Lệnh thất bại",
"error-401-1-type-0": "Tôi không thể cấm người dùng đó",
"error-401-1-type-1": "Tôi không thể đá người dùng đó",
Expand All @@ -13,7 +16,7 @@
"error-404-1": "Vui lòng @mention một người dùng, dán ID của họ hoặc gõ tên người dùng của họ",
"error-405-0": "Xin lỗi?",
"error-405-1": "Tôi không làm điều đó lol",
"error-406-0": "You do not permission",
"error-406-0": "Bạn không có quyền",
"error-407-0": "Bạn không có quyền làm điều này",
"error-409-0-type-0": "Người dùng đó đã bị cấm",
"error-409-0-type-1": "Người dùng đó đã bị tắt tiếng",
Expand All @@ -33,6 +36,9 @@
"error-434-1": "Tin nhắn bắt đầu và tin nhắn kết thúc phải thuộc cùng một kênh",
"error-435-0": "Thời gian chờ đang hoạt động",
"error-435-1": "Lệnh này chỉ có thể được sử dụng mỗi 15 phút",
"error-try-help-again": "Try running the help command again...",
"error-no-modlog": "No modlog channel",
"error-invalid-log": "Modlog case not found",

"error-timeout-period-too-long-0": "Thời gian chờ quá lâu",
"error-timeout-period-too-long-1": "Thời gian chờ phải nhỏ hơn 28 ngày",
Expand All @@ -44,6 +50,12 @@
"response-unban": "Đã bỏ cấm",
"response-purge": "Đã xóa {count} tin nhắn",

"response-customise-dash": "Cài đặt tùy chỉnh đã được chuyển đến [bảng điều khiển web]!",
"response-customise-1": "Ghi lại tin nhắn lên đến 2 tuần trước, tùy chỉnh ghi nhật ký và nhiều hơn nữa với Quark Pro...",
"response-customise-2": "[UK, US, EU] Nhấp vào hồ sơ của tôi để nâng cấp!",
"response-customise-3": "Hoặc... {proLink}",
"response-customise-4": "Thử tùy chỉnh màu sắc miễn phí tại {inventoryLink}",

"target0-command": "mục tiêu",
"target1-command": "mục tiêu",
"message0-command": "tin nhắn",
Expand All @@ -52,6 +64,8 @@
"channel0-command": "kênh",
"channel1-command": "kênh",

"serverlog-web-promote": "...hoặc truy cập bảng điều khiển web của chúng tôi!",
"serverlog-select": "Chọn kênh serverlog",
"serverlog-unset": "Kênh không được đặt",
"serverlog-set": "Kênh đã được đặt",
"serverlog-setchannel": "Kênh đã được đặt thành {channel}",
Expand Down

0 comments on commit 435cc52

Please sign in to comment.