From ba84057aa6efc2435850b7103e751ea6063ccc48 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 17 Jul 2010 09:43:38 +0000 Subject: [PATCH] Serious enhancement in autotranlator tool. --- dev/translation/langAutoParser.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/translation/langAutoParser.class.php b/dev/translation/langAutoParser.class.php index 0d318371910..0252c2cd063 100644 --- a/dev/translation/langAutoParser.class.php +++ b/dev/translation/langAutoParser.class.php @@ -68,7 +68,7 @@ class langAutoParser { if (preg_match('/^en/i',$dirtmp['name'])) continue; // We discard en_* languages if (preg_match('/^fr/i',$dirtmp['name'])) continue; // We discard fr_* languages if (preg_match('/^es/i',$dirtmp['name'])) continue; // We discard es_* languages - if (preg_match('/es_CA/i',$dirtmp['name'])) continue; // We discard es_CA language + if (preg_match('/ca_ES/i',$dirtmp['name'])) continue; // We discard es_CA language if (preg_match('/pt_BR/i',$dirtmp['name'])) continue; // We discard pt_BR language if (preg_match('/^\./i',$dirtmp['name'])) continue; // We discard files .* if (preg_match('/^CVS/i',$dirtmp['name'])) continue; // We discard CVS