Qt Port update.
Alberto Mardegan
mardy at users.sourceforge.net
Sun Apr 14 01:29:07 PDT 2013
On 04/14/2013 01:25 AM, Dirk Hohndel wrote:
> One thing I noticed is that you are using tr() for translations but we
> really would love to stick with _() (i.e., gettext).
Don't be afraid of using tr():
http://git.hohndel.org/?p=subsurface.git;a=blob;f=qt-gui.cpp;h=1621317c273bcad7467ae1a168ed8e0ca6f8bd02;hb=Qt#l43
The Translator class I added back then allows you to use tr() and use
gettext as the backend.
I tested it with my branch (which just had a few menu items) and it was
behaving as expected under different locales, so I'd suggest you to
revert the Qtr hack.
Of course, it might be that there are bugs -- in that case let me know,
and I'll try to fix them. :-)
Ciao,
Alberto
More information about the subsurface
mailing list