Commit Graph

181 Commits

Author SHA1 Message Date
KafamaG
02ca56139a Complete the Turkish module.info descriptions
Every module now has a reviewed desc_tr and longdesc_tr in
module.info.tr - 245 strings across 125 modules. Previously 37 were
reviewed, 194 came from module.info.tr.auto and 14 were missing
entirely (grub2, hardware-info, kea-dhcp, logviewer, nftables, systemd,
xterm), so those modules showed English titles in the Webmin menu.

The reviewed strings are removed from module.info.tr.auto, which now
holds only name_tr - the same split the de and ca translations use.
Thirty-six of those files became empty and are deleted.

Some of the machine text this replaces was wrong rather than just
clumsy:

  sarg          "Squid Report Generator" had become "Kalamar Rapor
                Oluşturucu" - the fish, not the proxy
  heartbeat     the product name was translated as "Kalp Atışı"
  cluster-cron  "Cron Jobs" had become "Cron İş İlanları" (job ads)
  proc          "renice" was translated as "rename"
  samba         "file and print shares" was split into "create a samba
                file" and "print the shares"
  exports, hpuxexports, sgiexports, inetd, init, mount, net
                each repeated the file path mid-sentence
  firewall,     the "(iptables)" and "(ip6tables)" qualifiers that
  firewall6     distinguish the two modules were dropped

Turkish capitalisation of English words was also wrong throughout
("İptables", "İnetd", "İscsitarget", "İnternet"), and three previously
reviewed strings were stored as double-encoded UTF-8 (cron/desc_tr,
mailboxes/desc_tr, mailboxes/longdesc_tr).

cluster-cron and ldap-server carried a stray desc_de_tr key - a German
key that had leaked into the Turkish file. It is removed.
2026-08-30 14:41:10 +03:00
KafamaG
020a7733b7 Translate procmail, cpan, logrotate, pptp-client and iscsi-tgtd
Adds complete lang/tr files for five more previously untranslated
modules and removes their machine-generated lang/tr.auto files:

  procmail     122 strings - procmail recipes, conditions and variables
  cpan         121 strings - Perl module installation from CPAN
  logrotate    117 strings - log file rotation and scheduling
  pptp-client  106 strings - PPTP VPN tunnels and MPPE options
  iscsi-tgtd    99 strings - iSCSI TGTd targets

iscsi-tgtd reuses 73 strings from iscsi-target and iscsi-server, taken
only where the English source text is identical.

Procmail flag semantics, Makefile.PL, endscript/endrotate, MPPE
directive names and MH/maildir folder types are kept in English, since
they appear verbatim in the configuration files being edited.
2026-08-30 14:20:34 +03:00
Ilia Ross
0660a18276 Add function to make vendor configs editable 2026-08-22 01:17:49 +02:00
Ilia Ross
b5194d52a6 Fix to show logrotate output only when non-empty 2026-08-17 00:11:39 +02:00
Jamie Cameron
02cc3f6a67 Merge pull request #2805 from webmin/fix/opensuse-logrotate-drop-in-discovery-2682
Fix openSUSE logrotate vendor overlay handling
2026-08-13 15:36:43 -07:00
Ilia Ross
5969c33e06 Fix logrotate vendor override write handling 2026-08-11 20:24:38 +02:00
Ilia Ross
07f0ddfb6d Add shared test file helpers 2026-08-10 21:37:11 +02:00
Ilia Ross
b7aed03758 Fix to make logrotate vendor overrides work for API callers
https://github.com/webmin/webmin/pull/2805#discussion_r3740632921
2026-08-09 18:18:30 +02:00
Jamie Cameron
e9c8746a34 Use standard split_quoted_string function 2026-08-04 11:02:37 -07:00
Ilia Ross
466f499e65 Fix openSUSE logrotate vendor overlay handling
This PR updates the Log File Rotation module for openSUSE Leap 16's split `/usr/etc` and `/etc` configuration model.

- Select the local main configuration when present, otherwise use the vendor configuration.

- Recursively merge vendor and local drop-ins using the same precedence as `logrotate-all`.

- Display vendor configurations while keeping `/usr/etc` read-only.

- Copy vendor files into matching `/etc` overrides before editing or deleting them.

- Preserve empty overrides so deleted vendor rotations remain disabled.

- Use the openSUSE wrapper for scheduled rotation and the effective configuration set for forced rotation.

- Keep behavior unchanged on distributions that do not enable the vendor overlay.

Includes regression coverage for selection, precedence, copy-on-write, deletion, scheduling, backups, and protection against direct vendor writes.

