public function testMixedConversions() {
$this->assertCyrillic(
'шђчћжШЂЧЋЖ - šđčćž',
- 'Mostly cyrillic characters'
+ 'Mostly Cyrillic characters'
);
$this->assertLatin(
'šđč枊ĐČĆŽ - шђчћж',
- 'Mostly latin characters'
+ 'Mostly Latin characters'
);
}
*/
public function testSameAmountOfLatinAndCyrillicGetConverted() {
$this->assertConverted(
- '4 latin: šđčć | 4 cyrillic: шђчћ',
+ '4 Latin: šđčć | 4 Cyrillic: шђчћ',
'sr-ec'
);
$this->assertConverted(
- '4 latin: šđčć | 4 cyrillic: шђчћ',
+ '4 Latin: šđčć | 4 Cyrillic: шђчћ',
'sr-el'
);
}
/**
* Verifiy the given Cyrillic text is not converted when using
- * using the cyrillic variant and converted to Latin when using
+ * using the Cyrillic variant and converted to Latin when using
* the Latin variant.
* @param string $text Text to convert
* @param string $msg Optional message