summaryrefslogtreecommitdiff
path: root/src/wx/kdm_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-03-03 19:55:41 +0000
committerCarl Hetherington <cth@carlh.net>2017-03-03 19:55:41 +0000
commite4d7f575fab50b6d255821d6d6a8171c8e1f13f6 (patch)
tree49f603a388e8a8ca3107e6106e13dcdb3fbdbc93 /src/wx/kdm_dialog.cc
parentccc8409dceedcf71872b2846b9b4a4dea9042bda (diff)
Add options to write KDMs to separate directories / ZIP files.
Diffstat (limited to 'src/wx/kdm_dialog.cc')
-rw-r--r--src/wx/kdm_dialog.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc
index 223a183b3..5679cf0cb 100644
--- a/src/wx/kdm_dialog.cc
+++ b/src/wx/kdm_dialog.cc
@@ -147,4 +147,13 @@ KDMDialog::make_clicked ()
if (result.first) {
JobManager::instance()->add (result.first);
}
+
+ if (result.second > 0) {
+ /* XXX: proper plural form support in wxWidgets? */
+ wxString s = result.second == 1 ? _("%d KDM written to %s") : _("%d KDMs written to %s");
+ message_dialog (
+ this,
+ wxString::Format (s, result.second, std_to_wx(_output->directory().string()).data())
+ );
+ }
}