Commit Graph

21648 Commits

Author SHA1 Message Date
Ilia Rostovtsev
556f3e990d Fix initially broken (hr) lang /4 2020-03-16 20:12:00 +03:00
Ilia Rostovtsev
b235d9953e Fix initially broken (hr) lang /3 2020-03-16 20:02:01 +03:00
Ilia Rostovtsev
e3013ff873 Merge branch 'master' of github.com:webmin/webmin 2020-03-16 16:17:34 +03:00
Jamie Cameron
5a4d3f247d Fix typo 2020-03-15 18:38:08 -07:00
Jamie Cameron
6612f7fc5a Explicitly open files for read 2020-03-15 12:54:53 -07:00
Jamie Cameron
f47847da84 Merge branch 'master' of github.com:webmin/webmin 2020-03-14 17:23:49 -07:00
Jamie Cameron
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Ilia Rostovtsev
bf1fe2240d Fix post-translation bugs /10 2020-03-14 23:06:37 +03:00
Ilia Rostovtsev
d26cbcc2eb Fix typo 2020-03-14 21:41:25 +03:00
Ilia Rostovtsev
bf55427e2a Simply transcode existing languages for modules not in "makedist.pl" 2020-03-14 20:37:24 +03:00
Ilia Rostovtsev
2fc10e9c67 Add better way to just transcode all other modules 2020-03-14 20:32:48 +03:00
Ilia Rostovtsev
5faf3f8142 Add translations for Majordomo as requested by @gnadelwartz 2020-03-14 20:23:33 +03:00
Ilia Rostovtsev
c9ec200f33 Merge branch 'master' of github.com:webmin/webmin 2020-03-14 19:48:10 +03:00
Ilia Rostovtsev
40b817b75c Remove test string to see how it works (no diff) 2020-03-14 19:40:37 +03:00
Ilia Rostovtsev
e52a8ed70c Add test string to see how it works (no diff)
[user@desktop webmin]$ bin/language-manager -m=bind8
Affected modules [1]: bind8
Affected languages [41]: af de mt ms nl vi tr ca da es eu fr hr it lv lt hu no pl pt pt_BR ro sk sl fi sv cs el be bg ru uk he ur ar fa th zh zh_TW ja ko
Attention! The following operation will synchronize mentioned languages,
for all mentioned modules listed above, using en as a template language.
The keys found in target languages but missing on source, will be deleted,
while newly added keys on source, will be translated for targets. The ope-
ration log will be written in /tmp/language-manager-1584203722.log file.
Do you want to proceed? [y/N]: y
Transcoding/translating bind8 module ..
 .. Processing Afrikaans (af) language ..
  .. Found machine translated file for Afrikaans (af.auto)
  .. Found human translated file for Afrikaans (af)
  .. Set file encoding to default `utf-8`
   .. (af) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Dit is die toets
 .. Processing Deutsch (de) language ..
  .. Found machine translated file for Deutsch (de.auto)
  .. Found human translated file for Deutsch (de)
  .. Set file encoding to default `utf-8`
   .. (de) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Dies ist der Test
 .. Processing Malti (mt) language ..
  .. Found machine translated file for Malti (mt.auto)
  .. Found human translated file for Malti (mt)
  .. Set file encoding to default `utf-8`
   .. (mt) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Dan huwa t-test
 .. Processing Melayu (ms) language ..
  .. Found machine translated file for Melayu (ms.auto)
  .. Found human translated file for Melayu (ms)
  .. Set file encoding to default `utf-8`
   .. (ms) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Inilah ujian
 .. Processing Nederlands (nl) language ..
  .. Found machine translated file for Nederlands (nl.auto)
  .. Found human translated file for Nederlands (nl)
  .. Set file encoding to default `utf-8`
   .. (nl) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Dit is de test
 .. Processing Tiếng Việt (vi) language ..
  .. Found machine translated file for Tiếng Việt (vi.auto)
  .. Found human translated file for Tiếng Việt (vi)
  .. Set file encoding to default `utf-8`
   .. (vi) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Đây là bài kiểm tra
 .. Processing Türkçe (tr) language ..
  .. Found machine translated file for Türkçe (tr.auto)
  .. Found human translated file for Türkçe (tr)
  .. Set file encoding to default `utf-8`
   .. (tr) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Bu test
 .. Processing català (ca) language ..
  .. Found machine translated file for català (ca.auto)
  .. Found human translated file for català (ca)
  .. Set file encoding to default `utf-8`
   .. (ca) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Aquesta és la prova
 .. Processing dansk (da) language ..
  .. Found machine translated file for dansk (da.auto)
  .. Found human translated file for dansk (da)
  .. Set file encoding to default `utf-8`
   .. (da) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Dette er testen
 .. Processing español (es) language ..
  .. Found machine translated file for español (es.auto)
  .. Found human translated file for español (es)
  .. Set file encoding to default `utf-8`
   .. (es) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Esta es la prueba
 .. Processing euskara (eu) language ..
  .. Found machine translated file for euskara (eu.auto)
  .. Found human translated file for euskara (eu)
  .. Set file encoding to default `utf-8`
   .. (eu) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Hau da proba
 .. Processing français (fr) language ..
  .. Found machine translated file for français (fr.auto)
  .. Found human translated file for français (fr)
  .. Set file encoding to default `utf-8`
   .. (fr) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- C'est le test
 .. Processing hrvatski (hr) language ..
  .. Found machine translated file for hrvatski (hr.auto)
  .. Found human translated file for hrvatski (hr)
  .. Set file encoding to default `utf-8`
   .. (hr) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Ovo je test
 .. Processing italiano (it) language ..
  .. Found machine translated file for italiano (it.auto)
  .. Found human translated file for italiano (it)
  .. Set file encoding to default `utf-8`
   .. (it) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Questo è il test
 .. Processing latviešu (lv) language ..
  .. Found machine translated file for latviešu (lv.auto)
  .. Found human translated file for latviešu (lv)
  .. Set file encoding to default `utf-8`
   .. (lv) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Šis ir pārbaudījums
 .. Processing lietuvių (lt) language ..
  .. Found machine translated file for lietuvių (lt.auto)
  .. Found human translated file for lietuvių (lt)
  .. Set file encoding to default `utf-8`
   .. (lt) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Tai yra testas
 .. Processing magyar (hu) language ..
  .. Found machine translated file for magyar (hu.auto)
  .. Found human translated file for magyar (hu)
  .. Set file encoding to default `utf-8`
   .. (hu) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Ez a teszt
 .. Processing norsk (no) language ..
  .. Found machine translated file for norsk (no.auto)
  .. Found human translated file for norsk (no)
  .. Set file encoding to default `utf-8`
   .. (no) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Dette er testen
 .. Processing polski (pl) language ..
  .. Found machine translated file for polski (pl.auto)
  .. Found human translated file for polski (pl)
  .. Set file encoding to default `utf-8`
   .. (pl) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- To jest test
 .. Processing português (pt) language ..
  .. Found machine translated file for português (pt.auto)
  .. Found human translated file for português (pt)
  .. Set file encoding to default `utf-8`
   .. (pt) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Este é o teste
 .. Processing português (Brasil) (pt_BR) language ..
  .. Found machine translated file for português (Brasil) (pt_BR.auto)
  .. Found human translated file for português (Brasil) (pt_BR)
  .. Set file encoding to default `utf-8`
   .. (pt_BR) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Este é o teste
 .. Processing română (ro) language ..
  .. Found machine translated file for română (ro.auto)
  .. Found human translated file for română (ro)
  .. Set file encoding to default `utf-8`
   .. (ro) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Acesta este testul
 .. Processing slovenčina (sk) language ..
  .. Found machine translated file for slovenčina (sk.auto)
  .. Found human translated file for slovenčina (sk)
  .. Set file encoding to default `utf-8`
   .. (sk) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Toto je test
 .. Processing slovenščina (sl) language ..
  .. Found machine translated file for slovenščina (sl.auto)
  .. Found human translated file for slovenščina (sl)
  .. Set file encoding to default `utf-8`
   .. (sl) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- To je test
 .. Processing suomi (fi) language ..
  .. Found machine translated file for suomi (fi.auto)
  .. Found human translated file for suomi (fi)
  .. Set file encoding to default `utf-8`
   .. (fi) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Tämä on testi
 .. Processing svenska (sv) language ..
  .. Found machine translated file for svenska (sv.auto)
  .. Found human translated file for svenska (sv)
  .. Set file encoding to default `utf-8`
   .. (sv) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Detta är testet
 .. Processing čeština (cs) language ..
  .. Found machine translated file for čeština (cs.auto)
  .. Found human translated file for čeština (cs)
  .. Set file encoding to default `utf-8`
   .. (cs) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Toto je test
 .. Processing Ελληνικά (el) language ..
  .. Found machine translated file for Ελληνικά (el.auto)
  .. Found human translated file for Ελληνικά (el)
  .. Set file encoding to default `utf-8`
   .. (el) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Αυτή είναι η δοκιμή
 .. Processing беларуская (be) language ..
  .. Found machine translated file for беларуская (be.auto)
  .. Found human translated file for беларуская (be)
  .. Set file encoding to default `utf-8`
   .. (be) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Гэта тэст
 .. Processing български (bg) language ..
  .. Found machine translated file for български (bg.auto)
  .. Found human translated file for български (bg)
  .. Set file encoding to default `utf-8`
   .. (bg) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Това е тестът
 .. Processing русский (ru) language ..
  .. Found machine translated file for русский (ru.auto)
  .. Found human translated file for русский (ru)
  .. Set file encoding to default `utf-8`
   .. (ru) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Это тест
 .. Processing українська (uk) language ..
  .. Found machine translated file for українська (uk.auto)
  .. Found human translated file for українська (uk)
  .. Set file encoding to default `utf-8`
   .. (uk) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- Це тест
 .. Processing עברית (he) language ..
  .. Found machine translated file for עברית (he.auto)
  .. Found human translated file for עברית (he)
  .. Set file encoding to default `utf-8`
   .. (he) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- זה המבחן
 .. Processing اردو (ur) language ..
  .. Found machine translated file for اردو (ur.auto)
  .. Found human translated file for اردو (ur)
  .. Set file encoding to default `utf-8`
   .. (ur) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- یہ امتحان ہے
 .. Processing العربية (ar) language ..
  .. Found machine translated file for العربية (ar.auto)
  .. Found human translated file for العربية (ar)
  .. Set file encoding to default `utf-8`
   .. (ar) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- هذا هو الاختبار
 .. Processing فارسی (fa) language ..
  .. Found machine translated file for فارسی (fa.auto)
  .. Found human translated file for فارسی (fa)
  .. Set file encoding to default `utf-8`
   .. (fa) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- این تست است
 .. Processing ไทย (th) language ..
  .. Found machine translated file for ไทย (th.auto)
  .. Found human translated file for ไทย (th)
  .. Set file encoding to default `utf-8`
   .. (th) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- นี่คือการทดสอบ
 .. Processing 中文 (简体) (zh) language ..
  .. Found machine translated file for 中文 (简体) (zh.auto)
  .. Found human translated file for 中文 (简体) (zh)
  .. Set file encoding to default `utf-8`
   .. (zh) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- 这是测试
 .. Processing 中文 (繁體) (zh_TW) language ..
  .. Found machine translated file for 中文 (繁體) (zh_TW.auto)
  .. Found human translated file for 中文 (繁體) (zh_TW)
  .. Set file encoding to default `utf-8`
   .. (zh_TW) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- 這是測試
 .. Processing 日本語 (ja) language ..
  .. Found machine translated file for 日本語 (ja.auto)
  .. Found human translated file for 日本語 (ja)
  .. Set file encoding to default `utf-8`
   .. (ja) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- これはテストです
 .. Processing 한국어 (ko) language ..
  .. Found machine translated file for 한국어 (ko.auto)
  .. Found human translated file for 한국어 (ko)
  .. Set file encoding to default `utf-8`
   .. (ko) translated value for `xfer_none_new_test` to
      — xfer_none_new_test --> This is the test
      — xfer_none_new_test <-- 이것은 테스트입니다
