summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 11:36:20 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:17 +0200
commitede15f0988c02cf65f9d1a763d9bb2ea0edde2e9 (patch)
tree7e2295dd8598ba894b4eaaf7d7d47ff8b4946d7e /apps/files_external
parentfd465d4e492bf19812f2c62f06766b3d70f8a270 (diff)
downloadnextcloud-server-ede15f0988c02cf65f9d1a763d9bb2ea0edde2e9.tar.gz
nextcloud-server-ede15f0988c02cf65f9d1a763d9bb2ea0edde2e9.zip
Fix L10N::t
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/config.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 7a10d4bbc24..4900de57b64 100644
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -313,11 +313,11 @@ class OC_Mount_Config {
private static function getSingleDependencyMessage(\OCP\IL10N $l, $module, $backend) {
switch (strtolower($module)) {
case 'curl':
- return (string)$l->t('The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', $backend);
+ return (string)$l->t('The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', [$backend]);
case 'ftp':
- return (string)$l->t('The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', $backend);
+ return (string)$l->t('The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', [$backend]);
default:
- return (string)$l->t('"%s" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it.', array($module, $backend));
+ return (string)$l->t('"%s" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it.', [$module, $backend]);
}
}