Springen naar inhoud


Foto

XMLTV Localization

xmltv localization

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

#1 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 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
  • 17011 berichten

+639
Excellent

Geplaatst op 8 december 2013 - 09:29

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

 

Willy


Veranderd door 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
  • 8458 berichten

+327
Excellent

Geplaatst op 8 december 2013 - 16:39

Hello,

The following patch enables localization in EPGImport plugin.

Bijlage  0001-Enable-Localization.patch.txt   5,82K   34 Aantal bijlagen

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
  • 17011 berichten

+639
Excellent

Geplaatst op 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
  • 8458 berichten

+327
Excellent

Geplaatst op 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
  • 14045 berichten

+298
Excellent

Geplaatst op 13 december 2013 - 19:02

Done.
Real musicians never die - they just decompose

Re: XMLTV Localization #7 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 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
  • 8458 berichten

+327
Excellent

Geplaatst op 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...."
Bijlage  0001-Change-Config-to-EpgImportConfig-because-Config-clas.patch.tar.gz   766bytes   4 Aantal bijlagen

Thanks.

Veranderd door 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
  • 14045 berichten

+298
Excellent

Geplaatst op 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
  • 8458 berichten

+327
Excellent

Geplaatst op 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
  • 14045 berichten

+298
Excellent

Geplaatst op 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
  • 8458 berichten

+327
Excellent

Geplaatst op 14 december 2013 - 16:24

ok! ;)

Bijlage  0001-Change-Config-to-EPGImportConfig-because-Config-clas.patch.txt   1,15K   4 Aantal bijlagen

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
  • 2269 berichten

+118
Excellent

Geplaatst op 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... ;)

Bijgevoegde Bestanden


Veranderd door 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 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers