mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-30 19:22:12 +00:00
Use existing translation for "Public link"
This commit is contained in:
parent
cc26cf5001
commit
86a881b358
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ class EntriesExport
|
|||
*/
|
||||
public function updateAuthor($method)
|
||||
{
|
||||
if ($method !== 'entry') {
|
||||
if ('entry' !== $method) {
|
||||
$this->author = 'Various authors';
|
||||
|
||||
return $this;
|
||||
|
@ -237,7 +237,7 @@ class EntriesExport
|
|||
|
||||
if ($entry->isPublic()) {
|
||||
$publicLink = $this->wallabagUrl . '/share/' . $entry->getUid();
|
||||
$chapter .= '<dt>Public link</dt><dd><a href="' . $publicLink . '">' . $publicLink . '</a></dd>';
|
||||
$chapter .= '<dt>' . $this->translator->trans('entry.filters.is_public_help') . '</dt><dd><a href="' . $publicLink . '">' . $publicLink . '</a></dd>';
|
||||
}
|
||||
|
||||
$chapter .= '</dl>' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue