Skip to content

Commit

Permalink
fix: update dialog is translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Jan 5, 2024
1 parent c76532b commit fd04f6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/viewtify/update/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import javafx.geometry.Rectangle2D;
import javafx.geometry.Side;

import kiss.I;
import psychopath.Directory;
import psychopath.File;
import psychopath.Locator;
Expand Down Expand Up @@ -104,7 +105,7 @@ public static void apply(String archive, boolean forcibly) {
};

Viewtify.dialog()
.title("Updater")
.title(I.translate("Preparing to update application."))
.button("Update", "Cancel")
.translatable()
.disableButtons(forcibly)
Expand Down

0 comments on commit fd04f6b

Please sign in to comment.