projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't truncate job statuses in the command line interface, only in the GUI.
[dcpomatic.git]
/
src
/
lib
/
job.cc
diff --git
a/src/lib/job.cc
b/src/lib/job.cc
index 68aa6230abf150574c85a1b36084775b73c087f2..547b484a37affe06e01df7ecd940510f66c902f3 100644
(file)
--- a/
src/lib/job.cc
+++ b/
src/lib/job.cc
@@
-332,11
+332,7
@@
Job::status () const
} else if (finished_ok ()) {
s << String::compose (_("OK (ran for %1)"), seconds_to_hms (_ran_for));
} else if (finished_in_error ()) {
} else if (finished_ok ()) {
s << String::compose (_("OK (ran for %1)"), seconds_to_hms (_ran_for));
} else if (finished_in_error ()) {
- string es = error_summary ();
- if (es.length() > 25) {
- es = es.substr (0, 25) + "...";
- }
- s << String::compose (_("Error (%1)"), es);
+ s << String::compose (_("Error (%1)"), error_summary ());
} else if (finished_cancelled ()) {
s << _("Cancelled");
}
} else if (finished_cancelled ()) {
s << _("Cancelled");
}