mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
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>
This commit is contained in:
parent
30cf72bf55
commit
f810834623
2 changed files with 5 additions and 2 deletions
|
@ -85,7 +85,7 @@ class EntriesExport
|
|||
public function updateAuthor($method)
|
||||
{
|
||||
if ('entry' !== $method) {
|
||||
$this->author = $method . ' authors';
|
||||
$this->author = 'Various authors';
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue