Button text not translated

Dirk Hohndel dirk at hohndel.org
Sun Oct 11 19:59:21 PDT 2015


> On Oct 11, 2015, at 7:08 PM, Rick Walsh <rickmwalsh at gmail.com> wrote:
> 
> 
> 
> On 12 October 2015 at 10:47, Rick Walsh <rickmwalsh at gmail.com <mailto:rickmwalsh at gmail.com>> wrote:
> Hi,
> 
> Testing the windows daily binary (4.4.98-75) on Windows 10, it appears that a number of buttons haven't been translated.  I tested this in Swedish, Danish and German (fun in a language you can't speak).  Examples include:
> - Dive plan: Save and Cancel buttons are in English
> - Close without saving: Save, Discard and Cancel are in English
> - Preferences: OK, Discard, and Apply are in English
> 
> Sorry, I'm not sure where these strings are marked in the code, and I don't have time at the moment to work it out.
> 
> I'm pretty sure these are standard QDialogButtonBox buttons, and translations should be handled by qt5.  How to do this is beyond me.
> 
> FWIW, I just tried on Fedora 22, using the latest master (c9c9673), and the problem is the same.  I do have qm files, including qt_sv.qm, qt_de.qm and qtbase_de.qm, in /usr/share/qt5/translations.

Those texts should indeed come from the Qt translations. And if you have the qt and qtbase .qm files, I'm not quite sure where to take this. Hmm.

Thiago, any ideas?

/D

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151011/08908c3e/attachment.html>


More information about the subsurface mailing list