aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Controller/ShareController.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-03-05 10:04:09 +0100
committerJulius Härtl <jus@bitgrid.net>2021-06-16 11:42:53 +0200
commitc0474ba3644fc94674788bf21dd3e22d564e019c (patch)
treee4709fae17df27be50696c314ec75cb469b99e26 /apps/files_sharing/lib/Controller/ShareController.php
parent4673b54a2cfcdf7976fcd295b98d72858619ffad (diff)
downloadnextcloud-server-c0474ba3644fc94674788bf21dd3e22d564e019c.tar.gz
nextcloud-server-c0474ba3644fc94674788bf21dd3e22d564e019c.zip
Use product name in places where it is appropriate rather than the instance name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/lib/Controller/ShareController.php')
-rw-r--r--apps/files_sharing/lib/Controller/ShareController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareController.php b/apps/files_sharing/lib/Controller/ShareController.php
index 4893a693df3..fbee6bf4b77 100644
--- a/apps/files_sharing/lib/Controller/ShareController.php
+++ b/apps/files_sharing/lib/Controller/ShareController.php
@@ -511,7 +511,8 @@ class ShareController extends AuthPublicShareController {
$download = new SimpleMenuAction('download', $this->l10n->t('Download'), 'icon-download', $shareTmpl['downloadURL'], 10, $shareTmpl['fileSize']);
$downloadAll = new SimpleMenuAction('download', $this->l10n->t('Download all files'), 'icon-download', $shareTmpl['downloadURL'], 10, $shareTmpl['fileSize']);
$directLink = new LinkMenuAction($this->l10n->t('Direct link'), 'icon-public', $shareTmpl['previewURL']);
- $externalShare = new ExternalShareMenuAction($this->l10n->t('Add to your Nextcloud'), 'icon-external', $shareTmpl['owner'], $shareTmpl['shareOwner'], $shareTmpl['filename']);
+ // TRANSLATORS The placeholder refers to the software product name as in 'Add to your Nextcloud'
+ $externalShare = new ExternalShareMenuAction($this->l10n->t('Add to your %s', [$this->defaults->getProductName()]), 'icon-external', $shareTmpl['owner'], $shareTmpl['shareOwner'], $shareTmpl['filename']);
$responseComposer = [];