5
0
mirror of git://git.proxmox.com/git/proxmox-i18n.git synced 2025-01-03 09:17:40 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Lamprecht
a96b1971e2 Revert "po2js: cleanup perl code"
This reverts commit df8c4aa493.
2023-06-09 11:01:44 +02:00
Thomas Lamprecht
1c77a37fde Revert "po2js: generate modern JavaScript"
This reverts commit 7159a792bb.
2023-06-09 11:01:42 +02:00
Thomas Lamprecht
bb0ff4b069 po2js generator: replace obsoleted Getopt::Std with Getopt::Long
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-16 18:09:00 +02:00
Thomas Lamprecht
df8c4aa493 po2js: cleanup perl code
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-16 18:09:00 +02:00
Thomas Lamprecht
7159a792bb po2js: generate modern JavaScript
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-16 18:09:00 +02:00
Thomas Lamprecht
c08a28406a po2js: fallback to dev-build and date for version
we refer to this command in the docs but the -v option is relatively
new and we do not mention it. While it still work without setting
that option it produces a ugly and potentially confusing warning.

Just fallback to "dev-build <local datetime>" in that case.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-08-25 16:01:15 +02:00
Dominik Csapak
c1ae7daac3 make only one po file per language
instead of creating a po file per source package
(that are: pmg-gui, proxmox-widget-toolkit and pve-manager),
but combine the messages from them and create one
po file per language.

to not include unneeded strings in the (pve|pmg)-lang-*.js files,
we use the references value in po2js.pl to filter out unwanted strings

also include a git submodule update in the 'update' target, so that
we get the newest version when updating the po file
2018-01-22 13:07:00 +01:00
Dietmar Maurer
4a189d3c16 Do not add catalog to Proxmox namespace
Because that is initialized/reset later.
2017-10-04 12:10:40 +02:00
Dietmar Maurer
fe2d4deec1 po2js.pl - skip untranslated entries 2017-10-02 12:16:56 +02:00
Dietmar Maurer
9ce3f62e04 po2js.pl: add option -o to specify output filename 2017-10-02 12:15:11 +02:00
Dietmar Maurer
3f7b114386 copied scripts from pve-manager, modified to support proxmox-widget-toolkit 2017-10-02 11:34:43 +02:00