From 79f6e7c3b3cf257a88337c54b9b0c72de7f12744 Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 4 Sep 2018 00:36:24 +0300 Subject: [PATCH] rename OK to Close in the import notification to disambiguate its actual function --- manage/import-export.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manage/import-export.js b/manage/import-export.js index 9ab538ce..935f5901 100644 --- a/manage/import-export.js +++ b/manage/import-export.js @@ -203,7 +203,7 @@ function importFromString(jsonString, oldStyles) { messageBox({ title: t('importReportTitle'), contents: report.length ? report : t('importReportUnchanged'), - buttons: [t('confirmOK'), numChanged && t('undo')], + buttons: [t('confirmClose'), numChanged && t('undo')], onshow: bindClick, }).then(({button}) => { if (button === 1) { @@ -241,7 +241,7 @@ function importFromString(jsonString, oldStyles) { .then(() => messageBox({ title: t('importReportUndoneTitle'), contents: newIds.length + ' ' + t('importReportUndone'), - buttons: [t('confirmOK')], + buttons: [t('confirmClose')], })); }