5
0
mirror of git://git.proxmox.com/git/proxmox-i18n.git synced 2024-12-22 21:33:51 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Thomas Lamprecht
3bee6f0e77 js generator: replace obsoleted Getopt::Std with Getopt::Long
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-09 09:22:16 +02:00
Thomas Lamprecht
6ad9f0ce25 js generator: perlcritic fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-09 09:13:19 +02:00
Thomas Lamprecht
2bcbc73300 js generator: move finding sources into method
less code directly executed in the global execution path makes the
sources a bit easier to grasp and reason about.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-09 09:01:18 +02:00
Thomas Lamprecht
16298befe6 js generator: avoid dependency on lipve-common-perl for just run_command
for this specific case it's simple enough to not require it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-09 08:53:51 +02:00
Thomas Lamprecht
78e560ba35 js generator: use word-boundary anchor in regex
to avoid some edge case false positives.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-17 14:12:31 +02:00
Thomas Lamprecht
052bd210b1 js generator: avoid doing two tests per line
combine the checks and make the second dependent from the former

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-17 14:12:31 +02:00
Thomas Lamprecht
d310270dc7 js generator: indentation and style fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-17 14:12:31 +02:00
Thomas Lamprecht
641582bd0b js generator: drop years from copyright
Not required by the Berne Convention, e.g., see curl's reasoning:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/

Reflow text to 100 cc.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-17 14:12:31 +02:00
Thomas Lamprecht
e6fbfe8bff js generator: improve use statements
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-04-17 14:12:31 +02:00
Thomas Lamprecht
04b8b6c61a run make update
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-18 18:28:35 +02:00
Dietmar Maurer
1c53281340 jsgettext.pl: correctly skip gettext function definition 2017-12-14 13:44:48 +01:00
Dietmar Maurer
1bddddef4a jsgettext.pl - add option -p to specify Project-Id-Version 2017-10-02 12:46:36 +02:00
Dietmar Maurer
5a4f77170e fix license string 2017-10-02 12:30:17 +02:00
Dietmar Maurer
3f7b114386 copied scripts from pve-manager, modified to support proxmox-widget-toolkit 2017-10-02 11:34:43 +02:00