git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:nikiroo/fanfix
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
output
/
BasicOutput.java
diff --git
a/src/be/nikiroo/fanfix/output/BasicOutput.java
b/src/be/nikiroo/fanfix/output/BasicOutput.java
index a1aedca663c8586eb48a8d79f1afb67efb907ae5..f3e314171321d17e63cb98b12574181fc058fd1a 100644
(file)
--- a/
src/be/nikiroo/fanfix/output/BasicOutput.java
+++ b/
src/be/nikiroo/fanfix/output/BasicOutput.java
@@
-65,10
+65,10
@@
public abstract class BasicOutput {
String desc = Instance.getTrans().getStringX(id, this.name());
if (desc == null) {
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();
}
desc = this.toString();
}
@@
-336,10
+336,10
@@
public abstract class BasicOutput {
story.getMeta().setType("" + getType());
}
story.getMeta().setType("" + getType());
}
- if (
writeCover
) {
+ if (
isWriteCover()
) {
InfoCover.writeCover(targetDir, targetName, story.getMeta());
}
InfoCover.writeCover(targetDir, targetName, story.getMeta());
}
- if (
writeInfo
) {
+ if (
isWriteInfo()
) {
InfoCover.writeInfo(targetDir, targetName, story.getMeta());
}
InfoCover.writeInfo(targetDir, targetName, story.getMeta());
}