Use plural forms

Bug #1428092 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Document Viewer App
Fix Released
Medium
Stefano Verzegnassi

Bug Description

On http://bazaar.launchpad.net/~ubuntu-docviewer-dev/ubuntu-docviewer-app/trunk/view/head:/src/app/qml/documentPage/DeleteFileDialog.qml this code should use plural forms for the translations:

    title: path ? i18n.tr("Delete file") :
                  i18n.tr("Delete %1 files").arg(documentPage.view.item.selectedItems.count)
    text: path ? i18n.tr("Are you sure you want to permanently delete this file?") :
                 i18n.tr("Are you sure you want to permanently delete these files?")

It should be something similar to:

var deleteCount = documentPage.view.item.selectedItems.count;

i18n.tr("Delete %1 file", "Delete %1 files", deleteCount).arg(deleteCount)

Related branches

David Planella (dpm)
Changed in ubuntu-docviewer-app:
status: New → Triaged
importance: Undecided → Medium
Changed in ubuntu-docviewer-app:
status: Triaged → In Progress
assignee: nobody → Stefano Verzegnassi (verzegnassi-stefano)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-docviewer-app at revision 90, scheduled for release in ubuntu-docviewer-app, milestone 2014-10-30

Changed in ubuntu-docviewer-app:
status: In Progress → Fix Committed
Changed in ubuntu-docviewer-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.