Jump to content


Photo

XMLTV Localization

xmltv localization

  • Please log in to reply
12 replies to this topic

#1 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 8 December 2013 - 08:45

Hello,

Could you please enable localization on XMLTV?

http://sourceforge.n...in-xmltvimport/

Thanks.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: XMLTV Localization #2 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 8 December 2013 - 09:29

I only provide the XMLTV epg data.  This is a job for the devs.

 

Willy


Edited by doglover, 8 December 2013 - 09:30.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: XMLTV Localization #3 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 8 December 2013 - 16:39

Hello,

The following patch enables localization in EPGImport plugin.

Attached File  0001-Enable-Localization.patch.txt   5.82KB   34 downloads

If this is ok and commited translations will follow up (here http://openpli.org/f...post-them-here/).

Thanks.


PS. Willy sorry for posting this in XMLTV and EPG Import area.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: XMLTV Localization #4 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 9 December 2013 - 10:59

PS. Willy sorry for posting this in XMLTV and EPG Import area.

 

 

No problem.  Hopefully the devs are picking this up.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: XMLTV Localization #5 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 12 December 2013 - 18:42

Hello,

@OpenPLi, did you take a look on the patch?

Thanks
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: XMLTV Localization #6 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 13 December 2013 - 19:02

Done.
Real musicians never die - they just decompose

Re: XMLTV Localization #7 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 December 2013 - 19:43

Thanks.

Now its time for translators!
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: XMLTV Localization #8 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 December 2013 - 22:25

Hello,

Here is a patch (written from satdreamgr forum member) that renames class Config into EpgImportConfig. The Class Config is too generic and it is allready used by other plugins, causing problems to create correct screens on skins.
--- a/src/EPGImport/plugin.py
+++ b/src/EPGImport/plugin.py
@@ -70,7 +70,7 @@ lastImportResult = None
 ##################################
 # Configuration GUI
 
-class Config(ConfigListScreen,Screen):
+class EpgImportConfig(ConfigListScreen,Screen):
 	skin = """
 <screen position="center,center" size="560,400" title="EPG Import Configuration" >
 	<ePixmap name="red"    position="0,0"   zPosition="2" size="140,40" pixmap="skin_default/buttons/red.png" transparent="1" alphatest="on" />
@@ -332,7 +332,7 @@ class EPGImportLog(Screen):
 
 
 def main(session, **kwargs):
-    session.openWithCallback(doneConfiguring, Config)
+    session.openWithCallback(doneConfiguring, EpgImportConfig)
 
 def doneConfiguring(session, retval):
     "user has closed configuration, check new values...."
Attached File  0001-Change-Config-to-EpgImportConfig-because-Config-clas.patch.tar.gz   766bytes   4 downloads

Thanks.

Edited by athoik, 13 December 2013 - 22:25.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: XMLTV Localization #9 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 14 December 2013 - 12:00

Name it "EPGImportConfig" then, to have "casing" the same as the rest of the plugin.
Real musicians never die - they just decompose

Re: XMLTV Localization #10 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 December 2013 - 14:15

Screen (Config) has the same name with AutoBackup so changing to EPGImportConfig does the job.

Above patch does this or you mean something different?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: XMLTV Localization #11 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 14 December 2013 - 14:57

I meant, just replace "Epg" with "EPG" in the patch, and then I'll push it for you.
Real musicians never die - they just decompose

Re: XMLTV Localization #12 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 December 2013 - 16:24

ok! ;)

Attached File  0001-Change-Config-to-EPGImportConfig-because-Config-clas.patch.txt   1.15KB   4 downloads

Thanks
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: XMLTV Localization #13 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 16 December 2013 - 09:53

found one overlooked (untranslatable) text string while translating - patch attched

---

and just a thought, maybe it'd be nice to implement ngettext for all these '...%d events' strings?
tried to add it myself, but (miserably) failed... ;)


Edited by blzr, 16 December 2013 - 09:53.

True sarcasm doesn't need green font...



Also tagged with one or more of these keywords: xmltv, localization

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users