diff options
Diffstat (limited to 'src/plugins/Mangadex.cpp')
-rw-r--r-- | src/plugins/Mangadex.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 2efd2f1..c100b0b 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -107,8 +107,11 @@ namespace QuickMedia { std::string title; const Json::Value &title_en_json = title_json["en"]; + const Json::Value &title_ja_json = title_json["ja"]; if(title_en_json.isString()) title = title_en_json.asString(); + else if(title_ja_json.isString()) + title = title_ja_json.asString(); else title = "No title"; // TODO: Verify if this happens. If it happens, get the title in any available language |