Page 1 of 1

[fixed 3.7.7] mintUpdate 3.7.6 - PT Translation

Posted: Mon Jun 15, 2009 9:03 am
by emorrp1
EDIT: Originally - freezes with Portuguese (PT) languages
Confirmed in http://forums.linuxmint.com/viewtopic.p ... 32#p160632 to affect PT and PT-BR

Symptoms:
"doesn't function after installation" (freezes in gray/force quit)
"When there are NO updates to do mintUpdate works."
"mintupdate works fine running system from the live cd"
"whenever there's an update to be done, mintupdate freezes"

Workaround:
Synaptic --> Refresh --> Mark all --> Apply

Re: mintUpdate 3.7.6 - freezes with Portuguese (PT) languages

Posted: Mon Jun 15, 2009 9:21 am
by emorrp1
confirmed independently from live cd VM, running in a root shell:

Code: Select all

LANGUAGE=pt mintupdate
outputs a couple of gtk errors, then:
mintUpdate error wrote:Exception occured in the refresh thread: unsupported format character 'a' (0x61) at index 10
Problem: translation error - % should be %d in one of the strings
Solution:

Code: Select all

apt install gettext
cd /usr/lib/linuxmint/mintUpdate/locale/
sudo sed -i '/Existem/s/\%/\%d/' pt_PT/LC_MESSAGES/messages.po
sudo sed -i '/Existem/s/\%/\%d/' pt_BR/LC_MESSAGES/messages.po
cd pt_PT/LC_MESSAGES && sudo msgfmt messages.po
cd ../../pt_BR/LC_MESSAGES && sudo msgfmt messages.po
I'll posted the complete updated translation in the mintUpdate translation thread.

Re: mintUpdate 3.7.6 - freezes with Portuguese (PT) languages

Posted: Mon Jun 15, 2009 11:02 am
by clem
Fixed and released in version 3.7.7. Thanks for the report.

Clem.