Re: [RFC][PATCH] Change dialog language without restarting

2018-07-18 Thread Kornel Benko
Am Donnerstag, 19. Juli 2018 00:34:02 CEST schrieb Jean-Marc Lasgouttes : > The following patch implements a way to retranslate dialogs when the GUI > language changes. For now I only did About and Bibtex. I have yet to > understand how to do Bibitem and other InsetParamWidget children. > > Com

Re: [LyX/master] Amend 30ec879, Add a translator as a fallback to Qt inner one

2018-07-18 Thread Kornel Benko
Am Mittwoch, 18. Juli 2018 18:32:25 CEST schrieb Richard Kimberly Heck : > On 07/18/2018 06:31 PM, Kornel Benko wrote: > > Am Mittwoch, 18. Juli 2018 17:34:04 CEST schrieb Richard Kimberly Heck > > : > >> On 07/18/2018 04:06 PM, Kornel Benko wrote: > >>> commit 41ebc3fcfc1db43db70997cea0ab0d625df

Re: [LyX/master] Amend 30ec879, Add a translator as a fallback to Qt inner one

2018-07-18 Thread Jean-Marc Lasgouttes
Le 19/07/2018 à 00:31, Kornel Benko a écrit : Yes. Content inside the '#if' 0' serves as example only, and is already also in po-file. It is in the po file because it is indicated here (look at older code). The #if 0 is because I feared that clever compilers would complain. JMarc

Re: [LyX/master] Amend 30ec879, Add a translator as a fallback to Qt inner one

2018-07-18 Thread Kornel Benko
Am Donnerstag, 19. Juli 2018 00:22:55 CEST schrieb Jean-Marc Lasgouttes : > Le 18/07/2018 à 23:34, Richard Kimberly Heck a écrit : > >> diff --git a/src/frontends/qt4/GuiApplication.cpp > >> b/src/frontends/qt4/GuiApplication.cpp > >> index e04c392..f009bfc 100644 > >> --- a/src/frontends/qt4/Gui

[RFC][PATCH] Change dialog language without restarting

2018-07-18 Thread Jean-Marc Lasgouttes
The following patch implements a way to retranslate dialogs when the GUI language changes. For now I only did About and Bibtex. I have yet to understand how to do Bibitem and other InsetParamWidget children. Comments welcome. Is this worth doing, considering that it requires work (but not so m

Re: [LyX/master] Amend 30ec879, Add a translator as a fallback to Qt inner one

2018-07-18 Thread Richard Kimberly Heck
On 07/18/2018 06:31 PM, Kornel Benko wrote: > Am Mittwoch, 18. Juli 2018 17:34:04 CEST schrieb Richard Kimberly Heck > : >> On 07/18/2018 04:06 PM, Kornel Benko wrote: >>> commit 41ebc3fcfc1db43db70997cea0ab0d625df3550f >>> Author: Kornel Benko >>> Date: Wed Jul 18 22:02:50 2018 +0200 >>> >>>

Re: [LyX/master] Amend 30ec879, Add a translator as a fallback to Qt inner one

2018-07-18 Thread Kornel Benko
Am Mittwoch, 18. Juli 2018 17:34:04 CEST schrieb Richard Kimberly Heck : > On 07/18/2018 04:06 PM, Kornel Benko wrote: > > commit 41ebc3fcfc1db43db70997cea0ab0d625df3550f > > Author: Kornel Benko > > Date: Wed Jul 18 22:02:50 2018 +0200 > > > > Amend 30ec879, Add a translator as a fallback

Re: [LyX/master] Amend 30ec879, Add a translator as a fallback to Qt inner one

2018-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2018 à 23:34, Richard Kimberly Heck a écrit : diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index e04c392..f009bfc 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -689,6 +689,10 @@ public:

Re: [LyX/master] Amend 30ec879, Add a translator as a fallback to Qt inner one

2018-07-18 Thread Richard Kimberly Heck
On 07/18/2018 04:06 PM, Kornel Benko wrote: > commit 41ebc3fcfc1db43db70997cea0ab0d625df3550f > Author: Kornel Benko > Date: Wed Jul 18 22:02:50 2018 +0200 > > Amend 30ec879, Add a translator as a fallback to Qt inner one > > Add the needed strings to GuiApplication.cpp > --- > src

Re: thoughts about LyX's future and proposals

2018-07-18 Thread Richard Kimberly Heck
On 07/18/2018 02:01 PM, Jean-Pierre Chrétien wrote: > Le 18/07/2018 à 15:01, Neal Becker a écrit : > >> >> You got me curious, so I just tried exporting a ieee journal article >> to odt >> (pandoc).  The result was pretty useless.  I might as well have just >> converted to plain txt. >> >> > > Befo

Re: thoughts about LyX's future and proposals

2018-07-18 Thread Jean-Pierre Chrétien
Le 18/07/2018 à 15:01, Neal Becker a écrit : You got me curious, so I just tried exporting a ieee journal article to odt (pandoc). The result was pretty useless. I might as well have just converted to plain txt. Before I retired (and thus before pandoc), the only converter which gave me

Re: thoughts about LyX's future and proposals

2018-07-18 Thread Neal Becker
Richard Kimberly Heck wrote: > On 07/17/2018 09:29 AM, William Adams wrote: >> I've asked before, and I'd really like to see direct support for >> pandoc in File | Open/Save or (Import/Export) whatever makes sense --- >> just install pandoc if it's not available and allow one to directly >> conver

Re: [LyX/master] More QDialogButtonBox

2018-07-18 Thread Kornel Benko
Am Mittwoch, 18. Juli 2018 07:44:39 CEST schrieb Jean-Marc Lasgouttes : > Le 18 juillet 2018 02:19:22 GMT+02:00, Kornel Benko a écrit : > >Works. That is very nice. I started with the most often used > > "&Ok", "Apply" and "Reset" > >used for instance at paragraph-settings. > > > > Kornel