Bugfix: do not display a enum raw value but a human explanation

This commit is contained in:
Laurent Clouet
2015-02-04 22:26:37 +00:00
parent 2c20507b09
commit 1812ec6326

View File

@@ -124,6 +124,8 @@ public class Error {
return "This client is too old, you need to update it"; return "This client is too old, you need to update it";
case AUTHENTICATION_FAILED: case AUTHENTICATION_FAILED:
return "Failed to authenticate, please check your login and password"; return "Failed to authenticate, please check your login and password";
case DOWNLOAD_FILE:
return "Error will downloading project's needed files. Will try another project in a few minutes.";
case NOOUTPUTFILE: case NOOUTPUTFILE:
return "Renderer has generated no output file, possibly a wrong project configuration or you are missing required libraries. Will try another project in a few minutes."; return "Renderer has generated no output file, possibly a wrong project configuration or you are missing required libraries. Will try another project in a few minutes.";
case RENDERER_CRASHED: case RENDERER_CRASHED: