Skip to content
This repository
Browse code

Changing l10n language name from 'Slovack' to 'Slovak', as per ISO 69…

…3-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
  • Loading branch information...
commit f426017a9ece7d6e621fd3f46f16df594aca1d76 1 parent 70c331f
Joel Perras authored August 02, 2009
6  cake/libs/l10n.php
@@ -150,8 +150,8 @@ class L10n extends Object {
150 150
 								/* Sami (Lappish) */ 'smi' => 'sz',
151 151
 								/* Serbian */ 'scc' => 'sr',
152 152
 								/* Serbian */ 'srp' => 'sr',
153  
-								/* Slovack */ 'slo' => 'sk',
154  
-								/* Slovack */ 'slk' => 'sk',
  153
+								/* Slovak */ 'slo' => 'sk',
  154
+								/* Slovak */ 'slk' => 'sk',
155 155
 								/* Slovenian */ 'slv' => 'sl',
156 156
 								/* Sorbian */ 'wen' => 'sb',
157 157
 								/* Spanish (Spain - Traditional) */ 'spa' => 'es',
@@ -290,7 +290,7 @@ class L10n extends Object {
290 290
 										'ro-mo' => array('language' => 'Romanian (Moldavia)', 'locale' => 'ro_mo', 'localeFallback' => 'rum', 'charset' => 'utf-8'),
291 291
 										'ru-mo' => array('language' => 'Russian (Moldavia)', 'locale' => 'ru_mo', 'localeFallback' => 'rus', 'charset' => 'utf-8'),
292 292
 										'sb' => array('language' => 'Sorbian', 'locale' => 'wen', 'localeFallback' => 'wen', 'charset' => 'utf-8'),
293  
-										'sk' => array('language' => 'Slovack', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8'),
  293
+										'sk' => array('language' => 'Slovak', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8'),
294 294
 										'sl' => array('language' => 'Slovenian', 'locale' => 'slv', 'localeFallback' => 'slv', 'charset' => 'utf-8'),
295 295
 										'sq' => array('language' => 'Albanian', 'locale' => 'alb', 'localeFallback' => 'alb', 'charset' => 'utf-8'),
296 296
 										'sr' => array('language' => 'Serbian', 'locale' => 'scc', 'localeFallback' => 'scc', 'charset' => 'utf-8'),
2  cake/tests/cases/libs/l10n.test.php
@@ -848,7 +848,7 @@ function testCatalog() {
848 848
 
849 849
 		$result = $l10n->catalog(array('sk'));
850 850
 		$expected = array(
851  
-			'sk' => array('language' => 'Slovack', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8')
  851
+			'sk' => array('language' => 'Slovak', 'locale' => 'slo', 'localeFallback' => 'slo', 'charset' => 'utf-8')
852 852
 		);
853 853
 		$this->assertEqual($result, $expected);
854 854
 

0 notes on commit f426017

Please sign in to comment.
Something went wrong with that request. Please try again.