slovak locale plural

Bug #1551149 reported by P_E_T_O
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Bill Filler
gallery-app (Ubuntu)
Fix Released
Medium
Arthur Mello

Bug Description

Ubuntu Touch OTA 9.1

By source text:
Delete %1 photos
// Located in rc/qml/EventsOverview.qml:81 rc/qml/PhotosOverview.qml:90

Delete %1 videos
// Located in rc/qml/EventsOverview.qml:83 rc/qml/PhotosOverview.qml:92

Delete %1 photos and 1 video
// Located in rc/qml/EventsOverview.qml:86 rc/qml/PhotosOverview.qml:95

Delete 1 photo and %1 videos
// Located in rc/qml/EventsOverview.qml:88 rc/qml/PhotosOverview.qml:97

Delete %1 photos and %2 videos
// Located in rc/qml/EventsOverview.qml:92 rc/qml/PhotosOverview.qml:101

should be set plural:

nplurals=3; plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;

Related branches

P_E_T_O (peto-bena)
description: updated
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. Plural form in the delete message is already supported [1]. Could you explain in plain English what is incorrect with Slovak plural?

[1] http://bazaar.launchpad.net/~phablet-team/gallery-app/trunk/view/head:/rc/qml/EventsOverview.qml#L74

Changed in canonical-devices-system-image:
status: New → Incomplete
Revision history for this message
P_E_T_O (peto-bena) wrote :

e.g:

msgid "Delete %1 photos"
msgstr[0] "Vymazať %1 fotiek"
msgstr[1] "Vymazať %1 fotku"
msgstr[2] "Vymazať %1 fotky"

it goes about endings: fot -- -iek, -ku, -ky

and in https://translations.launchpad.net/gallery-app/trunk/+pots/gallery-app/sk/+translate?batch=10&show=all&search=%251
i cant set more than one translation

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I see, the strings needs proper ngettext-style plural forms.

Thanks.

Changed in canonical-devices-system-image:
importance: Undecided → Medium
status: Incomplete → Confirmed
milestone: none → backlog
assignee: nobody → Bill Filler (bfiller)
Arthur Mello (artmello)
Changed in gallery-app (Ubuntu):
status: New → Confirmed
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: backlog → 11
Changed in gallery-app (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Arthur Mello (artmello)
Bill Filler (bfiller)
tags: added: gallery
Arthur Mello (artmello)
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Changed in gallery-app (Ubuntu):
status: Confirmed → In Progress
Bill Filler (bfiller)
tags: added: system-apps-11
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gallery-app - 0.0.67+16.04.20160426-0ubuntu1

---------------
gallery-app (0.0.67+16.04.20160426-0ubuntu1) xenial; urgency=medium

  * Add linker flag to strip gallery-app binary file (LP: #1570616)
  * Add proper ngettext-style plural forms (LP: #1551149)
  * Check MimeType to verify if it's an image format before adding to
    gallery's collection (LP: #1536168)
  * If there is a .nomedia file ignores all files and dirs bellow the
    current path (LP: #1568310)
  * Stop using C++ Content Hub API and use QML one instead (LP:
    #1568857)
  * Use Settings instead of StateSaver to open gallery always on the
    last tab viewed (LP: #1560159)
  * Wait gallery ends collection processing before loading events model
    on picker mode (LP: #1569844)

 -- Arthur Mello <email address hidden> Tue, 26 Apr 2016 23:28:09 +0000

Changed in gallery-app (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
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.