Bug 342640

Summary: [I18N] Pluralization of files/dirs units
Product: [Plasma] plasmashell Reporter: Safa Alfulaij <safa1996alfulaij>
Component: NotificationsAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.1.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Safa Alfulaij 2015-01-08 22:06:55 UTC
In this [1] block of code there are two strings which are plural, But not marked like that. I think that the software/applet sending the signal to show a notification should handle both singular and plural in a plural function, and the fallback is in the notification applet.

1: https://projects.kde.org/projects/kde/workspace/plasma-workspace/repository/revisions/master/entry/applets/notifications/package/contents/ui/JobDetailsItem.qml#L51
Comment 1 Martin Klapetek 2015-01-08 23:27:16 UTC
Well the single form is never used, it does not display if you're copying just one file (because it's obvious). I'm not sure if it unconditionally must have both plural and singular form if the latter is never used...
Comment 2 Martin Klapetek 2015-01-08 23:30:58 UTC
Actually no, it should be, because of languages that have different plural words/spellings for different numbers.
Comment 3 Martin Klapetek 2015-01-14 19:40:22 UTC
Git commit 379c2e6390a7943beb8886d92e41d52336ba0bf7 by Martin Klapetek.
Committed on 14/01/2015 at 19:40.
Pushed by mklapetek into branch 'master'.

Use i18np for plural units in the jobs applet

REVIEW: 121945

M  +2    -2    applets/notifications/package/contents/ui/JobDetailsItem.qml

http://commits.kde.org/plasma-workspace/379c2e6390a7943beb8886d92e41d52336ba0bf7