[Patch] String translation issues

Lubomir I. Ivanov neolit123 at gmail.com
Sat Sep 5 02:25:57 PDT 2015


On 5 September 2015 at 12:08, Salvador Cuñat <salvador.cunat at gmail.com> wrote:
> 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.
>

hey salva,
yes, ON/OFF should be added for translation as tr("ON"), tr("OFF").

lubomir
--


More information about the subsurface mailing list