229 Commits

Author SHA1 Message Date
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
cd67af73ee Revert "update-tr.sh"
This reverts commit a026bf3eae033657cb866257b60b5e0e57e1d5a0.
2024-11-18 21:44:42 +01:00
Elias Åström
a026bf3eae update-tr.sh 2024-11-18 18:51:49 +01:00
ryvnf
3b9bb8445e Add translations from weblate
Co-authored-by: Oldcoinmania <Oldcoinmania@users.noreply.translate.codeberg.org>
Co-authored-by: XP_42319 <XP_42319@users.noreply.translate.codeberg.org>
Co-authored-by: bramaudi <bramaudi@users.noreply.translate.codeberg.org>
Co-authored-by: metmj <metmj@users.noreply.translate.codeberg.org>
Co-authored-by: phileas <phileas@users.noreply.translate.codeberg.org>
Co-authored-by: Zozosticot <Zozosticot@users.noreply.translate.codeberg.org>
Co-authored-by: Miguel_PL <Miguel_PL@users.noreply.translate.codeberg.org>
Co-authored-by: wilker <wilker@users.noreply.translate.codeberg.org>
Co-authored-by: milklikecomputer <XOX@users.noreply.translate.codeberg.org>
2024-11-18 17:50:10 +00:00
nooneatall
460be68a7e Removed tempory helper recipies no longer needed. 2024-10-27 11:38:23 +00: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
Elias Åström
bf3c789a58 mod_translation_updater.py 2024-08-31 17:34:56 +02:00
Elias Åström
4afd4f85d0 mtt_convert.py --po2tr 2024-08-31 17:33:38 +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
ddb2ae173c mod_translation_updater.py 2024-08-17 18:59:09 +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
285a54e5a6 mod_translation_updater.py 2024-08-04 17:36:26 +02:00
Elias Åström
002daad1cf mtt_convert.py --po2tr 2024-08-04 17:36:24 +02: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
6b9c1c7947 Run mod_translation_updater.py 2024-07-20 21:17:46 +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
3a905a43a1 Run mod_translation_updater 2024-07-04 18:20:15 +02:00
Elias Åström
96d70449dc Import 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/1618
Co-authored-by: Elias Åström <ryvnf@riseup.net>
Co-committed-by: Elias Åström <ryvnf@riseup.net>
2024-07-04 16:16:50 +00: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
ae5bce55d0
Update translation files from the game 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
16fea3ffc3 Remove unused code in mcl_privs 2024-02-27 01:21:42 +00:00
Elias Åström
81c70261da Run official translation template update script 2024-01-17 14:40:02 +00:00
JoseDouglas26
8cae449b95 mcl_privs pt_BR translation 2023-12-09 17:32:09 +01: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
JoseDouglas26
185f786aab findbiome pt_BR translation 2023-12-09 17:32:09 +01:00
JoseDouglas26
1319c67fbb mcl_wip pt_BR translation 2023-12-09 15:31:09 +01:00
chmodsayshello
46918ede9a add trim advancements 2023-10-23 16:13:56 +00:00
cora
6d66e04b62 Add missing armor trim loot to structures 2023-10-19 01:18:03 +02:00
cora
6f592e0dab Move temp recipes for armor trims to mcl_temp_helper_recipes 2023-10-14 22:54:20 +02:00