Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
context menu and zoom menu: rename "Cancel" to "Close" (and use the c…
Browse files Browse the repository at this point in the history
…lose icon (X) )
  • Loading branch information
balcy committed Nov 20, 2018
1 parent 0755696 commit 845d8a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app/WebViewImpl.qml
Expand Up @@ -660,9 +660,9 @@ WebView {
// only needed as long as we don't detect the "blur" event of the control
// -> try to get that via WebChannel / other mechanism and hide the quickMenu automatically if control has no longer focus
Action {
name: "cancel"
text: i18n.dtr('ubuntu-ui-toolkit', "Cancel")
iconName: "cancel"
name: "close"
text: i18n.dtr('ubuntu-ui-toolkit', "Close")
iconName: "close"
enabled: true
visible: enabled
onTriggered: {
Expand Down Expand Up @@ -753,9 +753,9 @@ WebView {
onTriggered: zoomController.save()
}
Action {
name: "cancel"
text: i18n.dtr('ubuntu-ui-toolkit', "Cancel")
iconName: "cancel"
name: "close"
text: i18n.dtr('ubuntu-ui-toolkit', "Close")
iconName: "close"
enabled: true
onTriggered: zoomMenu.visible = false
}
Expand Down

0 comments on commit 845d8a4

Please sign in to comment.