Nicer job name with no film.
authorCarl Hetherington <cth@carlh.net>
Wed, 7 Oct 2015 16:10:32 +0000 (17:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 9 Oct 2015 12:44:58 +0000 (13:44 +0100)
src/lib/send_kdm_email_job.cc

index 43c399c255510ae456cf312bc2f9b39e28777383..5b37d8c87e2626d5969b4ea7f81b42022b6494b5 100644 (file)
@@ -49,6 +49,10 @@ SendKDMEmailJob::SendKDMEmailJob (
 string
 SendKDMEmailJob::name () const
 {
+       if (_film_name.empty ()) {
+               return _("Email KDMs");
+       }
+
        return String::compose (_("Email KDMs for %1"), _film_name);
 }