applets/notifications: Fix displaying large total numbers

Original commit message(s)

  • applets/notifications: Fix displaying large total numbers

We format the number ourself using 'f' to avoid scientific notation, however i18np expects a proper number for its plural determination. If the total number is large enough to include a thousand separator, parsing fails and it displays zero instead, so "500 of 0 files".

Pass a proper int so it picks the correct plural but don't actally use the %1 placeholder in the string.

Reason for the change

Finally figured out why copying large amounts of files would show “n of 0 files” in details when it was showing correctly in the job description.

Test plan

Copied a bunch of files, got a proper “files” plural and displayed number now.

Screenshots or screen recordings

Bildschirmfoto_20260303_180052

Merge request reports

Loading