diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-06-02 15:16:21 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-06-02 15:16:21 +0200 |
commit | 70f0cf67a53de5e301e4e773f552b2296dfabaac (patch) | |
tree | 15097281db60bc73a51fd18c81aa356fcef3737a | |
parent | 6e5ed810644efd92eec394be5e1f6f202efe74e0 (diff) | |
download | nextcloud-server-70f0cf67a53de5e301e4e773f552b2296dfabaac.tar.gz nextcloud-server-70f0cf67a53de5e301e4e773f552b2296dfabaac.zip |
L10n for federated cloud ID and rtrim '/' on ID
-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> |