Use plural forms where appropriate

Bug #1363401 reported by Данило Шеган
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
Low
Renato Araujo Oliveira Filho
Ubuntu Translations
Triaged
High
Unassigned

Bug Description

Following messages in ../AllDayEventComponent.qml need to use plural forms:

  "%1 Ev." (debatable because of length duration, but can't hurt)
  "%1 All day events"

Note that plural forms are required even if you know that there will be more than one, since languages like Serbian use the noun form depending on the last digit of the number (eg. twenty-one will use the same form as one).

Tags: touch

Related branches

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → High
tags: added: touch
Mihir Soni (mihirsoni)
Changed in ubuntu-calendar-app:
status: New → Confirmed
importance: Undecided → Low
milestone: none → rtm14
Changed in ubuntu-calendar-app:
milestone: rtm14 → 0.5
Changed in ubuntu-calendar-app:
status: Confirmed → Fix Committed
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
Revision history for this message
Данило Шеган (danilo) wrote :

Thanks for fixing this! Do note that now that the message is a full "%1 event"/"%1 events", the comment for translators is not really relevant anymore:

196 + // TRANSLATORS: the first parameter refers to the number of all-day events
197 + // on a given day. "Ev." is short form for "Events".
198 + // Please keep the translation of "Ev." to 3 characters only, as the week view
199 + // where it's shown has limited space
200 + return i18n.tr("%1 event", "%1 events", events.length).arg(events.length)

FWIW, from a translation POV, it is fine to keep the short form, it's just that it needs to use plural forms (eg. i18n.tr("%1 Ev.", "%1 Ev.", events.length) is good enough if you need it to remain short text).

Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
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.