pot/merge.
[dcpomatic.git] / src / wx / kdm_dialog.cc
index 223a183b3deed2b4c29cd5c0dde534dcc2ec9213..5679cf0cb14c2822338d4a78d62e03574b8e9984 100644 (file)
@@ -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())
+                       );
+       }
 }