all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Claudio Ferreira <filhocf@gmail.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: [pve-devel] Updating translations
Date: Fri, 24 Sep 2021 11:00:02 -0300	[thread overview]
Message-ID: <CAC=mJXeqNHR044bxqj_x0dae9c270qO-SCLbov=6j8L6mps1+A@mail.gmail.com> (raw)

Hi

I was taking a look in pt-BR translation and I saw a lot of commented fuzzy
translations at the end of the file. I haven't idea if this strings are or
not necessary, so I I took a peek in Makefile to see what is possible to do.

I saw an option "update" that updates repo and tries to update pot/po
files. When I run this command, it returns an error that I can't resolv.

$ make update
git submodule foreach 'git pull --ff-only origin master'
Entering 'pmg-gui'
From git://git.proxmox.com/git/pmg-gui
* branch            master     -> FETCH_HEAD
Already up to date.
Entering 'proxmox-backup'
From git://git.proxmox.com/git/proxmox-backup
* branch              master     -> FETCH_HEAD
Already up to date.
Entering 'proxmox-widget-toolkit'
From git://git.proxmox.com/git/proxmox-widget-toolkit
* branch            master     -> FETCH_HEAD
Already up to date.
Entering 'pve-manager'
From git://git.proxmox.com/git/pve-manager
* branch              master     -> FETCH_HEAD
Already up to date.
make do_update
make[1]: Entrando no diretório '/home/claudio/git/proxmox-i18n'

make update_pot
make[2]: Entrando no diretório '/home/claudio/git/proxmox-i18n'

test  -f pmg-gui/Makefile -a -f proxmox-backup/Makefile -a -f
pve-manager/Makefile \
   || git submodule update --init
./jsgettext.pl -p "proxmox-widget-toolkit
c91a73150fdfb9ab7952ae3d1499f26b013f90c1" -o proxmox-widget-toolkit.pot prox
mox-widget-toolkit/
Can't locate PVE/Tools.pm in @INC (you may need to install the PVE::Tools
module) (@INC contains: /etc/perl /usr/local
/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /
usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
/usr/share/perl/5.32 /usr/local/lib/site_perl)
at ./jsgettext.pl line 5.
BEGIN failed--compilation aborted at ./jsgettext.pl line 5.
make[2]: *** [Makefile:62: update_pot] Erro 2
make[2]: Saindo do diretório '/home/claudio/git/proxmox-i18n'

make[1]: *** [Makefile:68: do_update] Erro 2
make[1]: Saindo do diretório '/home/claudio/git/proxmox-i18n'

make: *** [Makefile:74: update] Erro 2

So, some questions.
* How can we update our po files (in my case, pt-BR)?
* How to resolve this problem?
* When can we see if have an update in pot files?
* How can I try my translation in a personal env?

Regards,
Claudio Ferreira


             reply	other threads:[~2021-09-24 14:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24 14:00 Claudio Ferreira [this message]
2021-09-27 12:23 ` Claudio Ferreira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC=mJXeqNHR044bxqj_x0dae9c270qO-SCLbov=6j8L6mps1+A@mail.gmail.com' \
    --to=filhocf@gmail.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal