ubuntu-support-status crashes with: File "/usr/bin/ubuntu-support-status", line 148, in <module> 'time' : time}) KeyError: 'temps' - in French
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Committed
|
Low
|
Ubuntu French Translators | ||
update-manager (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[TEST CASE]
1. Install French language pack
2. export LANGUAGE=fr_FR:en LANG=fr_FR.UTF-8
3. In a terminal run:
$ ubuntu-
[ACTUAL RESULT]
pierre@
Résumé de l'état du support de 'pierre-MacBook':
Traceback (most recent call last):
File "/usr/bin/
'time' : time}
KeyError: 'temps'
[EXPECTED RESULT]
Support status is displayed with no crash
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager-core 1:0.156.14.6
ProcVersionSign
Uname: Linux 3.2.0-27-
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
Date: Mon Aug 6 20:55:21 2012
ProcEnviron:
LANGUAGE=fr_FR:en
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2012-04-27 (101 days ago)
Changed in ubuntu-translations: | |
assignee: | nobody → Ubuntu French Translators (ubuntu-l10n-fr) |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-translations: | |
status: | Incomplete → Fix Committed |
importance: | High → Low |
tags: | added: l10n |
Thanks for your report. I confirm this bug on Quantal with French. This is because the variable names have been translated in the po file
msgid "You have %(num)s packages (%(percent).1f%%) supported until %(time)s"
msgstr ""
"Vous avez %(num)s paquets (%(percent).1f%%) pris en charge jusqu'à %(temps)s"
I found the same error for another string:
msgid "You have %(num)s packages (%(percent).1f%%) that are unsupported"
msgstr ""
"Vous avez %(num)s paquets (%(pour cent).1f%%) qui ne sont pas pris en charge"