Use KLocalizedString for command descriptions

Authored by pino on Jun 23 2018, 2:03 PM.

Description

Use KLocalizedString for command descriptions

The result of i18n() with placeholders must have the placeholders
replaced as well, so calling QString("%1").arg(...) does not work, and
triggers warnings from KLocalizedString.

As solution, pass the command descriptions as KLocalizedString,
replacing the placeholder where needed.

Details

Committed
pinoJun 23 2018, 4:45 PM
Parents
R262:6f62985a4d38: [fit test] increase error to fix test on i386
Branches
Unknown
Tags
Unknown