[Psi-devel] [REMINDER] Untranslated keyboard shortcut descriptions

Maciek Niedzielski machekku at uaznia.net
Thu Feb 22 02:12:53 PST 2007


Michał Jazłowiecki wrote:
> I just wanted to remind Dev Team members that keyboard shortcut 
> descriptions (visible in Psi|Options|Shortcuts) are untranslatable and 
> are always in English.

Michalj, I think you had a special project file to generate translation 
source, right? Then you could add there one more file?

This "simple" line creates a dummy file with QT_TRANSLATE_NOOP() for 
every option comment in default.xml:

sed -e "/comment=/!d;s/^.*comment=\"\([^\"]*\).*$/QT_TRANSLATE_NOOP( 
"Options\", \"\1\" );/;" default.xml > tr_options.c

Would adding the resulting tr_options.c to your project help? (I never 
tried translating, so I don't know what the requirements are)

-- 
Maciek
  xmpp:machekku at uaznia.net


More information about the psi-devel mailing list