[Patch] String translation issues

Salvador Cuñat salvador.cunat at gmail.com
Sat Sep 5 02:08:43 PDT 2015


Good morning.

There is a string in qt-ui/btdeviceselectiondialog.cpp which doesn't have a
good translation:


       ui->dialogStatus->setText(tr("The local Bluetooth device was turned
%1.")
                                 .arg(on? "ON" : "OFF"));

as "turn on" translates to a word and "turn off" to another.  In other
languages there will probably be the same issue.

In spanish i've translated to:

       "El dispositivo bluetooth local ha sido %1."

An then translated "ON" to "ACTIVADO" and "OFF" to "DESACTIVADO" but this
strings should be passed to translation too.

Salva.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150905/fbd3d29f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-ON-and-OFF-strings-to-translation.patch
Type: text/x-patch
Size: 1282 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150905/fbd3d29f/attachment.bin>


More information about the subsurface mailing list