i18n: fix files
[fanfix.git] / src / be / nikiroo / fanfix / output / BasicOutput.java
index dc6fe51de2cb1d6e66c4bbe06af2e1850bf99847..f3e314171321d17e63cb98b12574181fc058fd1a 100644 (file)
@@ -65,10 +65,10 @@ public abstract class BasicOutput {
                        String desc = Instance.getTrans().getStringX(id, this.name());
 
                        if (desc == null) {
-                               desc = Instance.getTrans().getString(id, this);
+                               desc = Instance.getTrans().getString(id, this.toString());
                        }
 
-                       if (desc == null) {
+                       if (desc == null || desc.isEmpty()) {
                                desc = this.toString();
                        }