← Back to team overview

translators-packages team mailing list archive

[Bug 1932579] Re: snap pt_BR locale shows warning every time

 

@kmiksi, actually, I think that your proposed workaround enhanced the problem. The error messages from my previous post started to show up after I've run the sed command you've proposed and I think this happened because the file `snappy.mo` is a binary not an ascii text file. I have reverted my changes by running:
 
```
sudo apt --reinstall install language-pack-pt-base
```

And now I have only the original error message:


```
$ snap --help
2021/09/16 21:43:52.882927 main.go:176: description of prepare-image's "<target-dir>" is lowercase in locale "pt_BR": "o directório de destino"
O comando snap permite instalar, configurar, atualizar e remover snaps.
...

```

-- 
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