Commit Graph

196 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
35069d3018 Fix placeholder, markup and encoding defects in existing Turkish files
A consistency check of every lang/tr against its lang/en turned up 58
lines that were wrong independently of the missing translations. All of
them are fixed here:

Missing or wrong $N placeholders (the value silently disappears from
the message at runtime, or the wrong value is shown):
  acl/cert_eca, acl/hide_desc, adsl-client/index_stopdesc,
  apache/reconfig_ever, apache/log_files, apache/log_files_l,
  bind8/log_manual, dhcpd/listl_lfnotcont, fdisk/mkfs_desc1,
  fdisk/fsck_desc1, fdisk/tunefs_desc, hpuxexports/save_ehost,
  inittab/log_rename, mysql/index_ever, mysql/index_version,
  mysql/log_perm_create, mysql/log_perm_delete, mysql/log_perm_modify,
  sendmail/index_epath, sendmail/index_startmsg, sendmail/asave_ematch,
  sendmail/mailers_efile, sendmail/generics_efile,
  webalizer/index_ewebalizer, webalizer/index_econf

  cron/env_ename carried a $1 that lang/en does not have, and its text
  described a different error than the key means.

  adsl-client/index_stopdesc and inittab/log_rename each repeated $1
  where $2 was meant, so both values printed the same string.

HTML markup that did not match lang/en:
  bind8/mass_desc, dhcpd/index_dhcpdnotfound, firewall/index_existing,
  inetd/index_applymsg, mysql/index_nomod, mysql/index_nomods,
  samba/esync_msg, samba/viewu_list, sendmail/trusts_desc,
  sendmail/mailers_desc2, sendmail/domains_desc, squid/clear_msgclear,
  status/proc_thresh

  Several of these were also truncated mid-sentence, dropping a whole
  sentence of the original text; those are now translated in full.

Encoding:
  mailboxes/confirm_warnf was stored as double-encoded UTF-8 and
  displayed as mojibake. It also used $1 twice instead of $1 and $2.

Trailing whitespace:
  proc/kill_term, kill_hup, kill_stop, kill_cont

Untranslated strings:
  fdisk/select_* device descriptions, mount/irix_mode0, irix_mode0cd,
  shorewall/tunnels_ipsec:noah

  bind8/mass_desc previously translated the literal configuration
  keywords master, slave, stub and forward into Turkish; they are now
  left in English, since they are values the user has to type.
2026-08-30 14:34:56 +03:00
KafamaG
a979159ead Fix pre-existing errors in the shorewall Turkish strings
Three strings in shorewall/lang/tr were already broken before this branch
and two of them would have been carried into the new shorewall6 file:

* blacklist_desc lost the <b> tags present in lang/en and its text
  described something other than the English string
* policy_limit and proxyarp_desc had been left in English

All three are corrected in shorewall, and the two shared ones in
shorewall6.
2026-08-30 02:11:25 +03:00
KafamaG
becb5dcc12 Remove shorewall/lang/tr.auto
shorewall/lang/tr now covers every key in lang/en, so the machine-translated
file is redundant.
2026-08-30 02:10:28 +03:00
KafamaG
f4abf7e16e Complete the Turkish translation for shorewall and add it for shorewall6
Adds the 161 strings that shorewall/lang/tr was missing, so the module is
now fully translated, and creates shorewall6/lang/tr (443 strings),
removing shorewall6/lang/tr.auto.

Where shorewall6 shares a key with shorewall, the translation is reused
only when the two lang/en values are byte-identical. The 13 keys whose
English text differs were translated separately - interfaces_2 in
particular is "Broadcast address" in shorewall but "Options" in
shorewall6, so reusing it by key name alone would have been wrong.

Shorewall keywords stay in English: zone types (ipv4, ipv6, ipsec,
ipsec6, bport, bport6), interface and provider options, and the
shorewall6 subcommands shown in button descriptions.
2026-08-30 02:10:16 +03:00
Ilia Ross
342fc4d12d Fix remaining raw HTML in Shorewall module to use ui-lib
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
2026-08-19 22:49:07 +02:00
Jamie Cameron
1d57df4422 strict/warnings compliance 2026-08-17 21:25:44 -07:00
Jamie Cameron
3851c065a9 Limit visibility to this file 2026-08-16 21:20:51 +01:00
Jamie Cameron
aef59791f2 delete useless leftover line 2026-08-16 21:17:53 +01:00
Jamie Cameron
5656d1c6ae ui-lib conversion of tos fields 2026-08-16 21:15:44 +01:00
Jamie Cameron
34a084dc96 A dollar short 2026-08-16 20:55:07 +01:00
Jamie Cameron
150b49d23d More shorewall ui-lib conversions 2026-08-16 20:52:57 +01:00
Jamie Cameron
057d5985ee Fix mislabelled field 2026-08-16 20:42:00 +01:00
Jamie Cameron
b22bbd9fee Convert NAT form to ui-lib 2026-08-16 20:38:51 +01:00
Jamie Cameron
ad8edbcf4c Fix a missing label 2026-08-16 20:33:04 +01:00
Jamie Cameron
0061b689fb Fix ai-detected bug
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
2026-08-16 20:19:32 +01:00
Jamie Cameron
132606c7ad Yet more ui-lib conversions 2026-08-16 20:00:28 +01:00
Jamie Cameron
80ea84c88d More conversions to ui-lib 2026-08-16 16:43:49 +01:00
Jamie Cameron
1d1d6fc26f Test of new laptop
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-16 11:59:27 +01:00
Jamie Cameron
561ebd51f8 More work on ui-lib conversion 2026-08-16 03:30:25 -07:00
Jamie Cameron
addc3be48c Formatting cleanup 2026-08-06 14:50:58 -07:00
Jamie Cameron
5633e234a1 ui-lib and code cleanups
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-04 16:56:22 -07:00
Jamie Cameron
0f47075b14 More code cleanups 2026-08-04 16:44:52 -07:00
Jamie Cameron
0d11ef7bdf delete a function that is not called 2026-08-04 15:44:53 -07:00
Jamie Cameron
0bd586c9f2 Fix order of parameters 2026-08-04 15:41:25 -07:00
Jamie Cameron
67879db52e Code cleanups to use my instead of local, and use formal parameters 2026-08-04 15:38:10 -07:00
Jamie Cameron
e7ded67e4e wantarray doesn't work the way I expected
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-03 15:34:28 -07:00
Jamie Cameron
6e558b91bf Some zone_field callers just expect a single value 2026-08-03 15:10:21 -07:00
Jamie Cameron
1b69837817 Convert zone_field to use ui-lib functions
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
2026-08-03 14:51:40 -07:00
Jamie Cameron
1ff83263cd Start of work on ui-lib cleanup for Shorewall module 2026-08-03 14:37:19 -07:00
Ilia Ross
68aab1c057 Fix to use proper API for ACL pages
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
[no-build]
2026-04-23 22:07:13 +02: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
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
luz paz
3e6142f098 Fix user and non-user facing typos 2022-06-29 07:17:11 -04:00
Ilia Rostovtsev
f69fa81e59 Fix to get safely using wrapper sub 2/2 2021-09-28 16:30:05 +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
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
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
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
aaf210f47c Fix post-translation bugs /1 2020-03-12 00:53:55 +03:00