Multilingual Teletext patch (4 Viewers)

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
The patch only changes this extremely minor thing:

Code:
     public TeletextPageRenderer()
     {
-      _isRegionalDK = (RegionInfo.CurrentRegion.Equals("DK"));
+      _isRegionalDK = (RegionInfo.CurrentRegion.TwoLetterISORegionName.Equals("DK", StringComparison.InvariantCultureIgnoreCase));
     }

Is that really all there is to it? :) I just wondered since I thought the character tables needed fixing etc...
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    Yep, that's it! The character tables are correct. The detection of the current regional settings was not working. (RegionInfo.CurrentRegion is an object not a string and so is never equal to "DK")

    Edit: This refers to the Danish teletext bug. The additional languages in teletext patch is unrelated and much bigger change - too big for me to try to adapt it for 4TR. :sorry:
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    The recompiled plugin below should contain the fix. Let me know if it now works OK.

    The fix will be part of the 1.4.0.1 maintenance release.
     

    Attachments

    • ForTheRecord.UI.MediaPortal - dk TT fix.zip
      30.7 KB

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Edit: This refers to the Danish teletext bug. The additional languages in teletext patch is unrelated and much bigger change - too big for me to try to adapt it for 4TR. :sorry:
    Ah OK, understood.

    Have you ever considered trying out For The Record? ;-) Perhaps this could be motivating :D

    In any case, I'll put this on our TODO list to look at this ourselves later on... :)
     

    Users who are viewing this thread

    Top Bottom