[fixed 3.7.7] mintUpdate 3.7.6 - PT Translation

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
emorrp1
Level 8
Level 8
Posts: 2281
Joined: Thu Feb 26, 2009 8:58 pm

[fixed 3.7.7] mintUpdate 3.7.6 - PT Translation

Postby emorrp1 » Mon Jun 15, 2009 9:03 am

EDIT: Originally - freezes with Portuguese (PT) languages
Confirmed in viewtopic.php?f=34&t=27155&p=160632#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
Last edited by emorrp1 on Mon Jun 15, 2009 11:06 am, edited 1 time in total.
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com

emorrp1
Level 8
Level 8
Posts: 2281
Joined: Thu Feb 26, 2009 8:58 pm

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

Postby emorrp1 » Mon Jun 15, 2009 9:21 am

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.
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com

User avatar
clem
Level 15
Level 15
Posts: 5703
Joined: Wed Nov 15, 2006 8:34 am
Contact:

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

Postby clem » Mon Jun 15, 2009 11:02 am

Fixed and released in version 3.7.7. Thanks for the report.

Clem.
Image


Return to “Newbie Questions”

Who is online

Users browsing this forum: FIDIRO, JCSenar, jimallyn and 14 guests