mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 13:38:23 +02:00
i18n preferences dialog
This commit is contained in:
@@ -245,8 +245,9 @@ public class SmartCSVController extends FXMLController {
|
||||
@FXML
|
||||
public void preferences(ActionEvent actionEvent) {
|
||||
Alert alert = new Alert(Alert.AlertType.CONFIRMATION);
|
||||
alert.setTitle("Preferences");
|
||||
alert.setHeaderText("Preferences");
|
||||
alert.setGraphic(null);
|
||||
alert.setTitle(resourceBundle.getString("dialog.preferences.title"));
|
||||
alert.setHeaderText(resourceBundle.getString("dialog.preferences.header.text"));
|
||||
alert.getDialogPane().setContent(preferencesController.getView());
|
||||
Optional<ButtonType> result = alert.showAndWait();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user