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:
John Blackbourn
2018-06-16 12:44:46 +00:00
parent 4d5b00da46
commit 5aa5e5c131
6 changed files with 105 additions and 5 deletions
+1 -1
View File
@@ -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' );
}