Commit Graph

139 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
88de75c002 Complete the Turkish translations for 39 smaller modules
Finishes the Turkish translation of system-status, logviewer, smart-status,
updown, htpasswd-file, bsdexports, dfsadmin, openslp, mailcap,
backup-config, at, proc, sgiexports, samba, lpadmin, cluster-cron,
tcpwrappers, hpuxexports, exports, cluster-shell, webmincron, time,
change-user, syslog, shell, inetd, htaccess-htpasswd, krb5, xterm, idmapd,
cluster-passwd, tunnel, inittab, passwd, man, xinetd, webalizer,
adsl-client and help, and removes their tr.auto files.

htaccess-htpasswd needed special handling: its existing lang/tr was a
verbatim copy of lang/en, so reusing it would have carried 75 English
strings into the finished file. The whole module was translated instead.
Six other strings that were still in English in acl, firewall, webalizer
and xinetd were translated at the same time.

Product and protocol names stay in English, including SMART, WebNFS,
Kerberos, LIPKEY, SPKM, OpenSLP, Winbind, TCP Wrappers, Xinetd, journalctl,
Boot Loader Specification, Trusted Platform Module and Alpine Package
Keeper.
2026-08-30 13:24:27 +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
MacSteini
84d8b9fe62 Merge branch 'webmin:master' into master 2025-02-19 01:27:59 +00:00
Ilia Ross
42b823e3e9 Fix a typo, quote UI option for emphasis, and fit text in 80 chars width 2025-02-18 20:28:34 +02: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
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
MacSteini
3c86a1a158 Update en
Reverted back to its original state
2024-09-06 10:25:02 +01:00
MacSteini
9607c3cae7 Update de 2024-09-05 23:18:27 +01:00
MacSteini
782f0fbedd Update en 2024-09-05 23:07:51 +01:00
leangjia
d59837dbad Updated Chinese translations 2024-09-04 12:06:27 +08:00
Ilia Rostovtsev
0462945632 Update translations 3/3 2021-11-18 22:13:17 +03: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
Jamie Cameron
db89c10c61 Use require to avoid duplicate function warnings 2020-07-25 17:56:16 -07:00
Ilia Rostovtsev
ee56777e6d Drop useless empty files 2020-04-29 23:17:45 +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
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
b235d9953e Fix initially broken (hr) lang /3 2020-03-16 20:02:01 +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
b5769ad9fa Add transcoding/translation for adsl-client module of 한국어 (ko) 2020-03-09 00:37:31 +03:00
Ilia Rostovtsev
006f568b72 Add transcoding/translation for adsl-client module of 日本語 (ja) 2020-03-09 00:37:06 +03:00
Ilia Rostovtsev
5a1d8fce4f Add transcoding/translation for adsl-client module of 中文 (繁體) (zh_TW) 2020-03-09 00:37:05 +03:00
Ilia Rostovtsev
6218eb5907 Add transcoding/translation for adsl-client module of 中文 (简体) (zh) 2020-03-09 00:37:04 +03:00
Ilia Rostovtsev
3a3cb2be55 Add transcoding/translation for adsl-client module of ไทย (th) 2020-03-09 00:37:02 +03:00
Ilia Rostovtsev
c928bbe79e Add transcoding/translation for adsl-client module of فارسی (fa) 2020-03-09 00:36:37 +03:00
Ilia Rostovtsev
d448ceac01 Add transcoding/translation for adsl-client module of العربية (ar) 2020-03-09 00:36:11 +03:00
Ilia Rostovtsev
7ddbe4481a Add transcoding/translation for adsl-client module of اردو (ur) 2020-03-09 00:36:10 +03:00
Ilia Rostovtsev
9e8125a320 Add transcoding/translation for adsl-client module of עברית (he) 2020-03-09 00:35:45 +03:00
Ilia Rostovtsev
950960d181 Add transcoding/translation for adsl-client module of українська (uk) 2020-03-09 00:35:20 +03:00
Ilia Rostovtsev
51b75c1ed6 Add transcoding/translation for adsl-client module of русский (ru) 2020-03-09 00:34:53 +03:00
Ilia Rostovtsev
a4b7638208 Add transcoding/translation for adsl-client module of български (bg) 2020-03-09 00:34:28 +03:00
Ilia Rostovtsev
e09a557f86 Add transcoding/translation for adsl-client module of беларуская (be) 2020-03-09 00:34:28 +03:00
Ilia Rostovtsev
0c2859139f Add transcoding/translation for adsl-client module of Ελληνικά (el) 2020-03-09 00:34:02 +03:00
Ilia Rostovtsev
8a3ac2e2b9 Add transcoding/translation for adsl-client module of čeština (cs) 2020-03-09 00:34:02 +03:00
Ilia Rostovtsev
49fd54221c Add transcoding/translation for adsl-client module of svenska (sv) 2020-03-09 00:33:36 +03:00
Ilia Rostovtsev
527470f8c6 Add transcoding/translation for adsl-client module of suomi (fi) 2020-03-09 00:33:36 +03:00