Jump to content


Photo

GraphMultiEpg.py tiny request (localization)

enigma2 GraphMultiEpg

  • Please log in to reply
2 replies to this topic

#1 macnuts

  • Senior Member
  • 420 posts

+14
Neutral

Posted 24 July 2012 - 19:50

I've just noticed that enigma2-plugin-extensions-graphmultiepg plugin is under heavy refinement. That is good you are doing a great job here, guys.

I have a tiny request to make the "Zap" text use the _() operator in order to allow its localiation. Like in the following diff-like snipplet (onSelectionChanged function):

--- old/lib/enigma2/python/Plugins/Extensions/GraphMultiEpg/GraphMultiEpg.py
+++ new/lib/enigma2/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
@@ -943,11 +943,11 @@
								self["key_red"].setText("")
								self.key_red_choice = self.EMPTY
						return
				if self.key_red_choice != self.ZAP:
-					   self["key_red"].setText("Zap")
+					   self["key_red"].setText(_("Zap"))
						self.key_red_choice = self.ZAP
				if not event:
						if self.key_green_choice != self.EMPTY:
								self["key_green"].setText("")

Regards.

Edited by macnuts, 24 July 2012 - 19:51.


Re: GraphMultiEpg.py tiny request (localization) #2 littlesat

  • PLi® Core member
  • 57,154 posts

+698
Excellent

Posted 24 July 2012 - 20:11

Granted....

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


Re: GraphMultiEpg.py tiny request (localization) #3 macnuts

  • Senior Member
  • 420 posts

+14
Neutral

Posted 24 July 2012 - 20:18

Thanx!



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users