rename OK to Close in the import notification
to disambiguate its actual function
This commit is contained in:
parent
3ba9201663
commit
79f6e7c3b3
|
@ -203,7 +203,7 @@ function importFromString(jsonString, oldStyles) {
|
||||||
messageBox({
|
messageBox({
|
||||||
title: t('importReportTitle'),
|
title: t('importReportTitle'),
|
||||||
contents: report.length ? report : t('importReportUnchanged'),
|
contents: report.length ? report : t('importReportUnchanged'),
|
||||||
buttons: [t('confirmOK'), numChanged && t('undo')],
|
buttons: [t('confirmClose'), numChanged && t('undo')],
|
||||||
onshow: bindClick,
|
onshow: bindClick,
|
||||||
}).then(({button}) => {
|
}).then(({button}) => {
|
||||||
if (button === 1) {
|
if (button === 1) {
|
||||||
|
@ -241,7 +241,7 @@ function importFromString(jsonString, oldStyles) {
|
||||||
.then(() => messageBox({
|
.then(() => messageBox({
|
||||||
title: t('importReportUndoneTitle'),
|
title: t('importReportUndoneTitle'),
|
||||||
contents: newIds.length + ' ' + t('importReportUndone'),
|
contents: newIds.length + ' ' + t('importReportUndone'),
|
||||||
buttons: [t('confirmOK')],
|
buttons: [t('confirmClose')],
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user