aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/MangaCombined.cpp4
-rw-r--r--src/plugins/MangaGeneric.cpp5
-rw-r--r--src/plugins/Manganelo.cpp2
3 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/MangaCombined.cpp b/src/plugins/MangaCombined.cpp
index 5b80872..e6b8028 100644
--- a/src/plugins/MangaCombined.cpp
+++ b/src/plugins/MangaCombined.cpp
@@ -40,7 +40,7 @@ namespace QuickMedia {
continue;
auto title_item = BodyItem::create("");
- title_item->set_author("======================== " + search_thread.first->title + " ========================");
+ title_item->set_author("------------------------ " + search_thread.first->title + " ------------------------");
result_items.push_back(std::move(title_item));
for(auto &new_body_item : search_page_body_items) {
@@ -65,7 +65,7 @@ namespace QuickMedia {
for(auto &f : plugin_finished_state) {
if(!f.second) {
auto title_item = BodyItem::create("");
- title_item->set_author("======================== " + f.first->title + " timed out ========================");
+ title_item->set_author("------------------------ " + f.first->title + " timed out ------------------------");
result_items.push_back(std::move(title_item));
}
}
diff --git a/src/plugins/MangaGeneric.cpp b/src/plugins/MangaGeneric.cpp
index 8a17040..24472e5 100644
--- a/src/plugins/MangaGeneric.cpp
+++ b/src/plugins/MangaGeneric.cpp
@@ -87,8 +87,9 @@ namespace QuickMedia {
if(merge_userdata->type == MergeType::THUMBNAIL) {
(*body_item_image_context.body_items)[body_item_image_context.index]->thumbnail_url = strip(field_value);
} else if(merge_userdata->type == MergeType::DESCRIPTION) {
- std::string uploaded_date = strip(field_value);
- (*body_item_image_context.body_items)[body_item_image_context.index]->set_description(merge_userdata->desc_prefix ? merge_userdata->desc_prefix : "" + uploaded_date);
+ std::string field_stripped = strip(field_value);
+ const char *prefix = merge_userdata->desc_prefix ? merge_userdata->desc_prefix : "";
+ (*body_item_image_context.body_items)[body_item_image_context.index]->set_description(prefix + field_stripped);
(*body_item_image_context.body_items)[body_item_image_context.index]->set_description_color(sf::Color(179, 179, 179));
}
body_item_image_context.index++;
diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp
index 6d0447a..f8f604d 100644
--- a/src/plugins/Manganelo.cpp
+++ b/src/plugins/Manganelo.cpp
@@ -125,7 +125,7 @@ namespace QuickMedia {
auto item = BodyItem::create(strip(name_str));
item->url = "https://manganelo.com/manga/" + url_param_encode(nameunsigned.asString());
if(lastchapter.isString() && lastchapter.asCString()[0] != '\0') {
- item->set_description("Last chapter: " + lastchapter.asString());
+ item->set_description("Latest chapter: " + lastchapter.asString());
item->set_description_color(sf::Color(179, 179, 179));
}
Json::Value image = child.get("image", "");