diff --git a/core/src/mindustry/client/ui/SchematicBrowserDialog.java b/core/src/mindustry/client/ui/SchematicBrowserDialog.java index 735cc02c8a..5e5d2025f4 100644 --- a/core/src/mindustry/client/ui/SchematicBrowserDialog.java +++ b/core/src/mindustry/client/ui/SchematicBrowserDialog.java @@ -316,7 +316,7 @@ public void showExport(Schematic s){ platform.export(s.name(), schematicExtension, file -> Schematics.write(s, file)); }).marginLeft(12f); t.row(); - t.button("@schematic.chatshare", Icon.bookOpen, style, () -> { + t.button("@client.schematic.chatshare", Icon.bookOpen, style, () -> { if (!state.isPlaying()) return; dialog.hide(); clientThread.post(() -> Main.INSTANCE.send(new SchematicTransmission(s), () -> Core.app.post(() -> diff --git a/core/src/mindustry/ui/dialogs/SchematicsDialog.java b/core/src/mindustry/ui/dialogs/SchematicsDialog.java index bfa69f588f..013e8b0454 100644 --- a/core/src/mindustry/ui/dialogs/SchematicsDialog.java +++ b/core/src/mindustry/ui/dialogs/SchematicsDialog.java @@ -334,7 +334,7 @@ public void showExport(Schematic s){ platform.export(s.name(), schematicExtension, file -> Schematics.write(s, file)); }).marginLeft(12f); t.row(); - t.button("@schematic.chatshare", Icon.bookOpen, style, () -> { + t.button("@client.schematic.chatshare", Icon.bookOpen, style, () -> { if (!state.isPlaying()) return; dialog.hide(); clientThread.post(() -> Main.INSTANCE.send(new SchematicTransmission(s), () -> Core.app.post(() ->