Closes [#2682](https://github.com/webmin/webmin/issues/2682).
2026-08-03 02:36:05 +02:00
Ilia Ross
782332dae7 Fix OpenSUSE logrotate drop-in discovery #2682 2026-08-03 01:39:05 +02:00
Jamie Cameron
94e74c2c66 Fix AI-detected bug
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
Close inactive / close-inactive (push) Has been cancelled
2026-08-01 11:16:03 -07:00
Jamie Cameron
aaaa692cbc Clean up code by using my and adding formal params 2026-08-01 11:03:50 -07:00
Ilia Ross
5cf228d4a0 Add side by side UI form buttons API
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
https://github.com/webmin/webmin/issues/2659

[no-build]
2026-04-09 19:33:37 +02:00
Jamie Cameron
83abdc8858 Logrotate requires 0644 or 0444 permissions
https://github.com/webmin/webmin/issues/2396
2026-01-13 15:24:54 -08:00
Ilia Ross
833292c0d1 Add exported German language-neutral strings
https://github.com/webmin/webmin/discussions/2482
https://forum.virtualmin.com/t/on-the-rejection-of-gender-neutral-language/133527
2025-05-26 14:48:11 +03:00
Ilia Ross
501698ad4b Fix to use German rules most people already accept 1/2
https://github.com/webmin/webmin/discussions/2482
2025-05-24 20:43:25 +03:00
MacSteini
c3d03ed9e7 Update de 2025-02-17 00:32:15 +00:00
Ilia Ross
f880192526 Remove languages with 0% coverage
https://github.com/webmin/webmin/issues/2403#issuecomment-2652613588
2025-02-12 13:19:49 +02:00
Ilia Ross
82cca63300 Update translations 2025-02-11 13:20:57 +02:00
Jamie Cameron
083bde276c Logrotate configs cannot be world writable : https://github.com/webmin/webmin/issues/2396 2025-02-06 18:32:55 -08:00
MacSteini
162206949f Consecutive Spaces Replacement
Replaced multiple consecutive spaces with a single space
2024-12-16 16:57:09 +00:00
MacSteini
5ea0cc6b42 Trailing Spaces Removal
Removed trailing spaces
2024-12-16 15:16:55 +00:00
MacSteini
64598e5f39 Blanks Removal
Removed blanks before or after the equal sign
2024-12-16 12:59:19 +00:00
MacSteini
477982776c Updated de
Corrections (UTF-8, new lines at file end), amendments, updates
2024-11-26 01:43:34 +00:00
MacSteini
4775d07c8f Updated de 2024-10-03 04:11:15 +01:00
MiraMaX166
e0d743076d fix Russian localization 2023-10-26 11:42:34 +06:00
MiraMaX166
ba623246a1 Russian localization update 2023-10-19 17:38:39 +06:00
iliajie
d49eaccb60 Add support for cloning log rotate job 2022-09-06 14:59:12 +03:00
Jamie Cameron
b1e11d360d Fix version detection to deal with numbers like 3.14 https://forum.virtualmin.com/t/modsec-audit-log-impervious-to-log-file-rotation-settings/116142/4 2022-07-24 13:10:15 -07:00
luz paz
3e6142f098 Fix user and non-user facing typos 2022-06-29 07:17:11 -04:00
Jamie Cameron
98259a6128 Test commit 2021-04-11 17:11:59 -07:00
Ilia Rostovtsev
b5cb27d0fa Add prefs info files 2021-02-28 21:14:24 +03:00
Ilia Rostovtsev
4c4b647096 Fix to add extra line breaks (sections) to language files 2020-12-27 21:15:36 +03:00
Jamie Cameron
c6345ec1e9 Norwegian translation update from Stein-Askel Basma 2020-12-06 11:00:27 -08:00
Ilia Rostovtsev
66ac2ba10f Fix false positive error outputs
https://forum.virtualmin.com/t/force-logrotate-fails/107301
2020-08-31 16:06:22 +03:00
Ilia Rostovtsev
fafc6ed2b5 Drop useless empty files /2 2020-04-29 23:25:40 +03:00
Ilia Rostovtsev
ee56777e6d Drop useless empty files 2020-04-29 23:17:45 +03:00
Ilia Rostovtsev
cb91a34aeb Fix quotes surrounding 2020-04-24 13:17:39 +03:00
Ilia Rostovtsev
70876bff93 Add help/ translations 2020-04-23 18:10:56 +03:00
Ilia Rostovtsev
f6b8cc6692 Add transcodings and rename files to new format for help/ 2020-04-19 20:02:31 +03:00
Ilia Rostovtsev
77455e8175 Drop files that are available in its original encoding /2 2020-04-19 13:58:52 +03:00
Ilia Rostovtsev
8b40bed018 Fix to escape HTML entities as designed on template language (en)
Note: Large diff for most files is due to sorting lines as in template languge file (English)
2020-04-14 01:34:18 +03:00
Ilia Rostovtsev
934030688c Fix most (or even all errors) in human-translated configs 2020-04-10 00:12:39 +03:00
Ilia Rostovtsev
7a4e1470ed Add proper "config.info" (configs) transcoding 2020-04-09 22:15:10 +03:00
Ilia Rostovtsev
cc5bf7634f Restore incorrectly transcoded configs 2020-04-09 18:52:05 +03:00
Ilia Rostovtsev
727d7ca244 Drop pointless, empty "config.info." files 2020-04-08 18:14:01 +03:00
Ilia Rostovtsev
24facaec53 Drop pointless, untranslated copies of main "config.info" file 2020-04-08 18:03:36 +03:00
Jamie Cameron
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Ilia Rostovtsev
5953f57385 Fix post-translation bugs /2 2020-03-13 00:14:45 +03:00