diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2019-01-06 20:17:35 +0100 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2019-01-07 21:44:14 +0100 |
commit | f8108346236e18768c08d6c0d4dc5fb4dfe13b78 (patch) | |
tree | 01bcdba72843de45788e0ace43ddf1133ec6412d /src/Wallabag/CoreBundle/Helper/EntriesExport.php | |
parent | 30cf72bf55cdb2130e9096b1f7bcfa2f2ea1df1c (diff) | |
download | wallabag-f8108346236e18768c08d6c0d4dc5fb4dfe13b78.tar.gz wallabag-f8108346236e18768c08d6c0d4dc5fb4dfe13b78.tar.zst wallabag-f8108346236e18768c08d6c0d4dc5fb4dfe13b78.zip |
EntriesExport: change authors and title when not single entry export
Change '{method} authors' (which gives 'Tag_entries authors' when
exporting a tag) to 'Various authors'.
When exporting a tag (tag_entries), change the title from 'Tag_entries
articles' to 'Tag {tag} articles'.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/EntriesExport.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/EntriesExport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/EntriesExport.php b/src/Wallabag/CoreBundle/Helper/EntriesExport.php index 92f1779c..db5340fc 100644 --- a/src/Wallabag/CoreBundle/Helper/EntriesExport.php +++ b/src/Wallabag/CoreBundle/Helper/EntriesExport.php | |||
@@ -85,7 +85,7 @@ class EntriesExport | |||
85 | public function updateAuthor($method) | 85 | public function updateAuthor($method) |
86 | { | 86 | { |
87 | if ('entry' !== $method) { | 87 | if ('entry' !== $method) { |
88 | $this->author = $method . ' authors'; | 88 | $this->author = 'Various authors'; |
89 | 89 | ||
90 | return $this; | 90 | return $this; |
91 | } | 91 | } |