Fix translations of $GenericName

Authored by meven on Nov 8 2019, 5:16 PM.

Description

Fix translations of $GenericName

Summary:
$GenericName was translated before being passed to KMoreToolsService::formatString,
causing translators to process "$GenericName - ..." in their language, in turn causing formatString not to replace the expected placeholder.

Test Plan:
In another language than English:
Open Dolphin
Click on the free space progress bar
Menu appears

Before (with French) :
First entry begins with "$NomGénérique -..."

After:
First entry begins with "Statistiques d'utilisation des disques - ..."

Reviewers: leinir, ngraham, Localization, aspotashev

Reviewed By: ngraham, aspotashev

Subscribers: aspotashev, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D25216

Details

Committed
mevenNov 8 2019, 5:16 PM
Reviewer
ngraham
Differential Revision
D25216: Fix translations of $GenericName
Parents
R304:080f5276ae2f: Show a "Loading more..." busy indicator when loading view data
Branches
Unknown
Tags
Unknown