[mythtv] Ticket #8177: Four themestrings in schedule-ui.xml are untranslatable (due to type=zero?)

Nicolas Riendeau knight at teksavvy.com
Sat Mar 27 11:42:20 UTC 2010


Hi Kenni!

Kenni Lund wrote:
> I've just confirmed that this problem doesn't exist on the French
> translation, which perhaps could indicate that my ticket is invalid
> and the problem is caused by something else. Or at least that not all
> languages are affected.

The funny thing about this is that between the two translation I would have expected 
the French one to have problem because of character set issues caused by the accents...

> 
> As far as I can tell, the two source files "mythfrontend_fr.ts" and
> "mythfrontend_da.ts" both have fully valid translations of the
> affected strings. One example:
> 
> --------------------------------------------------------
> mythfrontend_fr.ts:
> --------------------------------------------------------
>    <message>
>        <location filename="../themes/themestrings.h" line="255"/>
>        <source>No episode limit</source>
>        <translation>Sans limitation du nombre d&apos;épisodes</translation>
>    </message>
> --------------------------------------------------------
> mythfrontend_da.ts:
> --------------------------------------------------------
>   <message>
>        <location filename="../themes/themestrings.h" line="255"/>
>        <source>No episode limit</source>
>        <translation>Intet episode maks</translation>
>    </message>
> --------------------------------------------------------
> 
> But for some reason, the French translation works, while the Danish
> one doesn't. There's no string called "No episode limit" in any of the
> plugins, which could conflict. There's no special characters in the
> Danish translation which potentially could make it untranslatable
> compared to the French translation.

(-;

We're on the same wavelength here, if any of the two translation files should have 
problems, it should be the French one...

I wonder what would happen if you added accents to your translation... (-;

> 
> Both translation files were generated with "lupdate translate.pro &&
> lrelease translate.pro" against r23773 and copied into a MythBuntu
> trunk r23772.
> 
> Does anyone with better understanding of QT/Linguist have an idea of
> what the cause might be? I can't wrap my head around this one.

I did a small test... I made a small Qt application that loads your qm file and then 
asks for the translation of "No episode limit". Surprisingly, it worked, I could see 
the translation... Might the problem be caused by the fact that two translation files 
are active at the same files when we are in the plugins (which I haven't test with my 
small application)? Maybe but then why would the problem affect only some 
translations and not all of them?

BTW, I was asked about the status of my fix for ticket 8175 in private email so I'll 
commit it this weeked.

Have a nice day!

Nick



More information about the mythtv-dev mailing list