Tweak wording of DCP referencing tips.
[dcpomatic.git] / src / wx / content_sub_panel.cc
index dc6c1d2b8666ba94b1f6da86f0824f5e2a65ba2c..93296d5b97999c67b8e4e49bfb99feb06fb3b19c 100644 (file)
@@ -48,7 +48,11 @@ ContentSubPanel::setup_refer_button (wxCheckBox* button, wxStaticText* note, sha
 
        wxString s;
        if (dcp && !can_reference) {
-               s = _("Cannot reference this DCP.  ") + std_to_wx(why_not);
+               if (why_not.empty()) {
+                       s = _("Cannot reference this DCP.");
+               } else {
+                       s = _("Cannot reference this DCP: ") + std_to_wx(why_not);
+               }
        }
 
        note->SetLabel (s);