77 Commits

Author SHA1 Message Date
Elias Åström
64388c1155 update-tr.sh 2024-12-14 16:02:04 +01:00
ryvnf
93544b6c99 Import translations from weblate
Co-authored-by: bright <bright@users.noreply.translate.codeberg.org>
Co-authored-by: Zozosticot <Zozosticot@users.noreply.translate.codeberg.org>
2024-12-14 14:59:21 +00:00
Elias Åström
46a0150c2d Fix zh_hant/zh_TW translation files
zh_hant is moved to zh_TW if it has more translations or zh_TW does not
exist. All other zh_hant files are deleted.
2024-11-21 20:51:31 +01:00
Elias Åström
dbabb00f02 Run new update-tr.sh script 2024-11-18 21:52:22 +01:00
Elias Åström
4556f70546 Update translations 2024-10-19 17:27:47 +02:00
ryvnf
60a1b1661e weblate (#2205)
Co-authored-by: Sotis <Sotis@users.noreply.translate.codeberg.org>
Co-authored-by: Sencyy <Sencyy@users.noreply.translate.codeberg.org>
Co-authored-by: fnetX <otto@codeberg.org>
Co-authored-by: Enlive <Enlive@users.noreply.translate.codeberg.org>
Co-authored-by: Cwpute <Cwpute@users.noreply.translate.codeberg.org>
Co-authored-by: 3raven <3raven@users.noreply.translate.codeberg.org>
Co-authored-by: Benny <Benny@users.noreply.translate.codeberg.org>
Co-authored-by: phileas <phileas@users.noreply.translate.codeberg.org>
Co-authored-by: liulitchi <liulitchi@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/mineclonia/mineclonia/pulls/2205
2024-10-19 15:25:58 +00:00
Elias Åström
a7c10019dc Update translations 2024-09-21 18:45:59 +02:00
ryvnf
7d1260f1a8 Update translations from weblate
Co-authored-by: liulitchi <liulitchi@users.noreply.translate.codeberg.org>
Co-authored-by: Gaemy <Gaemy@users.noreply.translate.codeberg.org>
Co-authored-by: phileas <phileas@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/mineclonia/mineclonia/pulls/2121
2024-09-21 16:32:04 +00:00
cora
bddb57ed12 Use mcl_util.connected_players iterator throughout codebase 2024-09-14 20:14:14 +02:00
Po Lu
2e4be4a560 Correctly deal void damage
* mods/MISC/mcl_commands/kill.lua (handle_kill_command): Convert
to mcl reasons.
2024-08-31 12:27:17 +00:00
Po Lu
4b96fd9b4b Record floating-point damage
* mods/CORE/mcl_damage/init.lua (damage_player, heal_player)
(get_hp): New functions.
(register_on_hpchange): Do not apply modifiers to damage
inflicted by damage_player and heal_player.  Otherwise, first
apply the difference to internal damage and compute the engine
hp difference from thence.
(register_on_punchplayer): Inflict punch damage by means of
damage_player.
(register_on_joinplayer): Synchronize player engine health with
internal health counter if nonexistent.
(register_on_dieplayer): Reset internal health counter.

* mods/CORE/mcl_util/init.lua (deal_damage): If dealing damage
to player, invoke mcl_damage.damage_player.
(get_hp): Return fractional health gauge if player.

* mods/ITEMS/mcl_totems/init.lua (register_modifier):

* mods/HUD/mcl_death_messages/init.lua (register_on_damage):
Derive whether damage is lethal from the fractional health gauge
rather than `obj:get_hp'.

* mods/ITEMS/mcl_armor/damage.lua (register_modifier): Do not
compute ceiling of modified damage; return the floating point
value as-is.

* mods/ITEMS/mcl_potions/functions.lua (healing_func)
(register_globalstep): Use heal_player rather than set_hp.

* mods/ITEMS/mcl_throwing/register.lua (pearl_tp):

* mods/MISC/mcl_commands/kill.lua (damage_player):

* mods/PLAYER/mcl_hunger/hunger.lua:

* mods/PLAYER/mcl_hunger/init.lua: As above.
2024-08-31 12:27:17 +00:00
Elias Åström
153f0b1d20 mtt_convert --tr2po 2024-08-17 19:15:07 +02:00
Elias Åström
b302797ff8 mtt_convert.py --po2tr 2024-08-17 18:57:18 +02:00
Elias Åström
fb8dc794fe Revert translation updating commits
A bugged version of mtt_convert was used.
2024-08-17 18:48:32 +02:00
Elias Åström
c929ead447 Add previously uncommitted tr-files 2024-08-17 17:52:16 +02:00
Elias Åström
d5445ebbdf mtt_convert.py --tr2po 2024-08-17 17:06:58 +02:00
Elias Åström
4934054af8 mtt_convert.py --po2tr 2024-08-17 17:03:15 +02:00
ryvnf
98ce8b1c82 Translations from weblate
Co-authored-by: hugoalh <hugoalh@users.noreply.translate.codeberg.org>
Co-authored-by: Gaemy <Gaemy@users.noreply.translate.codeberg.org>
Co-authored-by: phileas <phileas@users.noreply.translate.codeberg.org>
2024-08-17 15:02:39 +00:00
cora
eeaa440a56 Fix trivial luals warnings in MISC 2024-08-04 20:28:43 +00:00
Elias Åström
ead4d005a6 Change Chinese translation code zh_Hans to zh_CN 2024-07-22 14:29:21 +02:00
Elias Åström
a45461fe55 Run mtt_convert.py --tr2po 2024-07-20 21:17:47 +02:00
Elias Åström
0ae4e38012 Update translations from weblate
Co-authored-by: Zozosticot <Zozosticot@users.noreply.translate.codeberg.org>
Co-authored-by: liulitchi <liulitchi@users.noreply.translate.codeberg.org>
Co-authored-by: Elias Åström <ryvnf@riseup.net>
Co-committed-by: Elias Åström <ryvnf@riseup.net>
2024-07-20 19:13:19 +00:00
Elias Åström
77f49e6334 Run tr2po 2024-07-04 18:20:18 +02:00
Elias Åström
49b879592c Fix translations
Co-authored-by: Elias Åström <ryvnf@riseup.net>
Co-committed-by: Elias Åström <ryvnf@riseup.net>
2024-07-04 15:59:18 +00:00
ryvnf
4096c52900 Update translations from weblate
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: liulitchi <liulitchi@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/mineclonia/mineclonia/pulls/1604
2024-07-01 07:50:56 +00:00
cora
aa501ce2de [SQUASH] Update translations from weblate (#1569)
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: phileas <phileas@users.noreply.translate.codeberg.org>
Co-authored-by: Application-Maker <Application-Maker@users.noreply.translate.codeberg.org>
Co-authored-by: collectanos <collectanos@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/mineclonia/mineclonia/pulls/1569
Co-authored-by: cora <coradelamouche@gmx.ch>
Co-committed-by: cora <coradelamouche@gmx.ch>
2024-06-22 14:57:13 +00:00
cora
88dc659d27 [SQUASH] Import new translations from weblate (#1502)
Co-authored-by: j-r <j-r@users.noreply.translate.codeberg.org>
Co-authored-by: Kyoushi <Kyoushi@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/mineclonia/mineclonia/pulls/1502
Co-authored-by: cora <coradelamouche@gmx.ch>
Co-committed-by: cora <coradelamouche@gmx.ch>
2024-05-31 14:41:35 +00:00
cora
3f7264e153
Generate new po files 2024-05-22 00:05:34 +02:00
cora
91d77c711d Update translations from weblate
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Ame-chan-angel <Ame-chan-angel@users.noreply.translate.codeberg.org>
Co-authored-by: mugcake <mugcake@users.noreply.translate.codeberg.org>
Co-authored-by: Dirk <Dirk@users.noreply.translate.codeberg.org>
Co-authored-by: fnetX <otto@codeberg.org>
Co-authored-by: Elias Åström <ryvnf@riseup.net>
Co-authored-by: cora <coradelamouche@gmx.ch>
Co-committed-by: cora <coradelamouche@gmx.ch>
2024-05-11 20:33:33 +00:00
Elias Åström
81c70261da Run official translation template update script 2024-01-17 14:40:02 +00:00
JoseDouglas26
b1a76c04b7 mcl_commands pt_BR translation missing 2023-12-09 17:32:09 +01:00
JoseDouglas26
881740a1bd mcl_commands pt_BR translation 2023-12-09 17:32:09 +01:00
Sab Pyrope
b9033966fd Update russian translation 2023-08-22 16:54:57 +00:00
Freeman
0057f27c55 spanish locale update 2023-08-18 15:20:49 +00:00
cora
25f91b8eb3 mcl_commands: simplify negation expresion 2023-07-31 17:47:08 +00:00
Temak
3b18f429ae Update russian translation
Update russian translation by Temak

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3519
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: Temak <artemkotlubai@yandex.ru>
Co-committed-by: Temak <artemkotlubai@yandex.ru>
2023-07-09 02:16:14 +02:00
Elias Åström
9572d1f10b Restore builtin commands 2023-06-29 22:45:13 +02:00
Riu Sakura
eecf514034 add japanese translation 2023-04-23 14:19:13 +00:00
Lizzy Fleckenstein
5ab8598c37 Run tools/generate_translate_template.lua 2023-04-21 18:19:15 +00:00
Elias Fleckenstein
e7898352d8 Remove mobs_mc_gameconfig 2022-05-27 02:44:39 +02:00
Elias Fleckenstein
e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
37e72e333b Improve /seed command (now it looks like in modern MC) and update RU locale 2022-05-15 20:27:30 +07:00
Emojigit
9cd24f4af5 mcl_commands 2022-02-23 23:58:05 +01:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
Elias Fleckenstein
302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Elias Fleckenstein
c9b4ddb923 Add command damage type (This is Non-MC) 2021-04-18 20:22:18 +02:00
AFCMS
a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Marcin Serwin
9472f86025 Fix spellchecking errors 2021-04-12 17:58:04 +02:00
Marcin Serwin
6f3bd95106 Add polish translation of mcl_commands 2021-04-12 11:24:38 +02:00