]> source.dussan.org Git - nextcloud-server.git/commitdiff
l10n: Add "The" before "Following" 20957/head
authorValdnet <47037905+Valdnet@users.noreply.github.com>
Wed, 13 May 2020 13:29:35 +0000 (15:29 +0200)
committerGary Kim <gary@garykim.dev>
Fri, 15 May 2020 06:26:50 +0000 (14:26 +0800)
lib/private/App/DependencyAnalyzer.php
tests/lib/App/DependencyAnalyzerTest.php

index f950a5bd91fcf64c5c94d619673526a6f880d4f6..63d84cd5a436755841177f0a93d6e5c10c3fe4b8 100644 (file)
@@ -195,7 +195,7 @@ class DependencyAnalyzer {
                }, $supportedDatabases);
                $currentDatabase = $this->platform->getDatabase();
                if (!in_array($currentDatabase, $supportedDatabases)) {
-                       $missing[] = (string)$this->l->t('Following databases are supported: %s', [implode(', ', $supportedDatabases)]);
+                       $missing[] = (string)$this->l->t('The following databases are supported: %s', [implode(', ', $supportedDatabases)]);
                }
                return $missing;
        }
@@ -298,7 +298,7 @@ class DependencyAnalyzer {
                }
                $currentOS = $this->platform->getOS();
                if (!in_array($currentOS, $oss)) {
-                       $missing[] = (string)$this->l->t('Following platforms are supported: %s', [implode(', ', $oss)]);
+                       $missing[] = (string)$this->l->t('The following platforms are supported: %s', [implode(', ', $oss)]);
                }
                return $missing;
        }
index 09a939f4855800c8461797efef2983456d3d9b3b..a7d42d28baf2cfe2f43e35a9aec3cd38e1b7b922 100644 (file)
@@ -432,8 +432,8 @@ class DependencyAnalyzerTest extends TestCase {
                return [
                        [[], null],
                        [[], []],
-                       [['Following platforms are supported: ANDROID'], 'ANDROID'],
-                       [['Following platforms are supported: WINNT'], ['WINNT']]
+                       [['The following platforms are supported: ANDROID'], 'ANDROID'],
+                       [['The following platforms are supported: WINNT'], ['WINNT']]
                ];
        }
 
@@ -493,8 +493,8 @@ class DependencyAnalyzerTest extends TestCase {
                        // non BC - in case on databases are defined -> all are supported
                        [[], null],
                        [[], []],
-                       [['Following databases are supported: mongodb'], 'mongodb'],
-                       [['Following databases are supported: sqlite, postgres'], ['sqlite', ['@value' => 'postgres']]],
+                       [['The following databases are supported: mongodb'], 'mongodb'],
+                       [['The following databases are supported: sqlite, postgres'], ['sqlite', ['@value' => 'postgres']]],
                ];
        }