X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fsupported%2FSupportType.java;h=7ace7269397ca5f679b0ee85cff8a6e094fb4a67;hb=d66deb8d8b30cff6b54db352eef34a3508939f84;hp=37c03bffbd3f8b15c2ba837583185187b09f923e;hpb=727108fef9dcc661d45fa69ebf8b76f5128a2b6f;p=nikiroo-utils.git diff --git a/src/be/nikiroo/fanfix/supported/SupportType.java b/src/be/nikiroo/fanfix/supported/SupportType.java index 37c03bf..7ace726 100644 --- a/src/be/nikiroo/fanfix/supported/SupportType.java +++ b/src/be/nikiroo/fanfix/supported/SupportType.java @@ -20,7 +20,7 @@ public enum SupportType { /** Fanfictions from a lot of different universes */ FANFICTION, /** Website with lots of Mangas */ - MANGAFOX, + MANGAHUB, /** Furry website with comics support */ E621, /** Furry website with stories */ @@ -58,9 +58,9 @@ public enum SupportType { case INFO_TEXT: return "info-text"; case MANGA_LEL: - return "MangaLel.com"; - case MANGAFOX: - return "MangaFox.me"; + return "MangaLEL"; + case MANGAHUB: + return "MangaHub.io"; case TEXT: return "text"; case YIFFSTAR: @@ -77,11 +77,10 @@ public enum SupportType { * @return the description */ public String getDesc() { - String desc = Instance.getTrans().getStringX(StringId.INPUT_DESC, - this.name()); + String desc = Instance.getInstance().getTrans().getStringX(StringId.INPUT_DESC, this.name()); if (desc == null) { - desc = Instance.getTrans().getString(StringId.INPUT_DESC, this); + desc = Instance.getInstance().getTrans().getString(StringId.INPUT_DESC, this); } return desc;