1
0
Fork 0
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:
Harm te Molder 2025-08-21 14:36:17 +02:00
parent cc26cf5001
commit 86a881b358
No known key found for this signature in database
GPG key ID: 74A98B5EEF1920BA

View file

@ -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>' .