translation string

Pavel Sanda sanda at lyx.org
Sat Apr 22 19:11:27 UTC 2023


On Sat, Apr 22, 2023 at 08:59:22PM +0200, Pavel Sanda wrote:
> Hi,
> 
> we have the following in GuiBranch.cpp:
> 
>   branchCO->addItem(
>           toqstr(bformat(_("%1$s[[branch]] (%2$s)[[master]]"),
>                      branch, _("master"))),
>           toqstr(branch));
> 
> So translators are asked to translate "%1$s (%2$s)".
> Is this really intended or can I just eliminate translation machinery?

In the same vein, anyone sees purpose in translation machinery for fontsizes?
        fontModule->fontsizeCO->addItem(qt_("10"));
        fontModule->fontsizeCO->addItem(qt_("11"));
        fontModule->fontsizeCO->addItem(qt_("12"));


Pavel


More information about the lyx-devel mailing list