Odd behavior using Italian translation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: update-manager
We (the Ubuntu Italian team) are experiencing a really strange behavior for Update Manager in Edgy with the Italian language.
1. Using the MO file shipped with the latest language pack, the progress dialog after fetching new package should display the string
Attendere, l'operazione potrebbe richiedere del tempo
But it shows
Attendere, loperazione
(note the missing '). The original C message is "Please wait, this can take some time."
2. I tried to hack this issue using `mgsunfmt` command to re-generate the PO file from the installed MO file, then editing the previous message and finally recreating the MO file using `mgsfmt` comman.
After copying the new MO file in /usr/..
3. Restoring the MO file from langpack (using `apt-get --reinstall install`), I can update the system, but the truncated message appears again.
Downloaded the source code. The msgid is here
### code #### pkg.PkgSystemUn Lock() applications/ update- manager. desktop" , synaptic" , "--hide- main-window" ,
"-- non-interactive ", "--parent- window- id", "%s" % (id) ] append( "--progress- str") append( "%s" % _("Please wait, this can take some time.")) append( "--finish- str") append( "%s" % _("Update is complete")) NamedTemporaryF ile()
f.write( "%s\tinstall\ n" % pkg.name) append( "--set- selections- file") append( "%s" % f.name) s.call( cmd)
def run_synaptic(self, id, action, lock):
try:
apt_
except SystemError:
pass
cmd = ["gksu", "--desktop", "/usr/share/
"--", "/usr/sbin/
if action == INSTALL:
cmd.
cmd.
cmd.
cmd.
f = tempfile.
for pkg in self.cache:
if pkg.markedInstall or pkg.markedUpgrade:
cmd.
cmd.
f.flush()
subproces
f.close()
elif action == UPDATE
...
### end code ###
So, the issue is here or in synaptic itself.
BTW, I'm not sure, but the "Update is complete" message is never used.