Commit Graph

263 Commits

Author SHA1 Message Date
KafamaG
78b728a531 Merge branch 'master' into dev/translation_tr
#2829 landed on master and touched 173 of the same keys this branch
rewrites, which is where the conflicts came from.

Resolved by rule rather than by hand: for any key #2829 already fixed
and merged, master's value wins (54 keys); everything else keeps this
branch's version. That keeps the diff against master limited to what is
genuinely new here, and avoids re-editing work that is already upstream.

It also avoids a regression. This branch was cut before #2829, so it
still carried the old double-encoded UTF-8 in nine mailboxes strings
(confirm_warnallf, left_autoreply, left_folders, left_forward,
left_pass, left_sig, mail_fromfilter, mail_selread, mail_subfilter).
Taking master's value for those keeps them fixed. A mojibake scan over
the whole tree after the merge reports 0 remaining lines.

master also added acl/forgot_sudouser, which is translated here, so
lang/tr is still complete at 31,523 of 31,523 keys.
2026-08-31 09:51:50 +03:00
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
377a418d81 Complete the Turkish translation of the remaining eleven modules
With this change every module has a complete lang/tr and no lang/tr.auto
files are left in the tree:

  mount          92 new strings - Linux/FreeBSD/IRIX mount options
  bandwidth      83 strings - bandwidth monitoring and reports
  mailboxes      78 new strings - attachments, iCal, HTML composer
  firewall       76 new strings - IPset, physdev, chain rename and move
  gray-theme     72 strings - theme layout and system information page
  fdisk          72 new strings - parted, NVME, partition table format
  servers        71 new strings - automatic server discovery
  stunnel        69 strings - SSL tunnels via inetd/xinetd
  cron           68 new strings - crond control and manual editing
  custom         63 new strings - SQL commands and output formats
  cluster-copy   62 strings - scheduled file copies across servers

firewall/move_chain reads "Current change" in lang/en where "Current
chain" is clearly meant; it is translated by intent as "Mevcut zincir".

Command and format names that appear verbatim in configuration files
(parted, fdisk, hdparm, SMART, GPT, MS-DOS, NVME, tmpfs, CIFS, NFSv4,
inetd, xinetd, crond, IPset, physdev, TCP-wrappers) stay in English.
2026-08-30 14:31:39 +03:00
KafamaG
666ff552fa Fix errors in Turkish (tr) language files
Corrects verifiable defects in the shipped Turkish translations across
25 modules. No .auto (machine-translated) files are touched.

Placeholder bugs (33 keys) - substitution variables were missing,
duplicated or renumbered relative to lang/en:

* fdisk/mkfs_desc1 used $1 twice, so the "all data will be permanently
  erased" confirmation named the filesystem type instead of the target
  device.
* apache/reconfig_ever linked to <a href='$1'> instead of $2, pointing
  the "module configuration" link at the version string.
* useradmin/export_eopen contained the Perl special variable $! rather
  than $1.
* adsl-client/index_stopdesc, inittab/log_rename, hpuxexports/save_ehost,
  mysql/log_perm_* and others repeated $1 where $2/$3 was intended.
* cron/env_ename referenced $1, which lang/en does not provide.

HTML markup bugs (19 keys) - tags were dropped or swapped, breaking
rendering or links:

* useradmin/batch_desc6 and batch_desc3 contained the literal strings
  "$batch_desc1" and "$batch_desc0" and rendered as plain text.
* bind8/mass_desc translated the literal named.conf keywords master,
  slave, stub and forward, which would lead users to enter invalid
  configuration values. These are now left untranslated.
* mysql/index_nomod, samba/esync_msg, squid/clear_msgclear and others
  lost <tt>/<b> pairs present in lang/en.

Encoding (10 keys) - mailboxes/lang/tr contained double-encoded UTF-8
(mojibake), e.g. "klasöründen" instead of "klasöründen".

Untranslated strings (96 keys) - htaccess-htpasswd/lang/tr was a verbatim
copy of lang/en and is now fully translated. Remaining English strings in
fdisk, mount, shorewall, webalizer, xinetd and firewall are translated.
Technical identifiers (LVM VG/LV, IPsec AH) are deliberately kept in
English.

All modified files are valid UTF-8, keep their original key order and
line count, and their placeholders now match lang/en exactly.
2026-08-30 01:20:42 +03:00
Jamie Cameron
3a75f0f3f8 Sometimes ntfs is in lower case
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
https://github.com/webmin/webmin/issues/2635
2026-03-29 21:19:03 -07:00
Jamie Cameron
1d594e82f0 Sometimes ntfs is in lower case
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
https://github.com/webmin/webmin/issues/2635
2026-03-11 22:24:06 -07:00
Ilia Ross
399d7a8651 Fix to use quotemeta to prevent shell injection in fdisk module
Ref.: 796677885d (VULN-001)
2026-02-10 14:05:16 +02:00
Jamie Cameron
5ed06227a8 Escape command flags 2025-10-21 19:47:11 -07:00
Ilia Ross
3849615cfd Fix encoding bug 2025-05-24 21:40:10 +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
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
Jamie Cameron
37075fc1ec Code cleanups 2024-09-28 10:16:47 -07:00
Jamie Cameron
ce27473110 VirtIO disks aren't IDE 2024-09-28 10:08:43 -07:00
MacSteini
261ff535e0 Updated de 2024-09-07 12:46:38 +01:00
Jamie Cameron
76f9bea696 Fix display of multiple buttons https://sourceforge.net/p/webadmin/bugs/5561/ 2022-11-17 20:56:07 -08:00
Jamie Cameron
5a818ce701 Use new ui library 2022-11-05 21:04:37 -07:00
Jamie Cameron
9ea1f0ad52 Make boxes bigger 2022-10-27 18:19:20 -07:00
iliajie
9d0ceb6e00 Update translations 2022-09-15 22:50:24 +03:00
iliajie
5ea16f73b0 Handle the case when mode is set to fdisk and parted installed 2022-07-23 15:43:58 +03:00
iliajie
7aa4b6add0 Fix not to print redundant if warning already printed 2022-07-23 15:14:01 +03:00
iliajie
c984f3b57f Fix to display GPT with fdisk but don't edit 2022-07-23 15:04:31 +03:00
iliajie
ae05b815b2 Fix to display extent graphs in percents to fill nicely 2022-07-23 14:22:20 +03:00
iliajie
06cc942706 Add fdisk GPT improvements 2022-07-23 02:28:35 +03:00
Jamie Cameron
7c8f750364 Disks can have multiple IDs 2022-02-15 19:32:17 -08:00
Ilia Rostovtsev
0462945632 Update translations 3/3 2021-11-18 22:13:17 +03:00
Jamie Cameron
63eda8c76f Explain expected format 2021-05-15 15:35:54 -07:00
Ilia Rostovtsev
4c4b647096 Fix to add extra line breaks (sections) to language files 2020-12-27 21:15:36 +03:00
ljdj
6acbd7b653 Update fr
Complete and indented translation in French
2020-12-25 18:46:21 +01:00
ljdj
20704d294c Create config.info.fr
Complete translation in French
2020-12-25 16:09:32 +01: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
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
a18b9b51d6 Drop files that are available in its original encoding 2020-04-19 12:22:37 +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
Ilia Rostovtsev
cb4f274057 Fix translator errors: 1 USD -> 2020-03-27 20:46:29 +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
9a593e912b Fix post-translation bugs /8 2020-03-13 13:48:45 +03:00