Merge branch 'master' into subtree
[nikiroo-utils.git] / supported / SupportType.java
index ba18949e504f76f72c6a444608dad05f98063523..7ace7269397ca5f679b0ee85cff8a6e094fb4a67 100644 (file)
@@ -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 */
@@ -59,8 +59,8 @@ public enum SupportType {
                        return "info-text";
                case MANGA_LEL:
                        return "MangaLEL";
-               case MANGAFOX:
-                       return "MangaFox.me";
+               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;