Lokalisierungs-Editor: liest/schreibt messages_<lang>.properties in blight-lang

TextBundleIO von JSON auf Java-Properties-Format umgestellt (messages_*.properties).
Reihenfolge der Keys bleibt beim Laden erhalten. EditorApp zeigt jetzt auf
blight-lang/src/main/resources/lang/ statt blight-assets/localization/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-06 07:15:14 +02:00
parent 06bb955c78
commit b05eb1055d
2 changed files with 61 additions and 22 deletions

View File

@@ -10249,7 +10249,8 @@ public class EditorApp extends Application {
label.setStyle("-fx-font-weight: bold; -fx-font-size: 13;");
tb.getItems().addAll(backBtn, new Separator(Orientation.VERTICAL), label);
topBar.getChildren().set(1, tb);
root.setCenter(new de.blight.editor.ui.LocalizationEditorView(ASSET_ROOT.resolve("localization")));
root.setCenter(new de.blight.editor.ui.LocalizationEditorView(
de.blight.editor.ProjectRoot.resolve("blight-lang", "src", "main", "resources", "lang")));
root.setRight(null);
}