vdr-1.5.3 - issue with translations out of plugins

Message ID 466EDC28.8070307@gmx.de
State New
Headers

Commit Message

Christian Wieninger June 12, 2007, 5:47 p.m. UTC
  Hi,

I still had crashes even when using Alexanders patch.
I think the fix should look like this (diff against plain 1.5.3):

Phrases[0][Setup.OSDLanguage]);
       }

BR,

Christian
  

Comments

Joachim Wilke June 12, 2007, 6:35 p.m. UTC | #1
2007/6/12, Christian Wieninger <cwieninger@gmx.de>:
> I still had crashes even when using Alexanders patch.
> I think the fix should look like this (diff against plain 1.5.3):

Hi,

I'm sorry but neither the first nor the second patch do work here. I
still get an segfault when lcdproc tries to translate "Volume ".

Regards,
Joachim.
  

Patch

--- vdr-1.5.3/i18n.c    2007-06-09 10:44:54.000000000 +0200
+++ vdr-1.5.3-patched/i18n.c    2007-06-12 19:40:42.000000000 +0200
@@ -6851,7 +6851,7 @@ 
                     return t;
                  }
               }
-         p = Phrases;
+         p = OriginalPhrases = Phrases;
           }
       esyslog("%s%sno translation found for '%s' in language %d (%s)", 
Plugin ? Plugin : "", Plugin ? ": " : "", s, Setup.OSDLanguage,