Skip to content

Commit bde8fe3

Browse files
committed
๐Ÿ› ๏ธ Fix untranslated error messages.
@LeCarbonator this time there are actually new translation keys ๐Ÿ˜…
1 parent f19ec3e commit bde8fe3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

โ€Žsrc/lang/en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,9 @@ animated_java.misc.failed_to_export.button: Ok
500500
animated_java.format_category.animated_java: Animated Java
501501

502502
# Model Manager Warnings
503+
animated_java.block_model_manager.fluid_warning: Fluids don't render in Block Displays.
503504
animated_java.block_model_manager.mob_head_warning: Mob Heads don't render in Block Displays. Use an Item Display instead.
505+
animated_java.block_model_manager.facing_warning: The "facing" blockstate key is not supported in Block Displays.
504506

505507
# Project Errors
506508
animated_java.error.blueprint_export_path_doesnt_exist.title: Blueprint Export Path Doesn't Exist

โ€Žsrc/systems/minecraft/blockModelManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const LOADER = new THREE.TextureLoader()
2323
const BLOCK_MODEL_CACHE = new Map<string, BlockModelMesh>()
2424

2525
const BLACKLISTED_BLOCKS = new Map([
26-
['water', "Fluids are don't render in Block Displays."],
27-
['lava', "Fluids are don't render in Block Displays."],
26+
['water', translate('block_model_manager.fluid_warning')],
27+
['lava', translate('block_model_manager.fluid_warning')],
2828

2929
['player_head', translate('block_model_manager.mob_head_warning')],
3030
['player_wall_head', translate('block_model_manager.mob_head_warning')],

0 commit comments

Comments
ย (0)