104 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
goblin_mode
0f34b341e7 remove all remaining mentions of mvps 2024-11-20 02:31:45 +00:00
goblin_mode
dec75a393e remove uneeded dependncies 2024-11-20 02:31:45 +00:00
goblin_mode
f408adb2e5 add unsticky and unmovable_by_piston groups to nodes 2024-11-20 02:31:45 +00: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
8377c5a3af Match light_source to Minecraft light levels 2024-11-03 19:16:21 +02: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
cora
bddb57ed12 Use mcl_util.connected_players iterator throughout codebase 2024-09-14 20:14:14 +02:00
cora
1b5a86d930
Fix indentation in beacons 2024-09-02 14:37:03 +02:00
Po Lu
64566171ae
Beacons are not WIP any longer
* mods/ITEMS/mcl_beacons/init.lua (effect_symbols, effect_names):
Delete variables supplanted by mcl_potions globals.
(upgrade_effect_level_button): Load effect names from
mcl_potions.registered_effects.
(generate_beacon_formspec): Add Haste and Resistance.
(apply_beacon_formspec): Likewise.

* mods/ITEMS/mcl_potions/functions.lua: Assign swiftness a
specific icon.
2024-09-02 14:36:07 +02:00
Po Lu
7dc36f02ba
Conclude merge
* mods/CORE/mcl_util/init.lua (converter): New variable.
(mcl_util.to_roman): Move roman numeral conversion routine
to mcl_util.

* mods/ENTITIES/mcl_mobs/combat.lua (mob_class:on_punch):
Restore code overwritten during merge.

* mods/ENTITIES/mobs_mc/guardian_elder.lua: Remove redundant
statements.

* mods/ENVIRONMENT/mcl_raids/init.lua (mcl_raids): Remove
references to fireworks.

* mods/ITEMS/mcl_beacons/init.lua (effect_player): Port to new
effect framework.
(apply_effects_to_all_players): Establish that a secondary
effect exists before providing it to effect_player.
(apply_beacon_formspec): Delete redundant statement.

* mods/ITEMS/mcl_enchanting/groupcaps.lua (update_groupcaps):
New parameter IGNORE_HASH; used by Haste and Mining Fatigue
implementations.  All callers changed.

* mods/ITEMS/mcl_enchanting/init.lua (mcl_enchanting): Remove
roman numeral converter.

* mods/ITEMS/mcl_fishing/items.lua (eat_pufferfish): Adapt to
names of parameters renamed in Mineclonia.

* mods/ITEMS/mcl_mobitems/init.lua (drink_milk): Call
_reset_effects, not _reset_player_effects.

* mods/ITEMS/mcl_potions/commands.lua (get_chat_function): Delete
unused variable.
(effect): Delete redundant initializer.

* mods/ITEMS/mcl_potions/functions.lua
(generate_rational_lvl_to_frac): Fix math.
(regeneration, strength, weakness, swiftness, slowness)
(fire_resistance): Explicitly specify icons whose names cannot
be derived from those of the effects.
(blindness, nausea): Disable FOV modification for the time
being.
(hf_update_internal, update_haste_and_fatigue)
(_reset_haste_fatigue_item_meta): Guarantee that tool
capabilities are reset properly to their standard values.
(_load_player_effects): Correct typos.
(clear_effect, _reset_effects): Remove effects from
item_speed_effects also.
(give_effect): Fix typo.

* mods/ITEMS/mcl_potions/init.lua (awkward_table, thick_table)
(inversion_table): Delete numerous recipes absent from
Minecraft.

* mods/ITEMS/mcl_potions/lingering.lua (register_lingering): Typos.

* mods/ITEMS/mcl_potions/potions.lua (time_string, perc_string)
(return_on_use): Delete obsolete functions.
(generate_on_use): Provide itemstack to _use_potion.
(trolling, levitation, darkness, glowing, health_boost)
(absorption, resistance, blindness, nausea, food_poisoning)
(saturation, haste, fatigue): Delete numerous potions absent
from Minecraft.
(turtle_master, withering): Rename descriptions to agree with
Minecraft.

* mods/ITEMS/mcl_potions/splash.lua (register_splash): Delete
redundant statement.

* mods/ITEMS/mcl_potions/tipped_arrow.lua (arrow_image): Restore
ommitted function.
(register_arrow): Remove redundant statements; return to
deriving bespoke ARROW_ENTITIES from the original.  Set potency
and plus to 0.

* mods/ITEMS/mcl_sus_stew/init.lua (mcl_sus_stew)
(registered_stews, item_effects, register_stew): Delete unused
variables and functions.
(get_random_effect, eat_stew): Port properly from VL.

* mods/PLAYER/mcl_hunger/init.lua (mcl_hunger): Use hunger in
place of food_poisoning.

* mods/PLAYER/mcl_hunger/hunger.lua (mcl_hunger): Remove
reference to variable and option absent from Mineclonia.
2024-09-02 14:36:07 +02:00
Po Lu
d128d0889f
Implement support for multiple effects in beacons
* mods/ITEMS/mcl_beacons/init.lua (formspec_string): Delete
function.
(effect_player): Correct typo in effect names.
(appply_effects_to_all_players): Apply secondary effect if
configured.
(effect_symbols, effect_names, open_beacons): New variables.
(upgrade_effect_level_button, generate_beacon_formspec): New
functions.
(beacon) <on_rightclick>: New function.
<on_receive_fields>: Extract to apply_beacon_formspec.
(upgrade_new_data): New LBM.  Migrate legacy effect and/or
levels to secondary_effect if applicable.
(apply_beacon_formspec): New function.
2024-09-02 14:36:04 +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
goblin_mode
865641a05b move decoration blocks from the misc category 2024-08-24 04:22:04 +02: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
6d0a894646 mod_translation_updater.py 2024-08-17 17:05:29 +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
666772117b Fix trivial luals warnings in ITEMS 2024-08-04 20:28:43 +00:00
Elias Åström
ed13afe106 mtt_convert.py --tr2po 2024-08-04 18:00:57 +02: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
ryvnf
ef78837680 Update translations from weblate
Co-authored-by: Pietro Cappuccino <erisMT@users.noreply.translate.codeberg.org>
Co-authored-by: RadonPrunus <RadonPrunus@users.noreply.translate.codeberg.org>
Reviewed-on: https://codeberg.org/mineclonia/mineclonia/pulls/1764
2024-08-04 15:35:31 +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
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
ee20ad3256 Add missing translation templates 2024-07-04 18:01:23 +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
cora
07a732cccc Fix wrong is_ground_content fields 2023-10-28 10:51:02 +00:00