From dc4965cd33a1a9faa517352fc355a23dff956629 Mon Sep 17 00:00:00 2001 From: skuzow Date: Sat, 2 Jul 2022 21:23:06 +0200 Subject: [PATCH 1/5] ci: proper package --- .github/workflows/package.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 7f17c8c..3a9af94 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -1,20 +1,13 @@ -name: build plugin package - -on: - push: - pull_request: +name: package +on: push jobs: build: strategy: matrix: - # Use these Python versions - python: [ - 3.6 - ] - # and run on both Linux and Windows - os: [ubuntu-20.04, windows-2022] - runs-on: ${{matrix.os}} + python: [ 3.6 ] + os: [ ubuntu-20.04, windows-2022 ] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Setup python From 3f4a81b06c9efcd95fc25822d1a4ed43e044253a Mon Sep 17 00:00:00 2001 From: skuzow Date: Sat, 2 Jul 2022 22:06:56 +0200 Subject: [PATCH 2/5] refactor: plugin name change --- mcdreforged.plugin.json | 14 +++++++++----- requirements.txt | 2 +- {translator => simple_translator}/__init__.py | 19 +++++++++---------- 3 files changed, 19 insertions(+), 16 deletions(-) rename {translator => simple_translator}/__init__.py (62%) diff --git a/mcdreforged.plugin.json b/mcdreforged.plugin.json index f837408..8443e6c 100644 --- a/mcdreforged.plugin.json +++ b/mcdreforged.plugin.json @@ -1,10 +1,14 @@ { - "id": "translator", + "id": "simple_translator", "version": "1.2.0", - "name": "Translator", - "description": "Translates text ingame", - "author": "legendnightt", - "link": "https://github.com/legendnightt/mcdr-translator", + "name": "SimpleTranslator", + "description": "In-game translator", + "author": "skuzow", + "link": "https://github.com/skuzow/simple-translator", + "dependencies": { + "mcdreforged": ">=2.1.0", + "googletrans": "==4.0.0rc1" + }, "resources": [ "LICENSE" ] diff --git a/requirements.txt b/requirements.txt index 80c4247..5e62193 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -mcdreforged +mcdreforged>=2.1.0 googletrans==4.0.0rc1 diff --git a/translator/__init__.py b/simple_translator/__init__.py similarity index 62% rename from translator/__init__.py rename to simple_translator/__init__.py index b0eda03..6162cef 100644 --- a/translator/__init__.py +++ b/simple_translator/__init__.py @@ -4,7 +4,7 @@ from googletrans import Translator from mcdreforged.api.all import * -PLUGIN_METADATA = ServerInterface.get_instance().as_plugin_server_interface().get_self_metadata() +plugin_metadata = ServerInterface.get_instance().as_plugin_server_interface().get_self_metadata() class Config(Serializable): @@ -13,15 +13,13 @@ class Config(Serializable): config: Optional[Config] = None -translator = Translator() -prefix = 'Translator (t )' -plugin_name = PLUGIN_METADATA.name server_inst: PluginServerInterface +translator = Translator() -def auto_translator(msg: str): - return translator.translate(msg, dest=config.secondary_language).text if translator.detect( - msg).lang == config.global_language else translator.translate(msg, dest=config.global_language).text +def auto_translator(message: str): + return translator.translate(message, dest=config.secondary_language).text if translator.detect(message).\ + lang == config.global_language else translator.translate(message, dest=config.global_language).text def on_user_info(server: ServerInterface, info: Info): @@ -33,13 +31,14 @@ def on_load(server: PluginServerInterface, old): global server_inst server_inst = server load_config(None) - help_message = f'Use t and space, then what you want to translate, {config.global_language.upper()} to ' \ - f'{config.secondary_language.upper()} & ALL LANGUAGES to {config.global_language.upper()} auto' + prefix = 't translate-text' + help_message = f'Use t and space, then what you want to translate, works from {config.global_language} to ' \ + f'{config.secondary_language} & all languages to {config.global_language}' server.register_help_message(prefix, help_message) def load_config(source: Optional[CommandSource]): global config, server_inst - config_file_path = os.path.join('config', '{}.json'.format(PLUGIN_METADATA.id)) + config_file_path = os.path.join('config', '{}.json'.format(plugin_metadata.id)) config = server_inst.load_config_simple(config_file_path, in_data_folder=False, source_to_reply=source, echo_in_console=False, target_class=Config) From 07cd2afb97d6b9d05f964f721a10761986dd3ff1 Mon Sep 17 00:00:00 2001 From: skuzow Date: Sat, 2 Jul 2022 22:42:18 +0200 Subject: [PATCH 3/5] docs: readme rework --- README.md | 47 ++++++++++++++++++++++------------------------- img/example.png | Bin 9909 -> 0 bytes 2 files changed, 22 insertions(+), 25 deletions(-) delete mode 100644 img/example.png diff --git a/README.md b/README.md index 2b22f7c..4630625 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,24 @@ -# mcdr-translator +# 🌐 Simple Translator -[![license](https://img.shields.io/github/license/legendnightt/MCDR-Translator.svg)](https://github.com/legendnightt/MCDR-Translator/blob/master/LICENSE) -[![plugin package build status](https://github.com/legendnightt/MCDR-Translator/actions/workflows/package.yml/badge.svg?branch=master)](https://github.com/legendnightt/MCDR-Translator/actions/workflows/package.yml) -[![supported python versions](https://img.shields.io/badge/python->=%203.6%20-blue)](https://www.python.org/downloads) +[![license](https://img.shields.io/github/license/skuzow/simple-translator.svg)](https://github.com/skuzow/simple-translator/blob/master/LICENSE) +[![package](https://github.com/skuzow/simple-translator/actions/workflows/package.yml/badge.svg?branch=master)](https://github.com/skuzow/simple-translator/actions/workflows/package.yml) +[![python versions](https://img.shields.io/badge/python->=%203.6%20-blue)](https://www.python.org/downloads) -Really simple [MCDReforged](https://github.com/Fallen-Breath/MCDReforged) plugin for translating text ingame, from all languages to `global_language`, and `secondary_language` to `global_language` automatically. +Really simple [MCDReforged](https://github.com/Fallen-Breath/MCDReforged) in-game translator plugin. More plugins in [MCDReforgedPluginsCatalogue](https://github.com/MCDReforged/PluginCatalogue/blob/catalogue/readme.md). -## How it works? +## 🗿 How it works? -Simply type `t what you want to translate`. +Basically translates from all languages to `global_language`, and `secondary_language` to `global_language`. -### Example: +To use it simply type: `t what you want to translate` -![example](https://raw.githubusercontent.com/legendnightt/MCDR-Translator/master/img/example.png) +example -## Required python modules +## 💾 Config -- [googletrans](https://pypi.org/project/googletrans/4.0.0rc1) == 4.0.0rc1 -- [mcdreforged](https://github.com/Fallen-Breath/MCDReforged) >= 1.2.0 - -To install them execute: -```bash -pip install googletrans==4.0.0rc1 mcdreforged -``` -Or download [requirements.txt](https://github.com/legendnightt/mcdr-translator/blob/master/requirements.txt), and execute: -```bash -pip install -r requirements.txt -``` - -## Config - -`config/translator.json` +Location: `config/simple_translator.json` ```json { @@ -40,3 +26,14 @@ pip install -r requirements.txt "secondary_language": "es" } ``` + +## 🗂️ Required Python libraries + +- [googletrans](https://pypi.org/project/googletrans/4.0.0rc1) == 4.0.0rc1 +- [mcdreforged](https://github.com/Fallen-Breath/MCDReforged) >= 1.2.0 + +To install them execute: + +```bash +pip install -r requirements.txt +``` diff --git a/img/example.png b/img/example.png deleted file mode 100644 index eab1325ed0175d336a99209a9c129e481361f123..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9909 zcmZ9ScT|&0wDuK61Vp5Y5C}?9YD9VqN{2|1&_O_o(n~;UfJ5&fEg&F82uQC9AiYM2 z5b0Hrgd)9nkc*yk?z!KWKQdV>?|Rp)J$vSP_HR#wrn(XZ86(-1D_1B~l;yRqTp?1v z{Oxe_#^tx+kIZYA!*y3#744gsANWnn@GDnXuc*jB)Alr3e+h{NsK838uUiYn1YR%g z)Q$LypVjO-KdLaKtPKYUGET%WhJ;T>S?9}=nBa2Mk$cRTj zww|9GJ}__uq@-XMSiZ^yu#iQ&F@HYW#!?=}l>raK?QTXtoc(3oNg%9?Djd85kd^2L z$QU|UVoBF1u{n&-*%ydhEglY?ab@*GQz zvi&!emOjh7dTyc|o9*f@Df{z19e~rLZ4URP`T`}Iu9!k z==+lGB+7f#kTG%E5<>|D+fzc5cc}1MK{4HqWV9U0sSH%)s6+)=t9B@7deWyYsCDD^tWZ%= zaTnUPYxg~x45~ccJG`9Pehhd@(f`=zhGDw_O7DQG9 zRQY|O*QJYfsr82X2v|J)@o4u3L*E;_sSNnmN$WJFJDO3_#42O7Odk@Z{joWvzz!b&*q+ED3a;rxSzbv;;0)<|BH5-*VNEQWhCO%$Gir=W369Q zPp?-qL1szAzAop;S3JV5#6e0iWgDSI8q0@y-DhB*tT8blj^1adp8T*i5QvjouKCzM!=(BY+`0FhtgE#jBmYlr5Ar7z>KUQ<)#i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ti zL#wV^*hs2M>L{0R_e=w%U2PoI_o7n{#X;Vqias;19sAdCxdj-`t}JdPed&*3RfUGZ zmz}&2G}oGN#{XqLcZgFIYz6)psFddwyiB+!RGe}E@;QRKNc51ZNdAwYW=O2jQPR=& zB>rqpTmoi3T(!rRqQHCEp{W;8=Ck_(f^DYg_Gd|%M!v`Q)|Hw*{5?UTVOMuoOyfWcf_5#lwppmodyaeGe_y%;5&KA*FWcq(z&^zRj* zH?Lg0WLJM255|ij57IPjrwEoTgWd9$Q-=q;SM5t}H00$Vj<|_?(*qPTNU}uLVh5tTsZJT@wdo@Kt=rXqA>hnsRKCpY&#OEvK zkCPl3V{6LQ;LhS3+GhjhBF(?el#AhBMj$1ukJ;#~7&XC8%;*1PZioF2mk*zp-1ENf z4pThqjT1Aenp}76XvZr%!JiVNOH&%TTCNbL(Er5z4w;+YZm9&d6LE15Vny2Ia?_}u;KCneTo|E)lDG=5#tRAMjsd&WuZ@1ESEs&a&2 z0iWw2x9BNustli8}@43@r z!GbFuolY`mgf5Y1hUiAhHBsDi(BfvxMJ@lp@sLa*q(uGx*Tq9K0*H2;XUpm0*H+`K z>BUHHA`jbf(z|;BKBTi1C_4Q?k5J~WDqQrL^!CNuR2#HSGpXz4J+vz-3hMG@vSxw* E12Yj^wEzGB From e895af0d5b554f3c66a1e29f3cfe1c1a95a0ed90 Mon Sep 17 00:00:00 2001 From: skuzow Date: Sat, 2 Jul 2022 22:49:30 +0200 Subject: [PATCH 4/5] style: fix indent --- README.md | 2 +- mcdreforged.plugin.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4630625..04aed8f 100644 --- a/README.md +++ b/README.md @@ -35,5 +35,5 @@ Location: `config/simple_translator.json` To install them execute: ```bash -pip install -r requirements.txt + pip install -r requirements.txt ``` diff --git a/mcdreforged.plugin.json b/mcdreforged.plugin.json index 8443e6c..5c93b1c 100644 --- a/mcdreforged.plugin.json +++ b/mcdreforged.plugin.json @@ -6,10 +6,10 @@ "author": "skuzow", "link": "https://github.com/skuzow/simple-translator", "dependencies": { - "mcdreforged": ">=2.1.0", - "googletrans": "==4.0.0rc1" + "mcdreforged": ">=2.1.0", + "googletrans": "==4.0.0rc1" }, "resources": [ - "LICENSE" - ] + "LICENSE" + ] } From 2b428e4d5e5174c5b593dd63d1d75c1976098958 Mon Sep 17 00:00:00 2001 From: skuzow Date: Sat, 2 Jul 2022 22:53:51 +0200 Subject: [PATCH 5/5] v1.3.0 --- mcdreforged.plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcdreforged.plugin.json b/mcdreforged.plugin.json index 5c93b1c..eed232a 100644 --- a/mcdreforged.plugin.json +++ b/mcdreforged.plugin.json @@ -1,6 +1,6 @@ { "id": "simple_translator", - "version": "1.2.0", + "version": "1.3.0", "name": "SimpleTranslator", "description": "In-game translator", "author": "skuzow",