summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-20 10:48:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-20 13:14:24 +0200
commite95c15e53a9779cfa9c619d139cc590c64b95fc0 (patch)
tree5e1dcdd8bd32998fa313fc54e3d1339907f56604 /lib/private/legacy
parent19b531fd1412407d401f8433b05f005465ffb96c (diff)
downloadnextcloud-server-e95c15e53a9779cfa9c619d139cc590c64b95fc0.tar.gz
nextcloud-server-e95c15e53a9779cfa9c619d139cc590c64b95fc0.zip
fix more strings
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/app.php2
-rw-r--r--lib/private/legacy/util.php12
2 files changed, 5 insertions, 9 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index d4bf4f50c0e..87553cca805 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -1139,7 +1139,7 @@ class OC_App {
$version = \OCP\Util::getVersion();
if (!self::isAppCompatible($version, $info)) {
throw new \Exception(
- $l->t('App "%s" cannot be installed because it is not compatible with this version of ownCloud.',
+ $l->t('App "%s" cannot be installed because it is not compatible with this version of the server.',
array($info['name'])
)
);
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index 65d00c16388..4c9419d6eda 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -648,12 +648,8 @@ class OC_Util {
if(OC_Util::runningOnWindows()) {
$errors[] = [
'error' => $l->t('Microsoft Windows Platform is not supported'),
- 'hint' => $l->t('Running ownCloud Server on the Microsoft Windows platform is not supported. We suggest you ' .
- 'use a Linux server in a virtual machine if you have no option for migrating the server itself. ' .
- 'Find Linux packages as well as easy to deploy virtual machine images on <a href="%s">%s</a>. ' .
- 'For migrating existing installations to Linux you can find some tips and a migration script ' .
- 'in <a href="%s">our documentation</a>.',
- ['https://owncloud.org/install/', 'owncloud.org/install/', 'https://owncloud.org/?p=8045'])
+ 'hint' => $l->t('Running Nextcloud Server on the Microsoft Windows platform is not supported. We suggest you ' .
+ 'use a Linux server in a virtual machine if you have no option for migrating the server itself.')
];
}
@@ -704,7 +700,7 @@ class OC_Util {
. '%sgiving the webserver write access to the root directory%s.',
array('<a href="' . $urlGenerator->linkToDocs('admin-dir_permissions') . '" target="_blank" rel="noreferrer">', '</a>'));
$errors[] = array(
- 'error' => 'Data directory (' . $CONFIG_DATADIRECTORY . ') not writable by ownCloud',
+ 'error' => 'Data directory (' . $CONFIG_DATADIRECTORY . ') not writable',
'hint' => $permissionsHint
);
} else {
@@ -814,7 +810,7 @@ class OC_Util {
}
$errors[] = [
'error' => $l->t('PHP setting "%s" is not set to "%s".', [$setting[0], var_export($setting[1], true)]),
- 'hint' => $l->t('Adjusting this setting in php.ini will make ownCloud run again')
+ 'hint' => $l->t('Adjusting this setting in php.ini will make Nextcloud run again')
];
$webServerRestart = true;
}