diff options
-rw-r--r-- | apps/files_sharing/settings-personal.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/settings-personal.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/settings-personal.php b/apps/files_sharing/settings-personal.php index b9ae791e8c7..1aff784b488 100644 --- a/apps/files_sharing/settings-personal.php +++ b/apps/files_sharing/settings-personal.php @@ -24,7 +24,7 @@ $uid = \OC::$server->getUserSession()->getUser()->getUID(); $server = \OC::$server->getURLGenerator()->getAbsoluteURL('/'); -$cloudID = $uid . '@' . \OCA\Files_Sharing\Helper::removeProtocolFromUrl($server); +$cloudID = $uid . '@' . rtrim(\OCA\Files_Sharing\Helper::removeProtocolFromUrl($server), '/'); $tmpl = new OCP\Template('files_sharing', 'settings-personal'); $tmpl->assign('cloudId', $cloudID); diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php index a045b5de099..84d8e8a1b13 100644 --- a/apps/files_sharing/templates/settings-personal.php +++ b/apps/files_sharing/templates/settings-personal.php @@ -6,7 +6,7 @@ <h2><?php p($l->t('Federated Cloud'));?></h2> <p> - Your Federated Cloud Id: <?php p($_['cloudId']); ?> + <?php p($l->t('Your Federated Cloud ID: %s', [$_['cloudId']])); ?> </p> </div> |