mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-19 21:56:07 +00:00
placeholder: use identifier to look up human-readable names from ResourceBundle instead of if/elsing on classes
(e.g. `resourceBundle.getString(identifier() + ".name")`) TODO @infeo
This commit is contained in:
@@ -26,7 +26,7 @@ class CheckListCell extends ListCell<HealthCheckTask> {
|
||||
super.updateItem(item, empty);
|
||||
|
||||
if (item != null) {
|
||||
setText(item.getTitle());
|
||||
setText(item.getCheck().identifier()); // TODO lookup l18n key
|
||||
item.stateProperty().addListener(this::stateChanged);
|
||||
setGraphic(graphicForState(item.getState()));
|
||||
stateIcon.setGlyph(glyphForState(item.getState()));
|
||||
|
||||
Reference in New Issue
Block a user