Re: [vdr] VDR-core's texts in plugin's .pot files

2007-08-24 Thread Klaus Schmidinger
On 08/24/07 16:00, Klaus Schmidinger wrote: > ... > One more thing: this also reduces I18nTranslate() to > > > const char *I18nTranslate(const char *s, const char *Plugin) > { > if (s && CurrentLanguage) { > const char *t = Plugin ? dgettext(Plugin, s) : gettext(s); > if (t != s) >

Re: [vdr] VDR-core's texts in plugin's .pot files

2007-08-24 Thread Klaus Schmidinger
On 08/24/07 15:35, Klaus Schmidinger wrote: > On 08/19/07 14:58, Matthias Becker wrote: >> ... >> One way of doing this would be to introduce a new macro similar to >> trNOOP( ). A plugin author would then tag the vdr-core texts with this >> new macro and xgettext would ignore these texts. >> >> Wh

Re: [vdr] VDR-core's texts in plugin's .pot files

2007-08-24 Thread Klaus Schmidinger
On 08/19/07 14:58, Matthias Becker wrote: > Hi, > > plugins can re-use VDR-core translations. With the old "i18n.c" method > plugin authors just did not provide a plugin specific translation for > these texts. > With the new translation method identifying these text got harder for > plugin transla

Re: [vdr] VDR-core's texts in plugin's .pot files

2007-08-19 Thread Klaus Schmidinger
On 08/19/07 14:58, Matthias Becker wrote: > Hi, > > plugins can re-use VDR-core translations. With the old "i18n.c" method > plugin authors just did not provide a plugin specific translation for > these texts. > With the new translation method identifying these text got harder for > plugin transla

Re: [vdr] VDR-core's texts in plugin's .pot files

2007-08-19 Thread Joachim Wilke
2007/8/19, Darren Salt <[EMAIL PROTECTED]>: > Each plugin has to handle its own translations and ensure that they're in its > own translation domain. This means that its makefile has to run xgettext, > generate .mo files and install them. Translation has to be done (for > plugin-specific text) usin

Re: [vdr] VDR-core's texts in plugin's .pot files

2007-08-19 Thread Darren Salt
I demand that Matthias Becker may or may not have written... > plugins can re-use VDR-core translations. With the old "i18n.c" method > plugin authors just did not provide a plugin specific translation for these > texts. > With the new translation method identifying these text got harder for > pl

[vdr] VDR-core's texts in plugin's .pot files

2007-08-19 Thread Matthias Becker
Hi, plugins can re-use VDR-core translations. With the old "i18n.c" method plugin authors just did not provide a plugin specific translation for these texts. With the new translation method identifying these text got harder for plugin translators. xgettext puts all texts into the .pot file - also