diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php
index 56d351eb10b..f4f2abe0f91 100644
--- a/apps/user_ldap/templates/part.wizard-server.php
+++ b/apps/user_ldap/templates/part.wizard-server.php
@@ -25,7 +25,7 @@
+ title="t('Add a new configuration'));?>">
encryptionModules[$moduleId])) {
return call_user_func($this->encryptionModules[$moduleId]['callback']);
} else {
- $message = "Module with id: $moduleId does not exist.";
- $hint = $this->l->t('Module with id: %s does not exist. Please enable it in your apps settings or contact your administrator.', [$moduleId]);
+ $message = "Module with ID: $moduleId does not exist.";
+ $hint = $this->l->t('Module with ID: %s does not exist. Please enable it in your apps settings or contact your administrator.', [$moduleId]);
throw new Exceptions\ModuleDoesNotExistsException($message, $hint);
}
} else {
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php
index c0949b91c42..7384069f430 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -456,11 +456,11 @@ EOF;
/**
* Adds a logo and a text to the footer. in the text will be replaced by new lines in the plain text email
*
- * @param string $text If the text is empty the default "Name - Slogan This is an automatically generated email" will be used
+ * @param string $text If the text is empty the default "Name - Slogan This is an automatically sent email" will be used
*/
public function addFooter($text = '') {
if($text === '') {
- $text = $this->themingDefaults->getName() . ' - ' . $this->themingDefaults->getSlogan() . ' ' . $this->l10n->t('This is an automatically generated email, please do not reply.');
+ $text = $this->themingDefaults->getName() . ' - ' . $this->themingDefaults->getSlogan() . ' ' . $this->l10n->t('This is an automatically sent email, please do not reply.');
}
if ($this->footerAdded) {
diff --git a/lib/private/Setup/OCI.php b/lib/private/Setup/OCI.php
index d3fe3018f49..1bc6b08117f 100644
--- a/lib/private/Setup/OCI.php
+++ b/lib/private/Setup/OCI.php
@@ -154,7 +154,7 @@ class OCI extends AbstractDatabase {
$connection = @oci_connect($this->dbUser, $this->dbPassword, $easy_connect_string);
if(!$connection) {
throw new \OC\DatabaseSetupException($this->trans->t('Oracle username and/or password not valid'),
- $this->trans->t('You need to enter either an existing account or the administrator.'));
+ $this->trans->t('You need to enter details of an existing account.'));
}
$query = "SELECT count(*) FROM user_tables WHERE table_name = :un";
$stmt = oci_parse($connection, $query);
diff --git a/lib/private/Setup/PostgreSQL.php b/lib/private/Setup/PostgreSQL.php
index be3ac007493..18ed9fcdef6 100644
--- a/lib/private/Setup/PostgreSQL.php
+++ b/lib/private/Setup/PostgreSQL.php
@@ -98,7 +98,7 @@ class PostgreSQL extends AbstractDatabase {
} catch (\Exception $e) {
$this->logger->logException($e);
throw new \OC\DatabaseSetupException($this->trans->t('PostgreSQL username and/or password not valid'),
- $this->trans->t('You need to enter either an existing account or the administrator.'));
+ $this->trans->t('You need to enter details of an existing account.'));
}
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index 5e01b6e2b87..9516a67af48 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -955,7 +955,7 @@ class OC_Util {
}
if (!file_exists($dataDirectory . '/.ocdata')) {
$errors[] = [
- 'error' => $l->t('Your data directory is invalid'),
+ 'error' => $l->t('Your data directory is invalid'),
'hint' => $l->t('Please check that the data directory contains a file' .
' ".ocdata" in its root.')
];
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php
index 41daacdb49f..ab7713e8e2c 100644
--- a/lib/public/Mail/IEMailTemplate.php
+++ b/lib/public/Mail/IEMailTemplate.php
@@ -109,7 +109,7 @@ interface IEMailTemplate {
/**
* Adds a logo and a text to the footer. in the text will be replaced by new lines in the plain text email
*
- * @param string $text If the text is empty the default "Name - Slogan This is an automatically generated email" will be used
+ * @param string $text If the text is empty the default "Name - Slogan This is an automatically sent email" will be used
*
* @since 12.0.0
*/
diff --git a/settings/Activity/Provider.php b/settings/Activity/Provider.php
index f7ea425f628..7893b450a44 100644
--- a/settings/Activity/Provider.php
+++ b/settings/Activity/Provider.php
@@ -89,11 +89,11 @@ class Provider implements IProvider {
$subject = $this->l->t('Your password was reset by an administrator');
} else if ($event->getSubject() === self::EMAIL_CHANGED_BY) {
- $subject = $this->l->t('{actor} changed your email');
+ $subject = $this->l->t('{actor} changed your email address');
} else if ($event->getSubject() === self::EMAIL_CHANGED_SELF) {
- $subject = $this->l->t('You changed your email');
+ $subject = $this->l->t('You changed your email address');
} else if ($event->getSubject() === self::EMAIL_CHANGED) {
- $subject = $this->l->t('Your email was changed by an administrator');
+ $subject = $this->l->t('Your email address was changed by an administrator');
} else {
throw new \InvalidArgumentException();
diff --git a/settings/Controller/ChangePasswordController.php b/settings/Controller/ChangePasswordController.php
index b82751bcac2..4faed3a8fa6 100644
--- a/settings/Controller/ChangePasswordController.php
+++ b/settings/Controller/ChangePasswordController.php
@@ -243,7 +243,7 @@ class ChangePasswordController extends Controller {
return new JSONResponse([
'status' => 'error',
'data' => [
- 'message' => $this->l->t('Backend doesn\'t support password change, but the user\'s encryption key was successfully updated.'),
+ 'message' => $this->l->t('Backend doesn\'t support password change, but the user\'s encryption key was updated.'),
]
]);
} elseif (!$result && !$recoveryEnabledForUser) {
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 215b3c2c92e..9a3ff09337d 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -435,7 +435,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
}
OC.Settings.Apps.hideErrorMessage(appId);
- element.val(t('settings','Uninstalling ....'));
+ element.val(t('settings','Uninstalling …'));
$.post(OC.filePath('settings','ajax','uninstallapp.php'),{appid:appId},function(result) {
if(!result || result.status !== 'success') {
OC.Settings.Apps.showErrorMessage(appId, t('settings','Error while uninstalling app'));
diff --git a/settings/templates/admin/server.php b/settings/templates/admin/server.php
index d87fa81729f..d0fc6378e9a 100644
--- a/settings/templates/admin/server.php
+++ b/settings/templates/admin/server.php
@@ -81,7 +81,7 @@
if (!$_['has_fileinfo']) {
?>
- t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with mime-type detection.')); ?>
+ t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with MIME type detection.')); ?>
-
TestCloud - This is an automatically generated email, please do not reply.
+
TestCloud - This is an automatically sent email, please do not reply.
@@ -350,7 +350,7 @@ Install Client: https://nextcloud.com/install/#install-clients
--
TestCloud -
-This is an automatically generated email, please do not reply.
+This is an automatically sent email, please do not reply.
EOF;
$result = $this->newUserMailHelper->generateTemplate($user, true);
@@ -557,7 +557,7 @@ EOF;
-
TestCloud - This is an automatically generated email, please do not reply.
+
TestCloud - This is an automatically sent email, please do not reply.
@@ -583,7 +583,7 @@ Install Client: https://nextcloud.com/install/#install-clients
--
TestCloud -
-This is an automatically generated email, please do not reply.
+This is an automatically sent email, please do not reply.
EOF;
$result = $this->newUserMailHelper->generateTemplate($user, false);
diff --git a/tests/data/emails/new-account-email.html b/tests/data/emails/new-account-email.html
index 2e3866163d7..32568e11b66 100644
--- a/tests/data/emails/new-account-email.html
+++ b/tests/data/emails/new-account-email.html
@@ -173,7 +173,7 @@
-
TestCloud - A safe home for your data This is an automatically generated email, please do not reply.
+
TestCloud - A safe home for your data This is an automatically sent email, please do not reply.
diff --git a/tests/data/emails/new-account-email.txt b/tests/data/emails/new-account-email.txt
index e01268b5620..42d41406ba8 100644
--- a/tests/data/emails/new-account-email.txt
+++ b/tests/data/emails/new-account-email.txt
@@ -10,4 +10,4 @@ Install Client: https://nextcloud.com/install/#install-clients
--
TestCloud - A safe home for your data
-This is an automatically generated email, please do not reply.
\ No newline at end of file
+This is an automatically sent email, please do not reply.
\ No newline at end of file
diff --git a/tests/lib/Encryption/ManagerTest.php b/tests/lib/Encryption/ManagerTest.php
index ad7f47e0a3e..ac26d4cb528 100644
--- a/tests/lib/Encryption/ManagerTest.php
+++ b/tests/lib/Encryption/ManagerTest.php
@@ -100,7 +100,7 @@ class ManagerTest extends TestCase {
/**
* @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
- * @expectedExceptionMessage Module with id: unknown does not exist.
+ * @expectedExceptionMessage Module with ID: unknown does not exist.
*/
public function testGetEncryptionModuleUnknown() {
$this->config->expects($this->any())->method('getAppValue')->willReturn(true);
@@ -214,7 +214,7 @@ class ManagerTest extends TestCase {
//
// /**
// * @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
-// * @expectedExceptionMessage Module with id: unknown does not exist.
+// * @expectedExceptionMessage Module with ID: unknown does not exist.
// */
// public function testGetEncryptionModuleUnknown() {
// $config = $this->getMock('\OCP\IConfig');
diff --git a/tests/lib/Mail/EMailTemplateTest.php b/tests/lib/Mail/EMailTemplateTest.php
index 2ba68dbbabb..450c007149c 100644
--- a/tests/lib/Mail/EMailTemplateTest.php
+++ b/tests/lib/Mail/EMailTemplateTest.php
@@ -81,7 +81,7 @@ class EMailTemplateTest extends TestCase {
'Install Client', 'https://nextcloud.com/install/#install-clients'
);
$this->emailTemplate->addFooter(
- 'TestCloud - A safe home for your data This is an automatically generated email, please do not reply.'
+ 'TestCloud - A safe home for your data This is an automatically sent email, please do not reply.'
);
$expectedHTML = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email.html');
--
cgit v1.2.3