translators-packages team mailing list archive
-
translators-packages team
-
Mailing list archive
-
Message #01212
[Bug 1932579] Re: snap pt_BR locale shows warning every time
@iogui, every system I've tried works well with that workaround (4
installations with Ubuntu 20.04). Please reinstall language-pack-pt-base
an try again.
Yes, it is a binary file, a gettext .po compiled into a .mo. The sed is a quick workaround that works fine for me even with the binary. If you continue having problems, another way is retranslating with these commands:
```
sudo cp /usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo /usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo~
msgunfmt /usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo > /tmp/snappy.po
sed -i 's/o directório de destino/O directório de destino/' /tmp/snappy.po # or edit with PoEditor
sudo msgfmt /tmp/snappy.po -o /usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo
```
I can't find the origin of these translations to contribute to language-pack-pt-base.
Do you know about these translations and how to contribute?
I only find some git hooks in the sources manipulating translation contents, but don't understood clearly how it is done. Some help is welcome.
--
You received this bug notification because you are a member of
Translators Packages, which is subscribed to language-pack-pt-base in
Ubuntu.
https://bugs.launchpad.net/bugs/1932579
Title:
snap pt_BR locale shows warning every time
Status in language-pack-pt-base package in Ubuntu:
Confirmed
Status in snapd package in Ubuntu:
Confirmed
Bug description:
The following warning appears every time I type a snap command, and
thus breaks auto-completion.
2021/06/18 13:15:24.372374 main.go:176: description of prepare-image's
"<target-dir>" is lowercase in locale "pt_BR": "o directório de
destino"
The problem seems locale dependent, since "LANG=C snap" doesn't show
this warning. I'm currently using Ubuntu 21.04, and this bug happens
since I upgraded from 20.10. (I don't know if this is off-topic or
where I can help, but "directório" is more pt_PT than pt_BR, which
could be "pasta/diretório")
echo $LANG output:
pt_BR.UTF-8
lsb_release -rb output:
Description: Ubuntu 21.04
Release: 21.04
apt-cache policy snapd output:
snapd:
Instalado: 2.49.2+21.04ubuntu1
Candidato: 2.49.2+21.04ubuntu1
Tabela de versão:
*** 2.49.2+21.04ubuntu1 500
500 http://br.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
100 /var/lib/dpkg/status
snap list output:
...[other packages]...
snap-store 3.38.0-64-g23c4c77 547 latest/stable canonical✓ -
snapd 2.51 12159 latest/stable canonical✓ snapd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-pack-pt-base/+bug/1932579/+subscriptions