← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~mzibricky/openlp/bug-1046599 into lp:openlp

 

> Another, probably better fix could be convert it to native python string:
> 
> unicode(translate('OpenLP.AdvancedTab', 'data directory to:\n\n%s\n\n')) %
> new_data_path
> 
> I will have to check.

This does not work. It has to be converted back to QString type before passing to any Qt4 function.

I think I will use the 'double conversion' in places with multiple substitutions:

  QString(unicode(translate('OpenLP.AdvancedTab', '%s %s')) % (var1, var2))
-- 
https://code.launchpad.net/~mzibricky/openlp/bug-1046599/+merge/123039
Your team OpenLP Core is subscribed to branch lp:openlp.


References