10000 Merge branch '4.4' into 5.2 · symfony/symfony@3004b9c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3004b9c

Browse files
Merge branch '4.4' into 5.2
* 4.4: Optimize travis file a bit Remove duplicate catch block Add missing translations for Thai Add missing translations for Swedish
2 parents e98baf5 + a5816d1 commit 3004b9c

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ before_install:
121121
# php.ini configuration
122122
(
123123
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
124-
(cd / && wget https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-$PHP.tar.bz2 -O - | tar -xj) &
124+
([[ $PHP != 7.4 ]] && phpenv global $PHP 2>/dev/null) || (cd / && wget https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-$PHP.tar.bz2 -O - | tar -xj) &
125125
done
126126
wait
127127
)

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ public function testRedisCachePools()
3939
throw $e;
4040
}
4141
$this->markTestSkipped($e->getMessage());
42-
} catch (\PHPUnit\Framework\Error\Warning $e) {
43-
if (0 !== strpos($e->getMessage(), 'unable to connect to')) {
44-
throw $e;
45-
}
46-
$this->markTestSkipped($e->getMessage());
4742
} catch (InvalidArgumentException $e) {
4843
if (0 !== strpos($e->getMessage(), 'Redis connection ')) {
4944
throw $e;
@@ -67,11 +62,6 @@ public function testRedisCustomCachePools()
6762
throw $e;
6863
}
6964
$this->markTestSkipped($e->getMessage());
70-
} catch (\PHPUnit\Framework\Error\Warning $e) {
71-
if (0 !== strpos($e->getMessage(), 'unable to connect to')) {
72-
throw $e;
73-
}
74-
$this->markTestSkipped($e->getMessage());
7565
}
7666
}
7767

src/Symfony/Component/Security/Core/Resources/translations/security.sv.xlf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@
7070
<source>Invalid or expired login link.</source>
7171
<target>Ogiltig eller utgången inloggningslänk.</target>
7272
</trans-unit>
73+
<trans-unit id="19">
74+
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
75+
<target>För många misslyckade inloggningsförsök, försök igen om %minutes% minut.</target>
76+
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target>För många misslyckade inloggningsförsök, försök igen om %minutes% minuter.</target>
80+
</trans-unit>
7381
</body>
7482
</file>
7583
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.th.xlf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@
7070
<source>Invalid or expired login link.</source>
7171
<target>ลิงค์เข้าสู่ระบบไม่ถูกต้องหรือหมดอายุไปแล้ว</target>
7272
</trans-unit>
73+
<trans-unit id="19">
74+
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
75+
<target>มีความพยายามเข้าสู่ระบบล้มเหลวมากเกินไป โปรดลองอีกครั้งใน %minutes% นาที</target>
76+
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target>มีความพยายามเข้าสู่ระบบล้มเหลวมากเกินไป โปรดลองอีกครั้งใน %minutes% นาที</target>
80+
</trans-unit>
7381
</body>
7482
</file>
7583
</xliff>

0 commit comments

Comments
 (0)
0