all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] Updating translations
@ 2021-09-24 14:00 Claudio Ferreira
  2021-09-27 12:23 ` Claudio Ferreira
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Ferreira @ 2021-09-24 14:00 UTC (permalink / raw)
  To: Proxmox VE development discussion

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-27 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 14:00 [pve-devel] Updating translations Claudio Ferreira
2021-09-27 12:23 ` Claudio Ferreira

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