Add locale for language settings

This commit is contained in:
2022-06-29 22:13:48 +07:00
parent 9e408d88f4
commit 31be21fdd6
3 changed files with 27 additions and 3 deletions
+9 -1
View File
@@ -130,7 +130,7 @@
"settings": { "settings": {
"title": "Settings", "title": "Settings",
"description": "Change how {{BOT_NAME}} behave on **{{GUILD_NAME}}**", "description": "Change how {{BOT_NAME}} behave on **{{GUILD_NAME}}**",
"valid_args": "``Prefix`` ``EnableServiceAnnouncement`` ``ServiceAnnouncementChannel``" "valid_args": "``Prefix`` ``Language`` ``EnableServiceAnnouncement`` ``ServiceAnnouncementChannel``"
}, },
"settings_prefix": { "settings_prefix": {
"info": "Current prefix is {{{PREFIX}}}", "info": "Current prefix is {{{PREFIX}}}",
@@ -142,6 +142,14 @@
"prefix_updated": "Prefix updated", "prefix_updated": "Prefix updated",
"prefix_updated_description": "From now onwards, I shall be called by using ``{{PREFIX}}``" "prefix_updated_description": "From now onwards, I shall be called by using ``{{PREFIX}}``"
}, },
"settings_language": {
"info": "Current language is {{LANGUAGE}}",
"info_description": "Provide a new language to change\n**Available languages**: ``{{LANGUAGES}}``",
"language_invalid": "Invalid language",
"language_invalid_description": "The language code is invalid or not supported yet",
"language_updated": "Language updated",
"language_updated_description": "I will be using {{LANGUAGE}} from now on"
},
"ping": { "ping": {
"title": "Network performance", "title": "Network performance",
"title_processing": "Measuring network performance ( ◕▿◕ )", "title_processing": "Measuring network performance ( ◕▿◕ )",
+9 -1
View File
@@ -130,7 +130,7 @@
"settings": { "settings": {
"title": "設定", "title": "設定",
"description": "**{{GUILD_NAME}}**サーバでの{{BOT_NAME}}の動作変更", "description": "**{{GUILD_NAME}}**サーバでの{{BOT_NAME}}の動作変更",
"valid_args": "``Prefix`` ``EnableServiceAnnouncement`` ``ServiceAnnouncementChannel``" "valid_args": "``Prefix`` ``Language`` ``EnableServiceAnnouncement`` ``ServiceAnnouncementChannel``"
}, },
"settings_prefix": { "settings_prefix": {
"info": "現在の接頭辞は「{{{PREFIX}}}」です。", "info": "現在の接頭辞は「{{{PREFIX}}}」です。",
@@ -142,6 +142,14 @@
"prefix_updated": "プレフィックスを更新", "prefix_updated": "プレフィックスを更新",
"prefix_updated_description": "これ以降、私は 「``{{PREFIX}}``」 を使って呼び出されることになります。" "prefix_updated_description": "これ以降、私は 「``{{PREFIX}}``」 を使って呼び出されることになります。"
}, },
"settings_language": {
"info": "現在の言語は{{LANGUAGE}}です",
"info_description": "変更する新しい言語を提供する\n**利用可能な言語**: ``{{LANGUAGES}}``",
"language_invalid": "無効な言語",
"language_invalid_description": "言語コードが無効であるか、まだサポートされていません",
"language_updated": "言語が変更されました",
"language_updated_description": "これからは{{LANGUAGE}}を使います"
},
"ping": { "ping": {
"title": "ネットワークパフォーマンス", "title": "ネットワークパフォーマンス",
"title_processing": "ネットワーク性能の測定 ( ◕▿◕ )", "title_processing": "ネットワーク性能の測定 ( ◕▿◕ )",
+9 -1
View File
@@ -130,7 +130,7 @@
"settings": { "settings": {
"title": "การตั้งค่า", "title": "การตั้งค่า",
"description": "เปลี่ยนพฤติกรรมของ {{BOT_NAME}} บน **{{GUILD_NAME}}**", "description": "เปลี่ยนพฤติกรรมของ {{BOT_NAME}} บน **{{GUILD_NAME}}**",
"valid_args": "``Prefix`` ``EnableServiceAnnouncement`` ``ServiceAnnouncementChannel``" "valid_args": "``Prefix`` ``Language`` ``EnableServiceAnnouncement`` ``ServiceAnnouncementChannel``"
}, },
"settings_prefix": { "settings_prefix": {
"info": "คำนำหน้าปัจจุบันคือ {{{PREFIX}}}", "info": "คำนำหน้าปัจจุบันคือ {{{PREFIX}}}",
@@ -142,6 +142,14 @@
"prefix_updated": "อัปเดตคำนำหน้าแล้ว", "prefix_updated": "อัปเดตคำนำหน้าแล้ว",
"prefix_updated_description": "จากนี้ไป คุณสามารถเรียกฉันโดยใช้ ``{{PREFIX}}`` นะ" "prefix_updated_description": "จากนี้ไป คุณสามารถเรียกฉันโดยใช้ ``{{PREFIX}}`` นะ"
}, },
"settings_language": {
"info": "ภาษาปัจจุบันตอนนี้คือ {{LANGUAGE}}",
"info_description": "ระบุภาษาใหม่เพื่อเปลี่ยน\n**ภาษาที่ใช้ได้**: ``{{LANGUAGES}}``",
"language_invalid": "ภาษาไม่ถูกต้อง",
"language_invalid_description": "รหัสภาษาไม่ถูกต้องหรือยังไม่รองรับ",
"language_updated": "เปลี่ยนภาษาเรียบร้อย",
"language_updated_description": "ตั้งแต่นี้ไปฉันจะใช้ภาษา {{LANGUAGE}}"
},
"ping": { "ping": {
"title": "ประสิทธิภาพของเครือข่าย", "title": "ประสิทธิภาพของเครือข่าย",
"title_processing": "กำลังวัดประสิทธิภาพของเครือข่าย ( ◕▿◕ )", "title_processing": "กำลังวัดประสิทธิภาพของเครือข่าย ( ◕▿◕ )",