From 3e78501a4f8fa1554c8dadf91b80a47365e3604f Mon Sep 17 00:00:00 2001 From: Yuzu Date: Tue, 5 Mar 2024 10:20:37 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Add=20purge=20translation?= =?UTF-8?q?=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en.json | 16 ++++++++++++++++ locales/jp.json | 16 ++++++++++++++++ locales/th.json | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/locales/en.json b/locales/en.json index 3c8515e..206b549 100644 --- a/locales/en.json +++ b/locales/en.json @@ -48,6 +48,22 @@ "success": "Done~, I posted a message with your content!", "error": "An error occurred while trying to post the message with your content!" }, + "purge": { + "title": "Purge", + "info": "Delete a certain amount of messages", + "valid_args": "``(Number of messages)``", + "nothing_purged": "Nothing to purge", + "nan_error_title": "Invalid argument", + "nan_error_description": "The argument is not a number", + "error_over_limit": "The number of messages to delete is over the limit, the maximum is {{MAX}}", + "purging_progress": "Purging in progress ({{CURRENT}}/{{TOTAL}})", + "purge_progress": "Purged {{COUNT}}/{{TOTAL}} messages", + "purging_step_bulk_delete": "Bulk deleting messages... ({{CURRENT}} deleted)", + "purging_step_bulk_delete_done": "Bulk deleted {{COUNT}} messages", + "purging_step_normal_delete": "Deleting messages... ({{CURRENT}} deleted)", + "purging_step_normal_delete_done": "Deleted {{COUNT}} messages", + "error": "An error occurred while purging messages" + }, "invite": { "title": "Invite", "info": "[Invite {{BOT_NAME}} to your server!]({{{LINK}}})", diff --git a/locales/jp.json b/locales/jp.json index 1c7381a..4f5c4b8 100644 --- a/locales/jp.json +++ b/locales/jp.json @@ -48,6 +48,22 @@ "success": "メッセージの送信に成功しました", "error": "メッセージを送信できない" }, + "purge": { + "title": "削除", + "info": "特定のメッセージ数を削除します", + "valid_args": "``(メッセージ数)``", + "nothing_purged": "削除するメッセージはありません", + "nan_error_title": "無効な引数", + "nan_error_description": "引数が数値ではありません", + "error_over_limit": "削除するメッセージ数が上限を超えています。最大は {{MAX}} です", + "purging_progress": "削除中 ({{CURRENT}}/{{TOTAL}})", + "purge_progress": "{{COUNT}}/{{TOTAL}} メッセージ削除済み", + "purging_step_bulk_delete": "メッセージを一括で削除中... ({{CURRENT}} 削除済み)", + "purging_step_bulk_delete_done": "一括で {{COUNT}} メッセージ削除済み", + "purging_step_normal_delete": "メッセージを削除中... ({{CURRENT}} 削除済み)", + "purging_step_normal_delete_done": "{{COUNT}} メッセージ削除済み", + "error": "メッセージ削除中にエラーが発生しました" + }, "invite": { "title": "招待状リンク", "info": "[あなたのサーバに{{BOT_NAME}}を招待してください]({{{LINK}}})", diff --git a/locales/th.json b/locales/th.json index b6f5485..c8e4bda 100644 --- a/locales/th.json +++ b/locales/th.json @@ -48,6 +48,22 @@ "success": "เรียบร้อย~ ฉันโพสต์ข้อความพร้อมเนื้อหาของคุณแล้วนะ", "error": "เกิดข้อผิดพลาดขณะพยายามโพสต์ข้อความพร้อมเนื้อหาของคุณ!" }, + "purge": { + "title": "ล้าง", + "info": "ลบจำนวนข้อความที่กำหนด", + "valid_args": "``(จำนวนข้อความ)``", + "nothing_purged": "ไม่มีข้อความที่จะลบ", + "nan_error_title": "อาร์กิวเมนต์ไม่ถูกต้อง", + "nan_error_description": "อาร์กิวเมนต์ไม่ใช่ตัวเลข", + "error_over_limit": "จำนวนข้อความที่ต้องการลบเกินขีด จำกัด มีได้สูงสุด {{MAX}}", + "purging_progress": "กำลังทำการล้าง ({{CURRENT}}/{{TOTAL}})", + "purge_progress": "ล้าง {{COUNT}}/{{TOTAL}} ข้อความ", + "purging_step_bulk_delete": "กำลังลบข้อความโดยกลุ่ม... (ลบทั้งหมด {{CURRENT}})", + "purging_step_bulk_delete_done": "ลบทั้งหมด {{COUNT}} ข้อความ", + "purging_step_normal_delete": "กำลังลบข้อความ... (ลบทั้งหมด {{CURRENT}})", + "purging_step_normal_delete_done": "ลบทั้งหมด {{COUNT}} ข้อความ", + "error": "เกิดข้อผิดพลาดขณะทำการล้างข้อความ" + }, "invite": { "title": "เชิญชวน", "info": "[เชิญ {{BOT_NAME}} เข้าสู่เซิร์ฟเวอร์ของคุณ!]({{{LINK}}})",