Button text not translated

Rick Walsh rickmwalsh at gmail.com
Sun Oct 11 19:08:49 PDT 2015


On 12 October 2015 at 10:47, Rick Walsh <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.


> Cheers,
>
> Rick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151012/b4fde528/attachment.html>


More information about the subsurface mailing list