now all translations works - i forgot to put the __init__.py in the directory addons too
screenshot_2019-07-30_02-14-43.jpg 137.57KB 4 downloads
regards
Pike
Posted 30 July 2019 - 01:23
now all translations works - i forgot to put the __init__.py in the directory addons too
screenshot_2019-07-30_02-14-43.jpg 137.57KB 4 downloads
regards
Pike
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 30 July 2019 - 12:16
We need a bb file...
If someone can point me to the source, I'll have a look.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 30 July 2019 - 15:17
Or did you made an adapted version. Then please clone it somewhere on github and adapt it there . Or does it work without adaption (where are the sources?)
When you not succeed I can help you - then WanWizard can create the bb file.
Edited by littlesat, 30 July 2019 - 15:18.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 30 July 2019 - 17:54
Hi mrvica,
yes it was a lot of work.
well done, must´ve been a bunch of work, just to mention, __init__.py and plugin.py from /FileCommander replace with the attached ones from the archive, make the subdirectory /locale and copy there /de subdirectory form the archive, restart E2
yes but that's not all, additional you have to include in the directory addons on all .py files which has code to translate
load a module as;
from . import _
then all translations works correct.
the .py files from directory addons which i mean are;
gz.py
ipk.py
key_actions.py
tar.py
type_utils.py
unarchiver.py
unrar.py
unzip.py
in my attached plugin.py the module load as from . import _ is alraedy included.
but in the .py with name FileList.py in the plugindirectory you need also;
from . import _
i can't do it because i have also no sources
and the __init__.py you need in the plugindirectory and also in the directory addons
thats's all
regards
Pike
Edited by Pike_Bishop, 30 July 2019 - 17:56.
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 30 July 2019 - 21:15
Posted 30 July 2019 - 21:38
Hi mrvica,
ahh, now it's clear the source is in the .zip File in Post #1 - thanks
if you would like uploading it with all changes for german language? (in .py and not decompiled .pyo)
yes i will do it (upload a new package only with the .py files with all inclusive, but i need time because i found a little bit de translations to improve
and i think i need also translations for the Console.py in the package.
if i'am ready i will post it here as a complete package (as a.zip-package)
regards
Pike
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 30 July 2019 - 23:42
Hi mrvica,
i attach here the new package (only with sources (.py files)).
now all is complete de translated with it - i have testet it.
you have nothing to do - it's ready for work.
FileCommander_sources_ported_by_mrvica_complete_de_translated.zip 112.33KB 22 downloads
regards
Pike
Edited by Pike_Bishop, 30 July 2019 - 23:43.
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 31 July 2019 - 19:54
yes, for translations to other languages it needs now only a template (.pot file)
i attach one.
FileCommander.pot.zip 4.82KB 10 downloads
regards
Pike
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 31 July 2019 - 22:03
Hi,
the import from;
from Plugins.Extensions.FileCommander.Console import Console
is two times in the key_actions.py
and if i marks a script, press the OK button, and then the Cancel button it crashes (green screen)
Traceback (most recent call last): File "/usr/lib/enigma2/python/mytest.py", line 210, in processDelay callback(*retval) File "/usr/lib/enigma2/python/Plugins/Extensions/FileCommander/addons/key_actions.py", line 432, in do_run_script UnboundLocalError: local variable 'cmdline' referenced before assignment
regards
Pike
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 2 August 2019 - 00:41
Hi,
sorry @mrvica, you're right in oatv is the same crash, here is the crashlog(part) from oatv;
01:19:56.1238 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:56+0200 [-] KEY: 352 1 KEY_OK OK 01:19:57.5610 [ ] driver/rcinput.cpp:38 handleCode [eRCDeviceInputDev] 1 160 1 01:19:57.5655 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] KEY: 352 0 KEY_OK OK 01:19:57.5663 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] [ActionMap] Keymap 'WizardActions' -> Action = 'ok' 01:19:57.5678 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] [SCREENNAME] ['FileCommanderScreen_summary', 'SimpleSummary'] 01:19:57.5746 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] [SCREENNAME] FileCommanderScreen 01:19:57.5756 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] Traceback (most recent call last): 01:19:57.5761 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] File "/usr/lib/enigma2/python/mytest.py", line 244, in processDelay 01:19:57.5767 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] callback(*retval) 01:19:57.5772 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] File "/usr/lib/enigma2/python/Plugins/Extensions/FileCommander/addons/key_actions.py", line 417, in do_run_script 01:19:57.5779 { E } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-08-02 01:19:57+0200 [-] UnboundLocalError: local variable 'cmdline' referenced before assignment 01:19:57.5781 [ E ] python/python.cpp:210 call [ePyObject] (PyObject_CallObject(<bound method Session.processDelay of <__main__.Session instance at 0x97bb5c88>>,()) failed)
can you tell it @iPkay ? because i'am not anymore in oatv forum.
regards
Pike
Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K
Image: OpenPLI-8.3
Posted 2 August 2019 - 09:43
Also the normal version is on our git: https://github.com/O...s/FileCommander
Hi,
Why not fork on github the version proposed by Persian Prince and port back all yours changes into this new fork?
Playing with .zip files on forum will quickly turn into a nightmare.
Pr2
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Posted 2 August 2019 - 12:06
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Posted 2 August 2019 - 13:25
https://github.com/E...n-FileCommander created, you have write access...
Let me know if others need access too (in which case I need github names)
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
0 members, 1 guests, 0 anonymous users