From b5525f163c61a5c298ced7a0c21618db4f8e4754 Mon Sep 17 00:00:00 2001 From: Asleepp <119438940+Asleeepp@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:21:41 -0300 Subject: [PATCH 1/5] Initial Commit --- src/main/java/ch/njol/skript/SkriptCommand.java | 2 -- src/main/java/ch/njol/skript/SkriptCommandTabCompleter.java | 1 - 2 files changed, 3 deletions(-) diff --git a/src/main/java/ch/njol/skript/SkriptCommand.java b/src/main/java/ch/njol/skript/SkriptCommand.java index 5e5609e6c95..e353ffa13fe 100644 --- a/src/main/java/ch/njol/skript/SkriptCommand.java +++ b/src/main/java/ch/njol/skript/SkriptCommand.java @@ -351,8 +351,6 @@ else if (args[0].equalsIgnoreCase("update")) { updater.updateCheck(sender); } else if (args[1].equalsIgnoreCase("changes")) { updater.changesCheck(sender); - } else if (args[1].equalsIgnoreCase("download")) { - updater.updateCheck(sender); } } diff --git a/src/main/java/ch/njol/skript/SkriptCommandTabCompleter.java b/src/main/java/ch/njol/skript/SkriptCommandTabCompleter.java index 4cd9c445173..d632f4109e5 100644 --- a/src/main/java/ch/njol/skript/SkriptCommandTabCompleter.java +++ b/src/main/java/ch/njol/skript/SkriptCommandTabCompleter.java @@ -46,7 +46,6 @@ public List onTabComplete(CommandSender sender, Command command, String if (args[0].equalsIgnoreCase("update") && args.length == 2) { options.add("check"); options.add("changes"); - options.add("download"); } else if (args[0].matches("(?i)(reload|disable|enable)") && args.length >= 2) { File scripts = Skript.getInstance().getScriptsFolder(); String scriptsPathString = scripts.toPath().toString(); From 3c622a40c2be9f87129ed2bcc17289cda846b367 Mon Sep 17 00:00:00 2001 From: Asleepp <119438940+Asleeepp@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:44:09 -0300 Subject: [PATCH 2/5] remove from CommandHelp --- src/main/java/ch/njol/skript/SkriptCommand.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/ch/njol/skript/SkriptCommand.java b/src/main/java/ch/njol/skript/SkriptCommand.java index e353ffa13fe..a1580805516 100644 --- a/src/main/java/ch/njol/skript/SkriptCommand.java +++ b/src/main/java/ch/njol/skript/SkriptCommand.java @@ -77,7 +77,6 @@ public class SkriptCommand implements CommandExecutor { ).add(new CommandHelp("update", SkriptColor.DARK_CYAN) .add("check") .add("changes") - .add("download") ).add("info" ).add("help"); From 2418c2e1ac44aa28c9ad1cd902ec74cdc7985567 Mon Sep 17 00:00:00 2001 From: Asleepp <119438940+Asleeepp@users.noreply.github.com> Date: Tue, 3 Dec 2024 13:47:35 -0300 Subject: [PATCH 3/5] Update lang --- src/main/resources/lang/dutch.lang | 1 - src/main/resources/lang/english.lang | 1 - src/main/resources/lang/french.lang | 1 - src/main/resources/lang/german.lang | 1 - src/main/resources/lang/japanese.lang | 1 - src/main/resources/lang/korean.lang | 1 - src/main/resources/lang/polish.lang | 1 - src/main/resources/lang/russian.lang | 1 - src/main/resources/lang/simplifiedchinese.lang | 1 - src/main/resources/lang/turkish.lang | 1 - 10 files changed, 10 deletions(-) diff --git a/src/main/resources/lang/dutch.lang b/src/main/resources/lang/dutch.lang index 8169cc1286b..e91789d4f6b 100644 --- a/src/main/resources/lang/dutch.lang +++ b/src/main/resources/lang/dutch.lang @@ -43,7 +43,6 @@ skript command: description: Controleert of er updates zijn, laat de lijst met wijzigingen zien of downloadt de nieuwste versie van Skript check: Controleert of er een nieuwe versie is changes: Toont alle wijzigingen sinds de huidige versie - download: Downloadt de nieuwste versie info: Toont koppelingen naar de alliassen en documentatie van Skript gen-docs: Genereert documentatie met behulp van docs/templates in de plugin folder test: Gebruikt voor het uitvoeren van interne Skript-tests diff --git a/src/main/resources/lang/english.lang b/src/main/resources/lang/english.lang index 43e417be1a9..bbf9a56519d 100644 --- a/src/main/resources/lang/english.lang +++ b/src/main/resources/lang/english.lang @@ -43,7 +43,6 @@ skript command: description: Check for updates, read the changelog, or download the latest version of Skript check: Checks for a new version changes: Lists all changes since the current version - download: Download the newest version info: Prints a message with links to Skript's aliases and documentation gen-docs: Generates documentation using docs/templates in plugin folder test: Used for running internal Skript tests diff --git a/src/main/resources/lang/french.lang b/src/main/resources/lang/french.lang index 242bd42ef30..862ce541095 100644 --- a/src/main/resources/lang/french.lang +++ b/src/main/resources/lang/french.lang @@ -43,7 +43,6 @@ skript command: description: Vérifie les mises à jour, liste le journal des modifications ou télécharge la dernière version de Skript check: Vérifie la présence d'une nouvelle version changes: Liste toutes les modifications apportées depuis la version actuelle - download: Télécharge la dernière version info: Affiche un message contenant les liens vers les alias et la documentation de Skript gen-docs: Génère la documentation en utilisant docs/templates dans le dossier du plugin test: Utilisé pour exécuter les tests Skript diff --git a/src/main/resources/lang/german.lang b/src/main/resources/lang/german.lang index 38b25b80c27..71263c0928a 100644 --- a/src/main/resources/lang/german.lang +++ b/src/main/resources/lang/german.lang @@ -43,7 +43,6 @@ skript command: description: Überprüft auf eine neue Version, listet Änderungen dieser auf, und kann sie auch gleich herunterladen check: Überprüft, ob eine neue Version von Skript verfügbar ist changes: Listet alle Änderungen seit der aktuellen Version auf (auf englisch) - download: Lädt die neueste Version herunter info: Druckt eine Nachricht mit Links zu den Aliases und der Dokumentation von Skript. gen-docs: Generiert Dokumentation mithilfe von docs/templates im Plugin-Ordner test: Wird zum Ausführen von Skript-Tests verwendet diff --git a/src/main/resources/lang/japanese.lang b/src/main/resources/lang/japanese.lang index aa2081b17b2..001521d6f50 100644 --- a/src/main/resources/lang/japanese.lang +++ b/src/main/resources/lang/japanese.lang @@ -43,7 +43,6 @@ skript command: description: アップデートのチェック, 変更履歴を見る, もしくは最新バージョンのSkriptをダウンロードします。 check: 新しいバージョンが存在するか確認します。 changes: 現在のバージョンとの変更点を表示します。 - download: 最新バージョンをダウンロードします。 info: Skriptのエイリアスとドキュメントをリンク付きで表示します。 gen-docs: pluginフォルダ内にテンプレートを使用してドキュメントを生成します。 test: 内部テストを実行するために使用します。 diff --git a/src/main/resources/lang/korean.lang b/src/main/resources/lang/korean.lang index fdbf38a32b3..3d4e81a09f1 100644 --- a/src/main/resources/lang/korean.lang +++ b/src/main/resources/lang/korean.lang @@ -43,7 +43,6 @@ skript command: description: 업데이트를 확인하거나, 변경 로그를 읽거나, 최신 버전의 Skript를 다운로드합니다. check: 새 버전을 확인합니다. changes: 현재 버전의 모든 변경 사항을 나열합니다. - download: 최신 버전을 다운로드합니다. info: Skript의 별명 및 문서에 대한 링크가있는 메시지를 표시합니다 gen-docs: 플러그인 폴더의 문서 템플릿을 사용하여 문서를 생성합니다. test: Skript 테스트를 실행할 때 사용됩니다. diff --git a/src/main/resources/lang/polish.lang b/src/main/resources/lang/polish.lang index 52ed35ec973..7fa34cfa2ec 100644 --- a/src/main/resources/lang/polish.lang +++ b/src/main/resources/lang/polish.lang @@ -43,7 +43,6 @@ skript command: description: Sprawdź aktualizację, przeczytaj listę zmian lub pobierz najnowszą wersję Skripta check: Sprawdza dostępność nowszej wersji changes: Wypisuje nowe zmiany od obecnej wersji - download: Pobiera najnowszą stabilną wersję info: Wyświetla linki do aliasów i oficjalnej dokumentacji Skripta gen-docs: Generuje dokumentację używając szablonów w folderze Skripta test: Służy do uruchamiania wewnętrznych testów Skripta diff --git a/src/main/resources/lang/russian.lang b/src/main/resources/lang/russian.lang index 8986c2cf429..a43a468cd5e 100644 --- a/src/main/resources/lang/russian.lang +++ b/src/main/resources/lang/russian.lang @@ -43,7 +43,6 @@ skript command: description: Проверить наличие обновлений, прочитать список изменений, или скачать последнюю версию Skript check: Проверить наличие обновлений changes: Вывести список всех изменений с текущей версии - download: Скачать самую новую версию info: Выводит ссылки на алиасы Skript и документацию gen-docs: Генерирует документацию, используя документации/шаблоны в папке плагина test: Используется для внутреннего тестирования Skript diff --git a/src/main/resources/lang/simplifiedchinese.lang b/src/main/resources/lang/simplifiedchinese.lang index b502f9068aa..99a5ba7afba 100644 --- a/src/main/resources/lang/simplifiedchinese.lang +++ b/src/main/resources/lang/simplifiedchinese.lang @@ -43,7 +43,6 @@ skript command: description: 检查更新,阅读更新日志,或下载最新版本的Skript check: 检查新版本 changes: 列出自当前版本以来的所有变化 - download: 下载最新的版本 info: 打印一个带有Skript的别名和文档链接的信息 gen-docs: 使用插件文件夹中的docs/templates生成文档 test: 用于运行内部的Skript测试 diff --git a/src/main/resources/lang/turkish.lang b/src/main/resources/lang/turkish.lang index ca8cad7b9c5..87aeda64f66 100644 --- a/src/main/resources/lang/turkish.lang +++ b/src/main/resources/lang/turkish.lang @@ -41,7 +41,6 @@ skript command: description: Skript eklentisinin güncelliğini yönetmenizi sağlar. check: Yeni bir sürüm olup olmadığını kontrol eder. changes: Son sürümdeki tüm değişiklikleri listeler. - download: En yeni sürümü indirir. info: Skript'in alias ve dökümantasyon bağlantılarını gösterir. gen-docs: Eklenti klasöründeki şablonları kullanarak bir dokümantasyon oluşturur. test: Skript'in dahili testleri için kullanılır. From 978e684798b5c01d15a1dcf6212e026864476f25 Mon Sep 17 00:00:00 2001 From: Asleepp <119438940+Asleeepp@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:01:29 -0300 Subject: [PATCH 4/5] Update lang --- src/main/resources/lang/english.lang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/lang/english.lang b/src/main/resources/lang/english.lang index bbf9a56519d..d02010b983d 100644 --- a/src/main/resources/lang/english.lang +++ b/src/main/resources/lang/english.lang @@ -40,7 +40,7 @@ skript command: all: Disables all scripts