Jump to content


Photo

MessageBox.py


  • Please log in to reply
4 replies to this topic

#1 spartak73

  • Member
  • 24 posts

0
Neutral

Posted 15 April 2015 - 18:41

Can you make title message in MessageBox.py translatable?

		self.title = self.type < self.TYPE_MESSAGE and [_("Question"), _("Information"), _("Warning"), _("Error")][self.type] or "Message"

Thx :)

 


Octagon SF8008 4K Twin, Formuler F3, Vu+ Duo² Toroidal T-90 14°W -- 42°E


Re: MessageBox.py #2 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 15 April 2015 - 19:11

No. It is translatable yet.

 

But strings are missing in enigma's .po files =>  . mo


Kdo nic nedělá, nic nezkazí!

Re: MessageBox.py #3 spartak73

  • Member
  • 24 posts

0
Neutral

Posted 15 April 2015 - 19:44

Yes, indeed. Thank you :)


Octagon SF8008 4K Twin, Formuler F3, Vu+ Duo² Toroidal T-90 14°W -- 42°E


Re: MessageBox.py #4 littlesat

  • PLi® Core member
  • 56,268 posts

+691
Excellent

Posted 15 April 2015 - 20:15

It is translatable... See a bit lower in the code....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: MessageBox.py #5 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 15 April 2015 - 21:59

Only for idea or discussions.
I for myself in enigma added a file translate.py, which not compile in the enigma, but in which I insert the following words in format _("...") to add them to the localization files, when automatically parses them.


Edited by Taapat, 15 April 2015 - 22:00.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users