Please use plural form format for "Importing %1 items"

Bug #1538945 reported by GunChleoc
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Notes app
Confirmed
High
Unassigned

Bug Description

Please consolidate the two following strings, using qml's plural form format:

    Importing %1 items
    Located in src/app/qml/reminders.qml:759

    Importing 1 item
    Located in src/app/qml/reminders.qml:760

Otherwise, translations will result in grammar errors.

Thanks!

Tags: i18n
GunChleoc (gunchleoc)
tags: added: i18n
Revision history for this message
Michael Zanetti (mzanetti) wrote :

For my understanding, can you explain why that would result in grammar errors?

Revision history for this message
Akerbeltz (fios) wrote :

The above way works for English and languages which happen to have a similar pattern to English in terms of plurals. But many if not most languages have other patterns. Some have more plural forms - such as Scottish Gaelic which has 4:
1 or 11
2 or 12
3-10, 13-20
Anything else

For example, for "Importing %1 items" this inflects like this in Gaelic:
1 or 11: Ag ion-phortadh %1 bhall
2 or 12: Ag ion-phortadh %1 bhall (in this specific case, overlaps with 1/11 but not always)
3-10, 13-20: Ag ion-phortadh %1 buill
Anything else: Ag ion-phortadh %1 ball

Others (like many Slavonic languages) have rules about
Ending in 1
Ending in 2
Ending in 3-8
and so on.

CLDR has a good overview over the different types for developers: http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Thanks. Makes sense to me now.

Changed in reminders-app:
status: New → Confirmed
assignee: nobody → Michael Zanetti (mzanetti)
importance: Undecided → High
Changed in reminders-app:
assignee: Michael Zanetti (mzanetti) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.