Jump to content


Photo

[7.1-release] germany locale for plugin fritzcall didn't work


  • Please log in to reply
7 replies to this topic

#1 Pike_Bishop

  • Senior Member
  • 808 posts

+29
Good

Posted 22 July 2019 - 22:08

Hi,

 

i use OpenPLI-7.1-release, and among other things i have installed the plugin fritzcall (it works perfect), the germany locale named FritzCall.mo

in the directory "/usr/lib/enigma2/python/Plugins/Extensions/FritzCall/locale/de/LC_MESSAGES" is also here, but didn't work.

from the FritzCall.mo i maked a FritzCall.po with msgunfmt and it looks ok, same as here;

https://github.com/O...tzcall/po/de.po

but the plugin is complete in english, (de translations didn't work)

 

 

regards

Pike


Edited by Pike_Bishop, 22 July 2019 - 22:10.

Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 6.0


Re: [7.1-release] germany locale for plugin fritzcall didn't work #2 Pr2

  • PLi® Contributor
  • 3,569 posts

+153
Excellent

Posted 23 July 2019 - 10:17

Hi,

 

I confirm this french is not displayed neither.

 

Regards,

 

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)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: [7.1-release] germany locale for plugin fritzcall didn't work #3 Pike_Bishop

  • Senior Member
  • 808 posts

+29
Good

Posted 23 July 2019 - 23:06

Hi,

 

now the translations works, i changed the plugin.py in the directory;

/usr/lib/enigma2/python/Plugins/Extensions/FritzCall

with the plugin.py from here;

https://github.com/O...l/src/plugin.py

and in this new plugin.py i changed the line 68 namely from the following;

from . import __ # @UnresolvedImport # pylint: disable=W0611,F0401

to;

from . import _ # @UnresolvedImport # pylint: disable=W0611,F0401

regards

Pike


Edited by Pike_Bishop, 23 July 2019 - 23:08.

Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 6.0


Re: [7.1-release] germany locale for plugin fritzcall didn't work #4 Pike_Bishop

  • Senior Member
  • 808 posts

+29
Good

Posted 23 July 2019 - 23:16

here nor a picture;

Attached File  screenshot_2019-07-24_00-00-10.jpg   156.66KB   1 downloads


Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 6.0


Re: [7.1-release] germany locale for plugin fritzcall didn't work #5 Pike_Bishop

  • Senior Member
  • 808 posts

+29
Good

Posted 24 July 2019 - 16:33

with;

from . import _, __  # @UnresolvedImport # pylint: disable=W0611,F0401

the translations works also


Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 6.0


Re: [7.1-release] germany locale for plugin fritzcall didn't work #6 Pr2

  • PLi® Contributor
  • 3,569 posts

+153
Excellent

Posted 24 July 2019 - 18:36

Thanks I have created the Pull Request with your fix.

 

https://github.com/O...lugins/pull/528

 

I checked on the other plugin and from . import _ seems to be the only one needed.


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)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: [7.1-release] germany locale for plugin fritzcall didn't work #7 Pr2

  • PLi® Contributor
  • 3,569 posts

+153
Excellent

Posted 24 July 2019 - 18:44

Already merged.


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)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: [7.1-release] germany locale for plugin fritzcall didn't work #8 Pike_Bishop

  • Senior Member
  • 808 posts

+29
Good

Posted 24 July 2019 - 19:15

thanks :)


Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 6.0





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users