Skip to content

Commit 64a5e8c

Browse files
committed
🚧 Add missing translation in bone config
1 parent 931dd6c commit 64a5e8c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/components/boneConfigDialog.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@
6262

6363
<div>
6464
<div class="selected_variant_title">
65-
Selected Variant: {variant.displayName}
65+
{translate('dialog.bone_config.selected_variant', variant.displayName)}
6666
</div>
6767
{#if variant.isDefault}
6868
<div class="selected_variant_subtitle">
69-
The settings below will be applied to this bone by default.
69+
{translate('dialog.bone_config.default_variant_subtitle')}
7070
</div>
7171
{:else}
7272
<div class="selected_variant_subtitle">
73-
The settings below will be applied to this bone only when this variant is applied.
73+
{translate('dialog.bone_config.selected_variant_subtitle')}
7474
</div>
7575
{/if}
7676

src/lang/en.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ animated_java.dialog.blueprint_settings.json_file.error.not_a_file: The selected
181181
## Bone Config Dialog
182182
animated_java.dialog.bone_config.title: Bone Config
183183

184+
animated_java.dialog.bone_config.selected_variant: 'Selected Variant: {1}'
185+
animated_java.dialog.bone_config.default_variant_subtitle: The settings below will be applied to this bone by default.
186+
animated_java.dialog.bone_config.selected_variant_subtitle: The settings below will be applied to this bone only when this variant is applied.
187+
184188
animated_java.dialog.bone_config.use_nbt.title: Use NBT
185189
animated_java.dialog.bone_config.use_nbt.description: Whether or not to use NBT to configure the bone instead of settings.
186190
animated_java.dialog.bone_config.use_nbt.use_nbt_warning: Using NBT will override all other settings, and any changes you make will not be visible in the editor. Only use this if you know what you're doing!

0 commit comments

Comments
 (0)