On 04/30/2010 03:36 PM, [email protected] wrote:
> Hi.
> 
> We have this in code:
> 
> this.icon = new qx.ui.basic.Atom(this.tr(this.module.classname + ".title"), 
> this.iconPath);
> 
> When trying whatever target for generate.py (source, source-all, build), the 
> build process aborts with the following messages:
> 
>   - Processing translations for 3 locales...
> !!! Could not extract translation from myapplication.DesktopIcon!
> !!! Unsupported param of type at line 43
> 
> Is there a solution for this problem?

Depends what you consider a solution ;). this.tr() requires a string
*literal* as its first parameter, not just an expression that evaluates
to a string at run time. This is because this string literal is
extracted as the key for .po files at compile time.

> PS/off topic/another topic: I was asking a few days ago about parametrizing 
> the qooxdoo build via externally defined variables. Based on the advice I 
> got, we successfully integrated a qooxdoo build in a maven build file via an 
> ant task, so thanks again for the advice. Some time in the near future, when 
> pressure's lower and things more clear, I intend to write somewhere how we 
> set up the project.

Great!

T.


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to