mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Changing l10n language name from 'Slovack' to 'Slovak', as per ISO 693-1 guidelines. Thanks to savant for the patch. Fixes #5870.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8272 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
70c331f5db
commit
f426017a9e
2 changed files with 4 additions and 4 deletions
|
@ -150,8 +150,8 @@ class L10n extends Object {
|
||||||
/* Sami (Lappish) */ 'smi' => 'sz',
|
/* Sami (Lappish) */ 'smi' => 'sz',
|
||||||
/* Serbian */ 'scc' => 'sr',
|
/* Serbian */ 'scc' => 'sr',
|
||||||
/* Serbian */ 'srp' => 'sr',
|
/* Serbian */ 'srp' => 'sr',
|
||||||
/* Slovack */ 'slo' => 'sk',
|
/* Slovak */ 'slo' => 'sk',
|
||||||
/* Slovack */ 'slk' => 'sk',
|
/* Slovak */ 'slk' => 'sk',
|
||||||
/* Slovenian */ 'slv' => 'sl',
|
/* Slovenian */ 'slv' => 'sl',
|
||||||
/* Sorbian */ 'wen' => 'sb',
|
/* Sorbian */ 'wen' => 'sb',
|
||||||
/* Spanish (Spain - Traditional) */ 'spa' => 'es',
|
/* Spanish (Spain - Traditional) */ 'spa' => 'es',
|
||||||
|
@ -290,7 +290,7 @@ class L10n extends Object {
|
||||||
'ro-mo' => array('language' => 'Romanian (Moldavia)', 'locale' => 'ro_mo', 'localeFallback' => 'rum', 'charset' => 'utf-8'),
|
'ro-mo' => array('language' => 'Romanian (Moldavia)', 'locale' => 'ro_mo', 'localeFallback' => 'rum', 'charset' => 'utf-8'),
|
||||||
'ru-mo' => array('language' => 'Russian (Moldavia)', 'locale' => 'ru_mo', 'localeFallback' => 'rus', 'charset' => 'utf-8'),
|
'ru-mo' => array('language' => 'Russian (Moldavia)', 'locale' => 'ru_mo', 'localeFallback' => 'rus', 'charset' => 'utf-8'),
|
||||||
'sb' => array('language' => 'Sorbian', 'locale' => 'wen', 'localeFallback' => 'wen', 'charset' => 'utf-8'),
|
'sb' => array('language' => 'Sorbian', 'locale' => 'wen', 'localeFallback' => 'wen', 'charset' => 'utf-8'),
|
||||||
'sk' => array('language' => 'Slovack', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8'),
|
'sk' => array('language' => 'Slovak', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8'),
|
||||||
'sl' => array('language' => 'Slovenian', 'locale' => 'slv', 'localeFallback' => 'slv', 'charset' => 'utf-8'),
|
'sl' => array('language' => 'Slovenian', 'locale' => 'slv', 'localeFallback' => 'slv', 'charset' => 'utf-8'),
|
||||||
'sq' => array('language' => 'Albanian', 'locale' => 'alb', 'localeFallback' => 'alb', 'charset' => 'utf-8'),
|
'sq' => array('language' => 'Albanian', 'locale' => 'alb', 'localeFallback' => 'alb', 'charset' => 'utf-8'),
|
||||||
'sr' => array('language' => 'Serbian', 'locale' => 'scc', 'localeFallback' => 'scc', 'charset' => 'utf-8'),
|
'sr' => array('language' => 'Serbian', 'locale' => 'scc', 'localeFallback' => 'scc', 'charset' => 'utf-8'),
|
||||||
|
|
|
@ -848,7 +848,7 @@ class L10nTest extends CakeTestCase {
|
||||||
|
|
||||||
$result = $l10n->catalog(array('sk'));
|
$result = $l10n->catalog(array('sk'));
|
||||||
$expected = array(
|
$expected = array(
|
||||||
'sk' => array('language' => 'Slovack', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8')
|
'sk' => array('language' => 'Slovak', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8')
|
||||||
);
|
);
|
||||||
$this->assertEqual($result, $expected);
|
$this->assertEqual($result, $expected);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue