[fixed 3.7.7] mintUpdate 3.7.6 - PT Translation

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
emorrp1

[fixed 3.7.7] mintUpdate 3.7.6 - PT Translation

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
emorrp1

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

Post 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.
User avatar
clem
Level 12
Level 12
Posts: 4308
Joined: Wed Nov 15, 2006 8:34 am
Contact:

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

Post by clem »

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

Clem.
Image
Locked

Return to “Beginner Questions”