[update-manager] upgrade bug

Bug #531289 reported by Tomáš Virgl
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Software Updater
Confirmed
Undecided
Unassigned
language-pack-sk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: language-pack-sk

Ked sa kubuntu 8.10 updatuje na 9.04 v stavovom riadku sa vypisuje Zostáva približne x minút vsetko je v poriadku kym nenastane
1 minúta.
Vypise sa "Zostáva približne 1 minute".

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

could you specify package? I don't have KDE :-(

Revision history for this message
Tomáš Virgl (tomasvirgl) wrote :

toto iste sa deje aj pri upgrade z 9.04 na 9.10 a este
"Zostáva približne 2 minúty", malo by byt "Zostávajú približne 2 minúty"

Revision history for this message
Tomáš Virgl (tomasvirgl) wrote :

nwm ako sa vola balik ale nazov okna je "Prechod na vyššiu verziu distribúcie"

Revision history for this message
Tomáš Virgl (tomasvirgl) wrote :

I found mistake in: "update-manager” See screenshot

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

there don't have to be "%li", 'coz " 1 minuta" and "minuta" are similar and have same meaning, and the first problem, ehm, you should file bug to maintainer and tell him to change it (from string "%li minutes" to "Ramaining %li minutes")

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

and "Zostavaju priblizne minuta" has been shown?

Revision history for this message
Tomáš Virgl (tomasvirgl) wrote :

No, I really don´t know where is the problem, but "Zostáva približne 1 minute" has shown.
English singular: %li minute
Slovak singular: minúta
So (from source http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/update-manager/lucid/annotate/head:/DistUpgrade/DistUpgradeView.py)

if minutes > 0:
    map["str_minutes"] = ngettext("%li minute","%li minutes", minutes) % minutes

Laco Gubík (laco)
summary: - kubuntu upgrade bug
+ [update-manager] upgrade bug
Revision history for this message
Laco Gubík (laco) wrote :

This seems to be stil in 10.04 also in Gtk version, see my screenshot below.

I think what developers did, was that they have split the string, however they have not made first part of string able to support plurals [1].

I have reported this as bug to update-manager [2] and also changed the name of this bug as it is not affecting only KDE.

[1] https://translations.launchpad.net/ubuntu/lucid/+source/update-manager/+pots/update-manager/sk/120/+translate
[2] https://bugs.launchpad.net/update-manager/+bug/578593

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

I sent diffs with patch, I hope, it will be fixed soon

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :
Changed in update-manager:
status: New → Confirmed
Changed in language-pack-sk (Ubuntu):
status: New → Confirmed
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.