mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
I18N: Introduce unit tests for the Japanese language in order to facilitate future improvements.
Props ryotsun Fixes #43829 git-svn-id: https://develop.svn.wordpress.org/trunk@43359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -90,7 +90,7 @@ class Tests_DB extends WP_UnitTestCase {
|
||||
$current_locales = explode( ';', setlocale( LC_ALL, 0 ) );
|
||||
|
||||
// Switch to Russian
|
||||
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' );
|
||||
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES', 'ja_JP.utf8', 'ja_JP' );
|
||||
if ( false === $flag ) {
|
||||
$this->markTestSkipped( 'No European languages available for testing' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user