diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-25 18:21:47 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-25 18:21:47 +0300 |
commit | 54d38100bb49a34f9ad11570e0144dc1ec006858 (patch) | |
tree | 9201af08c5584ffb39806bc3559b0e7055f0d1b6 /src | |
parent | 11348869069ad106d371113d4520cbd6ad2f9b03 (diff) |
Use "Close" instead of "Dismiss"
IssueID #285
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/documentwidget.c | 2 | ||||
-rw-r--r-- | src/ui/translation.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 74a101ad..f7ef6d79 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2287,7 +2287,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
2287 | if (!isEmpty_Array(items)) { | 2287 | if (!isEmpty_Array(items)) { |
2288 | pushBack_Array(items, &(iMenuItem){ "---", 0, 0, 0 }); | 2288 | pushBack_Array(items, &(iMenuItem){ "---", 0, 0, 0 }); |
2289 | } | 2289 | } |
2290 | pushBack_Array(items, &(iMenuItem){ "${dismiss}", 0, 0, "message.ok" }); | 2290 | pushBack_Array(items, &(iMenuItem){ "${close}", 0, 0, "message.ok" }); |
2291 | iWidget *dlg = makeQuestion_Widget(uiHeading_ColorEscape "${heading.pageinfo}", | 2291 | iWidget *dlg = makeQuestion_Widget(uiHeading_ColorEscape "${heading.pageinfo}", |
2292 | cstr_String(msg), | 2292 | cstr_String(msg), |
2293 | data_Array(items), | 2293 | data_Array(items), |
diff --git a/src/ui/translation.c b/src/ui/translation.c index ed7e5baa..88edc48b 100644 --- a/src/ui/translation.c +++ b/src/ui/translation.c | |||
@@ -473,7 +473,7 @@ iBool handleCommand_Translation(iTranslation *d, const char *cmd) { | |||
473 | updateTextCStr_LabelWidget( | 473 | updateTextCStr_LabelWidget( |
474 | findMenuItem_Widget(findChild_Widget(d->dlg, "dialogbuttons"), | 474 | findMenuItem_Widget(findChild_Widget(d->dlg, "dialogbuttons"), |
475 | "translation.cancel"), | 475 | "translation.cancel"), |
476 | "${dismiss}"); | 476 | "${close}"); |
477 | cancel_TlsRequest(d->request); | 477 | cancel_TlsRequest(d->request); |
478 | } | 478 | } |
479 | else { | 479 | else { |