]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix translations 4369/head
authorJoas Schilling <coding@schilljs.com>
Tue, 18 Apr 2017 07:53:02 +0000 (09:53 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 18 Apr 2017 21:40:53 +0000 (16:40 -0500)
Signed-off-by: Joas Schilling <coding@schilljs.com>
31 files changed:
apps/files_external/lib/Controller/GlobalStoragesController.php
apps/files_external/lib/Controller/StoragesController.php
apps/files_external/lib/Controller/UserGlobalStoragesController.php
apps/files_external/lib/Controller/UserStoragesController.php
apps/files_external/lib/Service/StoragesService.php
apps/updatenotification/lib/Notification/Notifier.php
apps/user_ldap/js/wizard/wizardTabLoginFilter.js
apps/user_ldap/templates/part.wizard-groupfilter.php
apps/user_ldap/templates/part.wizard-loginfilter.php
apps/user_ldap/templates/part.wizard-server.php
apps/workflowengine/js/admin.js
apps/workflowengine/js/filemimetypeplugin.js
core/js/oc-dialogs.js
core/js/setupchecks.js
core/js/sharedialoglinkshareview.js
core/js/tests/specs/setupchecksSpec.js
lib/private/Encryption/Manager.php
lib/private/Mail/EMailTemplate.php
lib/private/Setup/OCI.php
lib/private/Setup/PostgreSQL.php
lib/private/legacy/util.php
lib/public/Mail/IEMailTemplate.php
settings/Activity/Provider.php
settings/Controller/ChangePasswordController.php
settings/js/apps.js
settings/templates/admin/server.php
tests/Settings/Mailer/NewUserMailHelperTest.php
tests/data/emails/new-account-email.html
tests/data/emails/new-account-email.txt
tests/lib/Encryption/ManagerTest.php
tests/lib/Mail/EMailTemplateTest.php

index c6a19004e8e3ea4825cdbe34d1b4f57ec292aaae..69056225f8aa4d971f7072de686dac12738c4a2f 100644 (file)
@@ -170,7 +170,7 @@ class GlobalStoragesController extends StoragesController {
                } catch (NotFoundException $e) {
                        return new DataResponse(
                                [
-                                       'message' => (string)$this->l10n->t('Storage with id "%i" not found', array($id))
+                                       'message' => (string)$this->l10n->t('Storage with ID "%d" not found', array($id))
                                ],
                                Http::STATUS_NOT_FOUND
                        );
index d962848bd7888b35b3cd0fb3a664aa1f637baaf2..dd2bf69a0a6352badb424b003dbf0b4846662490 100644 (file)
@@ -306,7 +306,7 @@ abstract class StoragesController extends Controller {
                } catch (NotFoundException $e) {
                        return new DataResponse(
                                [
-                                       'message' => (string)$this->l10n->t('Storage with id "%i" not found', array($id))
+                                       'message' => (string)$this->l10n->t('Storage with ID "%d" not found', array($id))
                                ],
                                Http::STATUS_NOT_FOUND
                        );
@@ -331,7 +331,7 @@ abstract class StoragesController extends Controller {
                } catch (NotFoundException $e) {
                        return new DataResponse(
                                [
-                                       'message' => (string)$this->l10n->t('Storage with id "%i" not found', array($id))
+                                       'message' => (string)$this->l10n->t('Storage with ID "%d" not found', array($id))
                                ],
                                Http::STATUS_NOT_FOUND
                        );
index 4acbc1562617f7e82fa227b0e99cedccd3d12ca2..22c9c867855c836a7233f6f251dd011326ab5996 100644 (file)
@@ -122,7 +122,7 @@ class UserGlobalStoragesController extends StoragesController {
                } catch (NotFoundException $e) {
                        return new DataResponse(
                                [
-                                       'message' => (string)$this->l10n->t('Storage with id "%i" not found', array($id))
+                                       'message' => (string)$this->l10n->t('Storage with ID "%d" not found', array($id))
                                ],
                                Http::STATUS_NOT_FOUND
                        );
@@ -162,7 +162,7 @@ class UserGlobalStoragesController extends StoragesController {
                        } else {
                                return new DataResponse(
                                        [
-                                               'message' => (string)$this->l10n->t('Storage with id "%i" is not user editable', array($id))
+                                               'message' => (string)$this->l10n->t('Storage with ID "%d" is not user editable', array($id))
                                        ],
                                        Http::STATUS_FORBIDDEN
                                );
@@ -170,7 +170,7 @@ class UserGlobalStoragesController extends StoragesController {
                } catch (NotFoundException $e) {
                        return new DataResponse(
                                [
-                                       'message' => (string)$this->l10n->t('Storage with id "%i" not found', array($id))
+                                       'message' => (string)$this->l10n->t('Storage with ID "%d" not found', array($id))
                                ],
                                Http::STATUS_NOT_FOUND
                        );
index db07834631313d79a64c845befbf4db8e9591f64..724bdd01463c29b008e1538c986b9e69aa66af41 100644 (file)
@@ -198,7 +198,7 @@ class UserStoragesController extends StoragesController {
                } catch (NotFoundException $e) {
                        return new DataResponse(
                                [
-                                       'message' => (string)$this->l10n->t('Storage with id "%i" not found', array($id))
+                                       'message' => (string)$this->l10n->t('Storage with ID "%d" not found', array($id))
                                ],
                                Http::STATUS_NOT_FOUND
                        );
index 43839a17d760c45a179f73a9e3e8a42cf8d71db4..4e38ea962591fd363635f2c0c487749e0e683a5f 100644 (file)
@@ -147,14 +147,14 @@ abstract class StoragesService {
                $mount = $this->dbConfig->getMountById($id);
 
                if (!is_array($mount)) {
-                       throw new NotFoundException('Storage with id "' . $id . '" not found');
+                       throw new NotFoundException('Storage with ID "' . $id . '" not found');
                }
 
                $config = $this->getStorageConfigFromDBMount($mount);
                if ($this->isApplicable($config)) {
                        return $config;
                } else {
-                       throw new NotFoundException('Storage with id "' . $id . '" not found');
+                       throw new NotFoundException('Storage with ID "' . $id . '" not found');
                }
        }
 
@@ -377,7 +377,7 @@ abstract class StoragesService {
                $existingMount = $this->dbConfig->getMountById($id);
 
                if (!is_array($existingMount)) {
-                       throw new NotFoundException('Storage with id "' . $id . '" not found while updating storage');
+                       throw new NotFoundException('Storage with ID "' . $id . '" not found while updating storage');
                }
 
                $oldStorage = $this->getStorageConfigFromDBMount($existingMount);
@@ -456,7 +456,7 @@ abstract class StoragesService {
                $existingMount = $this->dbConfig->getMountById($id);
 
                if (!is_array($existingMount)) {
-                       throw new NotFoundException('Storage with id "' . $id . '" not found');
+                       throw new NotFoundException('Storage with ID "' . $id . '" not found');
                }
 
                $this->dbConfig->removeMount($id);
index bef57b0d8676a1191d1d51fb470777da48c23a6e..e512825da046c3233262a7fcede5c605294af409 100644 (file)
@@ -98,7 +98,7 @@ class Notifier implements INotifier {
                        }
 
                        $notification->setParsedSubject($l->t('The update server could not be reached since %d days to check for new updates.', [$errors]))
-                               ->setParsedMessage($l->t('Please check the nextcloud and server log files for errors.'));
+                               ->setParsedMessage($l->t('Please check the Nextcloud and server log files for errors.'));
                } elseif ($notification->getObjectType() === 'core') {
                        $this->updateAlreadyInstalledCheck($notification, $this->getCoreVersions());
 
index d08a744f9ee7dc5704837de9e773595ef1537f1c..a2537539ede5b0d81f1703b1b93991f3f136f9be 100644 (file)
@@ -160,7 +160,7 @@ OCA = OCA || {};
                                } else if(message === 'connection error') {
                                        message = t('user_ldap', 'A connection error to LDAP / AD occurred, please check host, port and credentials.');
                                } else if(message === 'missing placeholder') {
-                                       message = t('user_ldap', 'The %uid placeholder is missing. It will be replaced with the login name when querying LDAP / AD.');
+                                       message = t('user_ldap', 'The "%uid" placeholder is missing. It will be replaced with the login name when querying LDAP / AD.');
                                }
                        }
                        OC.Notification.showTemporary(message, {isHTML: isHtml});
index 5c406450f6fc8b9d6cbf068c297bf25a83a4190c..640b0bccb8a06df0830663a57a6e26d0af42218a 100644 (file)
@@ -53,7 +53,7 @@
                </p>
                <p class="ldap_count">
                        <button class="ldapGetEntryCount ldapGetGroupCount" name="ldapGetEntryCount" type="button">
-                               <?php p($l->t('Verify settings and count groups'));?>
+                               <?php p($l->t('Verify settings and count the groups'));?>
                        </button>
                        <span id="ldap_group_count"></span>
                </p>
index a13931d932794ab5f4b05e79ff8805d79f3f6197..779b3fdb9a13acccddcf664f36a61fcce6465324 100644 (file)
@@ -9,7 +9,7 @@
                        </label>
 
                        <input type="checkbox" id="ldap_loginfilter_username"
-                                  title="<?php p($l->t('Allows login against the LDAP / AD username, which is either uid or samaccountname and will be detected.'));?>"
+                                  title="<?php p($l->t('Allows login against the LDAP / AD username, which is either uid or sAMAccountName and will be detected.'));?>"
                                   name="ldap_loginfilter_username" value="1" />
                </p>
                <p>
index 56d351eb10bba7d55a349d252e826a3531cd40a9..f4f2abe0f91d20799350d0a036358cf4c67600a7 100644 (file)
@@ -25,7 +25,7 @@
                </select>
                <button type="button" id="ldap_action_add_configuration"
                        name="ldap_action_add_configuration" class="icon-add icon-default-style"
-                       title="<?php p($l->t('Add a new and blank configuration'));?>">&nbsp;</button>
+                       title="<?php p($l->t('Add a new configuration'));?>">&nbsp;</button>
                <button type="button" id="ldap_action_copy_configuration"
                        name="ldap_action_copy_configuration"
                        class="ldapIconCopy icon-default-style"
@@ -42,7 +42,7 @@
                                                <input type="text" class="host" id="ldap_host"
                                                        name="ldap_host"
                                                        placeholder="<?php p($l->t('Host'));?>"
-                                                       title="<?php p($l->t('You can omit the protocol, except you require SSL. Then start with ldaps://'));?>"
+                                                       title="<?php p($l->t('You can omit the protocol, unless you require SSL. If so, start with ldaps://'));?>"
                                                        />
                                                <span class="hostPortCombinatorSpan">
                                                        <input type="number" id="ldap_port" name="ldap_port"
index 7f9a709ec143d4c1682629355e7aa88e4c2f2d73..ab122a8cd650b30a5235d93f974878cdeae8d455 100644 (file)
                                        this.saving = false;
                                        this.originalModel = JSON.parse(JSON.stringify(this.model));
 
-                                       this.message = t('workflowengine', 'Successfully saved');
+                                       this.message = t('workflowengine', 'Saved');
                                        this.errorMessage = '';
                                        this.render();
                                };
index fd3f6a9ae63f5c7c87341c6bd9e77293bed41a19..17c092d209fe59cdc3196ab1b5ef140760cc66ec 100644 (file)
@@ -27,7 +27,7 @@
                getCheck: function() {
                        return {
                                'class': 'OCA\\WorkflowEngine\\Check\\FileMimeType',
-                               'name': t('workflowengine', 'File mime type'),
+                               'name': t('workflowengine', 'File MIME type'),
                                'operators': [
                                        {'operator': 'is', 'name': t('workflowengine', 'is')},
                                        {'operator': '!is', 'name': t('workflowengine', 'is not')},
index 7e059b4bbc0efa3c8d49d00b09d2110b47e0c676..92f256699af0a21428452c24afbe16017b0e5db2 100644 (file)
@@ -326,7 +326,7 @@ var OCdialogs = {
                                        }
                                };
                                buttonlist[0] = {
-                                       text: t('core', 'Ok'),
+                                       text: t('core', 'OK'),
                                        click: functionToCall,
                                        defaultButton: true
                                };
index 53b2e46f90a8c5bd5ffdf3410eee7294d9323dcb..499709c0696913679877815fb938edca57da0c69 100644 (file)
                                // .ocdata is an empty file in the data directory - if this is readable then the data dir is not protected
                                if (xhr.status === 200 && xhr.responseText === '') {
                                        messages.push({
-                                               msg: t('core', 'Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.'),
+                                               msg: t('core', 'Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. It is strongly recommended that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.'),
                                                type: OC.SetupChecks.MESSAGE_TYPE_ERROR
                                        });
                                }
index 36f15a7269d145c5c65ed8c20f837b8737d14f62..75e56a23f5844d2abe2a54c6ce93a4dec334cff4 100644 (file)
@@ -17,7 +17,7 @@
 
        var PASSWORD_PLACEHOLDER = '**********';
        var PASSWORD_PLACEHOLDER_MESSAGE = t('core', 'Choose a password for the public link');
-       var PASSWORD_PLACEHOLDER_MESSAGE_OPTIONAL = t('core', 'Choose a password for the public link or press enter');
+       var PASSWORD_PLACEHOLDER_MESSAGE_OPTIONAL = t('core', 'Choose a password for the public link or press "Enter ↵"');
 
        var TEMPLATE =
                        '{{#if shareAllowed}}' +
index 937084aaa24ef755afba6ee3047e08f70fc0d5ab..30a60d3599b0c8e194017cd4a6870c14a2a36ef5 100644 (file)
@@ -108,7 +108,7 @@ describe('OC.SetupChecks tests', function() {
                        async.done(function( data, s, x ){
                                expect(data).toEqual([
                                        {
-                                               msg: 'Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.',
+                                               msg: 'Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. It is strongly recommended that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.',
                                                type: OC.SetupChecks.MESSAGE_TYPE_ERROR
                                        }]);
                                done();
index 9053e371b651dc0fd9cb44eddda9697b47352ca1..bfadebd0db09fac93d0a2dc2b17679d6964c2af1 100644 (file)
@@ -193,8 +193,8 @@ class Manager implements IManager {
                        if (isset($this->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 {
index c0949b91c422ae9284fb57476105cb2cc0e01eb3..7384069f430e447e94e5478350875604c6050cf9 100644 (file)
@@ -456,11 +456,11 @@ EOF;
        /**
         * Adds a logo and a text to the footer. <br> 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<br>This is an automatically generated email" will be used
+        * @param string $text If the text is empty the default "Name - Slogan<br>This is an automatically sent email" will be used
         */
        public function addFooter($text = '') {
                if($text === '') {
-                       $text = $this->themingDefaults->getName() . ' - ' . $this->themingDefaults->getSlogan() . '<br>' . $this->l10n->t('This is an automatically generated email, please do not reply.');
+                       $text = $this->themingDefaults->getName() . ' - ' . $this->themingDefaults->getSlogan() . '<br>' . $this->l10n->t('This is an automatically sent email, please do not reply.');
                }
 
                if ($this->footerAdded) {
index d3fe3018f495874198ecc279e96cb623a32f5bf4..1bc6b08117fe9bfadbbec83720fd895544a07ecc 100644 (file)
@@ -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);
index be3ac007493b63684d5bdf21e1c3055480483d5d..18ed9fcdef67c865e7153f3d92aa3524b9e776a6 100644 (file)
@@ -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.'));
                }
 
 
index 5e01b6e2b87bbbf4632fdfc4415ce7a6edf93b8a..9516a67af48c021cf8d27cd2d1d3f673b43f4358 100644 (file)
@@ -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.')
                        ];
index 41daacdb49f261a037e0960437da2023840a5329..ab7713e8e2ca9baead9e50a336471c3e53736042 100644 (file)
@@ -109,7 +109,7 @@ interface IEMailTemplate {
        /**
         * Adds a logo and a text to the footer. <br> 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<br>This is an automatically generated email" will be used
+        * @param string $text If the text is empty the default "Name - Slogan<br>This is an automatically sent email" will be used
         *
         * @since 12.0.0
         */
index f7ea425f6285481c4e4d86052085daf7cd414e9c..7893b450a44c7fd53f936ea2fc1fc1070eeb709e 100644 (file)
@@ -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();
index b82751bcac2a5a2341b5f04e5531b018df7a3f26..4faed3a8fa68e266c5af259c7240086037fa0a60 100644 (file)
@@ -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) {
index 215b3c2c92e9fcefd0b932cc8d6fada473a8a58f..9a3ff09337df3558196f503b82440be35f0ef366 100644 (file)
@@ -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'));
index d87fa81729fd649341c76ee3b201919759a73f08..d0fc6378e9a403d1f059a8ce1834195c86bb99e3 100644 (file)
@@ -81,7 +81,7 @@
                if (!$_['has_fileinfo']) {
                        ?>
                        <li>
-                               <?php p($l->t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with mime-type detection.')); ?>
+                               <?php p($l->t('The PHP module \'fileinfo\' is missing. We strongly recommend to enable this module to get best results with MIME type detection.')); ?>
                        </li>
                        <?php
                }
index 707abe9588da8ff01e2cbe423321fdde19554cbc..7cf6c635360ec60a391712beb6ff8fd869d82834 100644 (file)
@@ -324,7 +324,7 @@ class NewUserMailHelperTest extends TestCase {
                                        </tr>
                                        </tbody>
                                </table>
-                               <p class="text-center float-center" align="center" style="Margin:0;Margin-bottom:10px;color:#C8C8C8;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:12px;font-weight:400;line-height:16px;margin:0;margin-bottom:10px;padding:0;text-align:center">TestCloud - <br>This is an automatically generated email, please do not reply.</p>
+                               <p class="text-center float-center" align="center" style="Margin:0;Margin-bottom:10px;color:#C8C8C8;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:12px;font-weight:400;line-height:16px;margin:0;margin-bottom:10px;padding:0;text-align:center">TestCloud - <br>This is an automatically sent email, please do not reply.</p>
                        </center>
                </td>
        </tr>
@@ -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;
                                        </tr>
                                        </tbody>
                                </table>
-                               <p class="text-center float-center" align="center" style="Margin:0;Margin-bottom:10px;color:#C8C8C8;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:12px;font-weight:400;line-height:16px;margin:0;margin-bottom:10px;padding:0;text-align:center">TestCloud - <br>This is an automatically generated email, please do not reply.</p>
+                               <p class="text-center float-center" align="center" style="Margin:0;Margin-bottom:10px;color:#C8C8C8;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:12px;font-weight:400;line-height:16px;margin:0;margin-bottom:10px;padding:0;text-align:center">TestCloud - <br>This is an automatically sent email, please do not reply.</p>
                        </center>
                </td>
        </tr>
@@ -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);
index 2e3866163d7af17bbbac4653544849e23d1923cc..32568e11b66fb5df74445cc3628040b8cb027c69 100644 (file)
                                        </tr>
                                        </tbody>
                                </table>
-                               <p class="text-center float-center" align="center" style="Margin:0;Margin-bottom:10px;color:#C8C8C8;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:12px;font-weight:400;line-height:16px;margin:0;margin-bottom:10px;padding:0;text-align:center">TestCloud - A safe home for your data<br>This is an automatically generated email, please do not reply.</p>
+                               <p class="text-center float-center" align="center" style="Margin:0;Margin-bottom:10px;color:#C8C8C8;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:12px;font-weight:400;line-height:16px;margin:0;margin-bottom:10px;padding:0;text-align:center">TestCloud - A safe home for your data<br>This is an automatically sent email, please do not reply.</p>
                        </center>
                </td>
        </tr>
index e01268b5620168297c48c0760baefef7dd96c430..42d41406ba812518e31b10c2956fca26aeb34c35 100644 (file)
@@ -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
index ad7f47e0a3ea729680e1e47f3cc2138033be23c2..ac26d4cb52801fb7a6077721956b8f0f413e3b3a 100644 (file)
@@ -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');
index 2ba68dbbabb03b9a93c55e77f8aaaa3349218ca9..450c007149c007fa8d101c0d06e088891224eb4b 100644 (file)
@@ -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<br>This is an automatically generated email, please do not reply.'
+                       'TestCloud - A safe home for your data<br>This is an automatically sent email, please do not reply.'
                );
 
                $expectedHTML = file_get_contents(\OC::$SERVERROOT . '/tests/data/emails/new-account-email.html');