Bug 342640 - [I18N] Pluralization of files/dirs units
Summary: [I18N] Pluralization of files/dirs units
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-08 22:06 UTC by Safa Alfulaij
Modified: 2015-01-14 19:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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