Skip to content

Commit

Permalink
desktop: Use consistent wording for removing parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
n0samu authored and Dinnerbone committed Jul 10, 2023
1 parent eeca059 commit db252da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions desktop/assets/texts/en-US/open_dialog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ open-dialog = Open File or URL
open-dialog-path = File or URL
open-dialog-add-parameter = Add
open-dialog-delete-parameter = Delete
open-dialog-clear-parameters = Clear all
open-dialog-remove-parameter = Remove
open-dialog-remove-parameters = Remove all
4 changes: 2 additions & 2 deletions desktop/src/gui/open_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ impl OpenDialog {
if ui
.add_enabled(
!self.options.parameters.is_empty(),
Button::new(text(&self.locale, "open-dialog-clear-parameters")),
Button::new(text(&self.locale, "open-dialog-remove-parameters")),
)
.clicked()
{
Expand All @@ -495,7 +495,7 @@ impl OpenDialog {
ui.text_edit_singleline(value);
if ui
.button("x")
.on_hover_text(text(&self.locale, "open-dialog-delete-parameter"))
.on_hover_text(text(&self.locale, "open-dialog-remove-parameter"))
.clicked()
{
keep = false;
Expand Down

0 comments on commit db252da

Please sign in to comment.