.. done
2020-03-14 19:38:02 +03:00
Jamie Cameron
3093838b5b Merge branch 'master' of github.com:webmin/webmin 2020-03-14 09:34:48 -07:00
Jamie Cameron
68f4a3269d Code cleanup - always explicitly open for read 2020-03-14 09:33:28 -07:00
Ilia Rostovtsev
a24a45ce8d Sync/translate newly added strigs to BIND module 194cba8b9a (diff-6dc0332799d0db2bf9a2a5926a8c225c) 2020-03-14 18:40:15 +03:00
Ilia Rostovtsev
b1c7af37de Add missing 'he' lang for BIND 2020-03-14 18:39:29 +03:00
Ilia Rostovtsev
98ee113c42 Fix last known bug .. translate script is finished! 🎉 🥳 2020-03-14 18:24:09 +03:00
Ilia Rostovtsev
d971277e95 Don't print in-sync message for certain modes; fix bugs 2020-03-14 18:14:53 +03:00
Ilia Rostovtsev
c5bf395d25 If all in-sync, just print such message 2020-03-14 18:03:39 +03:00
Ilia Rostovtsev
3ebb597f4d Don't print stored strings in sync mode, only translated 2020-03-14 17:19:11 +03:00
Ilia Rostovtsev
a5c33d4fc7 Keep order for human translations based on template language (en) 2020-03-14 16:59:40 +03:00
Ilia Rostovtsev
e865cab021 Consider skipping source auto 2020-03-14 16:46:47 +03:00
Ilia Rostovtsev
6aec7fa7ba Add support to sync strings between template file (en) and all other languages
It's a default option and should be used as `language-manager -m=module` to sync all strings language files based on template language (def. en). If you add or remove anything to/from `en` language file, it has to be either translated or removed from other language files
2020-03-14 16:43:55 +03:00
Jamie Cameron
cddd999902 Merge branch 'master' of github.com:webmin/webmin 2020-03-13 09:49:37 -07:00
Ilia Rostovtsev
35e443a7fc Fix post-translation bugs /9 2020-03-13 14:38:43 +03:00
Ilia Rostovtsev
9a593e912b Fix post-translation bugs /8 2020-03-13 13:48:45 +03:00
Ilia Rostovtsev
fd02fe3f91 Fix post-translation bugs /7 2020-03-13 13:44:54 +03:00
Ilia Rostovtsev
896b48aa22 Fix post-translation bugs /6 2020-03-13 13:19:37 +03:00
Ilia Rostovtsev
e96fa6c6c5 Fix post-translation bugs /5 2020-03-13 13:05:07 +03:00
Ilia Rostovtsev
87d3d5fa3b Fix post-translation bugs /4 2020-03-13 12:59:54 +03:00
Ilia Rostovtsev
9c8486fb65 Fix post-translation bugs /3 2020-03-13 12:46:30 +03:00
Jamie Cameron
3a90a02c96 Fix perl warning https://sourceforge.net/p/webadmin/bugs/5361/ 2020-03-12 22:36:17 -07:00
Ilia Rostovtsev
5953f57385 Fix post-translation bugs /2 2020-03-13 00:14:45 +03:00
Ilia Rostovtsev
d9ee39756c Fix KiB label 2020-03-12 22:24:01 +03:00
Ilia Rostovtsev
da4b9cce77 Merge pull request #1215 from macmon/master
German button label index_delete1 fixed
2020-03-12 16:34:21 +03:00
Mike Steinmetz
3f08c54872 Fix index_delete1 2020-03-12 13:37:48 +01:00
Ilia Rostovtsev
aaf210f47c Fix post-translation bugs /1 2020-03-12 00:53:55 +03:00
Ilia Rostovtsev
552264b2e6 Fix to use full hostname d12c69eee6 (commitcomment-37760661) 2020-03-11 12:39:12 +03:00
Ilia Rostovtsev
5900266199 Process % surrounded with spaces 2020-03-11 12:30:12 +03:00
Ilia Rostovtsev
d518e8a8cb Add transcoding/translation for zones module of 한국어 (ko) 2020-03-11 04:09:07 +03:00
Ilia Rostovtsev
aed1a27f69 Add transcoding/translation for zones module of 日本語 (ja) 2020-03-11 04:07:19 +03:00
Ilia Rostovtsev
638d0623d2 Add transcoding/translation for zones module of 中文 (繁體) (zh_TW) 2020-03-11 04:05:31 +03:00
Ilia Rostovtsev
2c68b86471 Add transcoding/translation for zones module of 中文 (简体) (zh) 2020-03-11 04:03:42 +03:00
Ilia Rostovtsev
1f03390fd3 Add transcoding/translation for zones module of ไทย (th) 2020-03-11 04:01:50 +03:00
Ilia Rostovtsev
4e6c671ebd Add transcoding/translation for zones module of فارسی (fa) 2020-03-11 04:00:00 +03:00
Ilia Rostovtsev
fbf94683a7 Add transcoding/translation for zones module of العربية (ar) 2020-03-11 03:58:11 +03:00
Ilia Rostovtsev
4dfd2073bc Add transcoding/translation for zones module of اردو (ur) 2020-03-11 03:56:24 +03:00