diff --git a/src/plugin_python_en.ts b/src/plugin_python_en.ts deleted file mode 100644 index e1b379a..0000000 --- a/src/plugin_python_en.ts +++ /dev/null @@ -1,108 +0,0 @@ - - - - - ProxyPython - - - Python Initialization failed - - - - - On a previous start the Python Plugin failed to initialize. -Either the value in Settings->Plugins->ProxyPython->plugin_dir is set incorrectly or it is empty and auto-detection doesn't work for whatever reason. -Do you want to try initializing python again (at the risk of another crash)? -Suggestion: Select "no", and click the warning sign for further help. Afterwards you have to re-enable the python plugin. - - - - - Python Proxy - - - - - Proxy Plugin to allow plugins written in python to be loaded - - - - - Python not installed or not found - - - - - Python version is incompatible - - - - - Invalid python path - - - - - Initializing Python failed - - - - - Python auto-detection failed - - - - - ModOrganizer path contains a semicolon - - - - - invalid problem key %1 - - - - - Some MO plugins require the python interpreter to be installed. These plugins will not even show up in settings-&gt;plugins.<br>If you want to use those plugins, please install the 32-bit version of Python 2.7.x from <a href="%1">%1</a>.<br>This is only required to use some extended functionality in MO, you do not need Python to play the game. - - - - - The loaded version of python does not match the expected 3.10.<br>This may cause some or all python plugins to stop working.<br>The expected python libraries should come bundled with MO2,<br>you may want to perform a clean install of the application. - - - - - Please set python_dir in Settings->Plugins->ProxyPython to the path of your python 2.7 (32 bit) installation. - - - - - The auto-detection of the python path failed. I don't know why this would happen but you can try to fix it by setting python_dir in Settings->Plugins->ProxyPython to the path of your python 2.7 (32 bit) installation. - - - - - Sorry, I don't know any details. Most likely your python installation is not supported. - - - - - The path to Mod Organizer (%1) contains a semicolon. <br>While this is legal on NTFS drives there is a lot of software that doesn't handle it correctly.<br>Unfortunately MO depends on libraries that seem to fall into that group.<br>As a result the python plugin can't be loaded.<br>The only solution I can offer is to remove the semicolon / move MO to a path without a semicolon. - - - - - QObject - - - An unexpected C++ exception was thrown in python code. - - - - - An unknown exception was thrown in python code. - - - - diff --git a/src/proxy/CMakeLists.txt b/src/proxy/CMakeLists.txt index 48c701e..8080d9c 100644 --- a/src/proxy/CMakeLists.txt +++ b/src/proxy/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 3.16) add_library(plugin_python SHARED) -mo2_configure_plugin(plugin_python WARNINGS OFF TRANSLATIONS OFF) +mo2_configure_plugin(plugin_python + WARNINGS OFF + EXTRA_TRANSLATIONS ${CMAKE_CURRENT_SOURCE_DIR}/../runner) target_link_libraries(plugin_python PRIVATE pythonrunner) mo2_install_target(plugin_python) diff --git a/src/proxy/plugin_python_en.ts b/src/proxy/plugin_python_en.ts new file mode 100644 index 0000000..639f459 --- /dev/null +++ b/src/proxy/plugin_python_en.ts @@ -0,0 +1,88 @@ + + + + + ProxyPython + + + Python Initialization failed + + + + + On a previous start the Python Plugin failed to initialize. +Do you want to try initializing python again (at the risk of another crash)? +Suggestion: Select "no", and click the warning sign for further help. Afterwards you have to re-enable the python plugin. + + + + + Python Proxy + + + + + Proxy Plugin to allow plugins written in python to be loaded + + + + + ModOrganizer path contains a semicolon + + + + + Python DLL not found + + + + + Invalid Python DLL + + + + + Initializing Python failed + + + + + + invalid problem key %1 + + + + + The path to Mod Organizer (%1) contains a semicolon. <br>While this is legal on NTFS drives, many softwares do not handle it correctly.<br>Unfortunately MO depends on libraries that seem to fall into that group.<br>As a result the python plugin cannot be loaded, and the only solution we canoffer is to remove the semicolon or move MO to a path without a semicolon. + + + + + The Python plugin DLL was not found, maybe your antivirus deleted it. Re-installing MO2 might fix the problem. + + + + + The Python plugin DLL is invalid, maybe your antivirus is blocking it. Re-installing MO2 and adding exclusions for it to your AV might fix the problem. + + + + + The initialization of the Python plugin DLL failed, unfortunately without any details. + + + + + QObject + + + An unexpected C++ exception was thrown in python code. + + + + + An unknown exception was thrown in python code. + + + +