D13158: Fix i18n issues in Phabricator Plugin

Aleix Pol Gonzalez noreply at phabricator.kde.org
Sun May 27 22:10:09 UTC 2018


apol accepted this revision.
apol added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> phabricatorplugin_config.qml:125
>          // use i18n().arg() to avoid showing the "%1" when inactive
> -        text: i18n("Summary of the update to %1:").arg(updateDR)
> +        text: updateDR != "unknown" && updateDR.length > 0 ? i18n("Summary of the update t %1:").arg(updateDR) : i18n("Summary of the update")
>          enabled: updateOld.checked

Change to `i18n("Summary of the update t %1:", updateDR)`, without .arg().

REPOSITORY
  R495 Purpose Library

BRANCH
  i18n

REVISION DETAIL
  https://phabricator.kde.org/D13158

To: nicolasfella, apol
Cc: kde-frameworks-devel, apol, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180527/4e660f1e/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list