[Qt-creator] Untranslatable strings

Daniel Molkentin daniel.molkentin at nokia.com
Tue Jun 2 19:43:24 CEST 2009


Hi Diego,

ext Diego Schulz schrieb:
> Hi all,
> 
> I recently found this in ./src/plugins/coreplugin/versiondialog.cpp:
> 
> 
>  const QString description = tr(
[...]
> Just want to point out that this appears not to be fully
> translatable.. Does Linguist and the other Qt translation tools can
> manage to work with macros?
> 
> Please let me know if I'm wrong.

No, you are not. I just made this string translatable by making more use
   of .arg(), thus getting rid of the #ifdef's in the string. The change is
in commit 3e085c86af6b57822933efa69bf08eabad42a919 and should show up in
the public repo within the next 12 hours.

Cheers,
    Daniel

-- 
Daniel Molkentin, Software Engineer,
Nokia Qt Software, www.qtsoftware.com
Rudower Chaussee 13, DE-12489 Berlin




More information about the Qt-creator-old mailing list