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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user