Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-04 Thread Bennett Helm
On Jan 4, 2007, at 11:52 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: How do you open Document settings with the keyboard only? Bennett> (Custom key binding.) Hey! That's cheating :) It is probably clear enough, but very weird... Are you sure it

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-04 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> How do you open Document settings with the keyboard only? Bennett> (Custom key binding.) Hey! That's cheating :) >> It is probably clear enough, but very weird... Are you sure it did >> not happen before the patch?? I do not see a

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-04 Thread Bennett Helm
On Jan 4, 2007, at 9:34 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> That makes it so that shortcuts are seen only when invoking Bennett> functions via the menu or toolbars. Fine. Bennett> I am noticing an issue with dialogs that arises with

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-04 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> That makes it so that shortcuts are seen only when invoking Bennett> functions via the menu or toolbars. Fine. Bennett> I am noticing an issue with dialogs that arises with this Bennett> patch (and not without). When using the

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-04 Thread Bennett Helm
On Jan 4, 2007, at 7:04 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> No: after the appropriate menu has been opened, using the Bennett> keyboard shortcut results in the shortcut being shown in the Bennett> status bar. (Before it has been opened

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-04 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> No: after the appropriate menu has been opened, using the Bennett> keyboard shortcut results in the shortcut being shown in the Bennett> status bar. (Before it has been opened, nothing shows when Bennett> using the keyboard short

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-03 Thread Bennett Helm
On Jan 3, 2007, at 12:37 PM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> However, sometimes nothing gets displayed in the info bar Bennett> when entering keyboard shortcuts, even though it should. Bennett> Thus, I have F bound to footnote-insert;

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-03 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> However, sometimes nothing gets displayed in the info bar Bennett> when entering keyboard shortcuts, even though it should. Bennett> Thus, I have F bound to footnote-insert; this Bennett> will not display in the info bar until th

Re: [PATCH] better-looking bindings & actually use qt translations

2007-01-03 Thread Bennett Helm
On Jan 3, 2007, at 10:53 AM, Jean-Marc Lasgouttes wrote: The following patch aims at improving the situation of shortcuts in GUI. It basically boils down to two changes: - in GuiApplication, make qt_trans (now qt_trans_) a member of the application, so that it does not get deleted at the end

[PATCH] better-looking bindings & actually use qt translations

2007-01-03 Thread Jean-Marc Lasgouttes
The following patch aims at improving the situation of shortcuts in GUI. It basically boils down to two changes: - in GuiApplication, make qt_trans (now qt_trans_) a member of the application, so that it does not get deleted at the end of the contructor. This means that translation of qt stuf

Re: Qt translations

2006-11-06 Thread Michael Gerz
Georg Baum wrote: Because qt_() is the translation function that returns a QString (defined in qt_helpers.C). _() would not work, since it returns a docstring. That is not the reason for the untranslated messages, it was the same in qt3. Did you look whether uic actually generates calls to qt_()

Re: Qt translations

2006-11-06 Thread Georg Baum
Michael Gerz wrote: > Hello, > > why is it > > [EMAIL PROTECTED]:~/lyx-trunk/src/frontends/qt4/ui> grep -2 tr Makefile.am > BUILT_SOURCES = $(UIFILES:.ui=.h) > > # Use _() for localization instead of tr() or trUtf8() > UICFLAGS=-tr qt_ > > > and not just > > UICFLAGS=-tr _ > > ??? Because

Qt translations

2006-11-06 Thread Michael Gerz
Hello, why is it [EMAIL PROTECTED]:~/lyx-trunk/src/frontends/qt4/ui> grep -2 tr Makefile.am BUILT_SOURCES = $(UIFILES:.ui=.h) # Use _() for localization instead of tr() or trUtf8() UICFLAGS=-tr qt_ and not just UICFLAGS=-tr _ ??? Michael