Springen naar inhoud


Foto

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


  • Please log in to reply
Er zijn 7 reacties in dit onderwerp

#1 Pike_Bishop

  • Senior Member
  • 873 berichten

+33
Good

Geplaatst op 22 juli 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


Veranderd door Pike_Bishop, 22 juli 2019 - 22:10

Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 7.1


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

  • PLi® Contributor
  • 3648 berichten

+156
Excellent

Geplaatst op 23 juli 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
  • 873 berichten

+33
Good

Geplaatst op 23 juli 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


Veranderd door Pike_Bishop, 23 juli 2019 - 23:08

Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 7.1


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

  • Senior Member
  • 873 berichten

+33
Good

Geplaatst op 23 juli 2019 - 23:16

here nor a picture;

Bijlage  screenshot_2019-07-24_00-00-10.jpg   156,66K   1 Aantal bijlagen


Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 7.1


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

  • Senior Member
  • 873 berichten

+33
Good

Geplaatst op 24 juli 2019 - 16:33

with;

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

the translations works also


Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 7.1


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

  • PLi® Contributor
  • 3648 berichten

+156
Excellent

Geplaatst op 24 juli 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
  • 3648 berichten

+156
Excellent

Geplaatst op 24 juli 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
  • 873 berichten

+33
Good

Geplaatst op 24 juli 2019 - 19:15

thanks :)


Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 7.1





1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers