From 2281d7889640660e3bb062dd44bbc5e2175280aa Mon Sep 17 00:00:00 2001 From: DJj123dj <80536295+DJj123dj@users.noreply.github.com> Date: Mon, 7 Apr 2025 18:13:23 +0200 Subject: [PATCH] Implemented Vietnamese translations --- README.md | 6 +++--- languages/vietnamese.json | 6 +++--- src/core/api/defaults/language.ts | 1 + src/data/framework/languageLoader.ts | 1 + 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8e12532..bbd46d9 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@
Open Ticket is the most advanced & customisable discord ticket bot that you will ever find! You can customise up to 300+ variables! This includes Html Transcripts, Advanced Plugins, Custom Embeds, Questions/Modals, Stats & more!
-You're also able to customise every little aspect of the bot! From embeds to transcripts. Open Ticket is also translated in more than 26 Languages! If you need any help, feel free to join our discord server!
+You're also able to customise every little aspect of the bot! From embeds to transcripts. Open Ticket is also translated in more than 27 Languages! If you need any help, feel free to join our discord server!
โญ๏ธ Help us grow by giving a star! โญ๏ธ
@@ -32,7 +32,7 @@ You're also able to customise every little aspect of the bot! From embeds to tra - **๐ scalable** - Open Ticket is made to handle huge servers! (Already tested in **servers with 100k members**) - **๐ HTML transcripts** - Make use of the most customisable, beautiful and easy-to-use HTML Transcripts! - **โ ticket actions** - Close, Reopen, Delete, Claim, Pin, Rename & Move all your tickets! -- **๐ฌ๐ง translation** - Open Ticket has been translated in more than **26 languages** by our community! +- **๐ฌ๐ง translation** - Open Ticket has been translated in more than **27 languages** by our community! - **๐จ customisation** - Open Ticket has been created around customisation, everything can be customised! - **๐ฅ๏ธ interactions** - The bot has full support for Buttons, Dropdowns, Slash Commands and Modals! - **โ unlimited** - Create an infinite amount of tickets & panels! @@ -198,11 +198,11 @@ This is the main team working on Open Ticket. Don't forget to check their profil |๐ซ๐ฎ Finnish |iamnotmega |๐ต Up To Date (AI) | |๐ท๐บ Russian |NoOneNook |๐ต Up To Date (AI) | |๐ฑ๐ป Latvian |NoOneNook |๐ต Up To Date (AI) | +|๐ป๐ณ Vietnamese |ngocdiep2006 |๐ต Up To Date (AI) | |๐ฏ๐ต Japanese |/ |๐ด Missing | |๐ฐ๐ท Korean |/ |๐ด Missing | |๐จ๐ณ Simplified Chinese |/ |๐ด Missing | |๐จ๐ณ Traditional Chinese|/ |๐ด Missing | -|๐ป๐ณ Vietnamese |/ |๐ด Missing | |๐ธ๐ฎ Slovenian |/ |๐ด Missing | |๐ฌ๐ท Greek |/ |๐ด Missing | |โ Kurdish |/ |๐ด Missing | diff --git a/languages/vietnamese.json b/languages/vietnamese.json index ae21568..b691ff3 100644 --- a/languages/vietnamese.json +++ b/languages/vietnamese.json @@ -1,10 +1,10 @@ { "_TRANSLATION":{ "otversion":"v4.0.1", - "translators":["ngocdiep2006 (Using Gemini & brain)"], + "translators":["ngocdiep2006"], "lastedited":"07/04/2025", - "language":"Vietnamese (Tiแบฟng Viแปt)", - "automated":false + "language":"Vietnamese", + "automated":true }, "checker":{ "system":{ diff --git a/src/core/api/defaults/language.ts b/src/core/api/defaults/language.ts index 57c3be7..183cc93 100644 --- a/src/core/api/defaults/language.ts +++ b/src/core/api/defaults/language.ts @@ -471,6 +471,7 @@ export interface ODLanguageManagerIds_Default { "opendiscord:norwegian":ODLanguage, "opendiscord:russian":ODLanguage, "opendiscord:swedish":ODLanguage, + "opendiscord:vietnamese":ODLanguage, //ADD NEW LANGUAGES HERE!!! } diff --git a/src/data/framework/languageLoader.ts b/src/data/framework/languageLoader.ts index 73d012f..868c534 100644 --- a/src/data/framework/languageLoader.ts +++ b/src/data/framework/languageLoader.ts @@ -29,6 +29,7 @@ export const loadAllLanguages = async () => { opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:norwegian","norwegian.json")) opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:russian","russian.json")) opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:swedish","swedish.json")) + opendiscord.languages.add(new api.ODJsonLanguage("opendiscord:vietnamese","vietnamese.json")) /** How to add more languages? * - Register the language to the manager (see above)