? add-ldo-items.patch
Index: l10n_pconfig.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_pconfig/Attic/l10n_pconfig.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 l10n_pconfig.module
--- l10n_pconfig.module	15 Mar 2010 08:45:23 -0000	1.1.2.1
+++ l10n_pconfig.module	15 Nov 2010 18:37:33 -0000
@@ -113,8 +113,10 @@ function l10n_pconfig_plural_formulas() 
   $one = 'nplurals=1; plural=0;';
   return array(
     'af' => $default,
+    'am' => 'nplurals=2; plural=(n > 1);',
     // Wordforge says nplurals=4!?
     'ar' => 'nplurals=6; plural=n==1 ? 0 : n==0 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;',
+    'ast' => $default,
     'bg' => $default,
     'bn' => $default,
     'bs' => 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);',
@@ -122,11 +124,13 @@ function l10n_pconfig_plural_formulas() 
     'ca' => 'nplurals=2; plural=(n > 1);',
     // Wordforge has different rules!?
     'cs' => 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);',
+    'cy' => 'nplurals=4; plural=( n==1 ? 0 : (n==2 ? 1 : (n!=8 && n!=11 ? 2 : 3)));',
     'da' => $default,
     'de' => $default,
     // Wordforge has nplurals=1, but this might fit us better.
     'dz' => $default,
     'el' => $default,
+    'en-gb' => $default,
     'eo' => $default,
     'es' => $default,
     'et' => $default,
@@ -134,57 +138,74 @@ function l10n_pconfig_plural_formulas() 
     // Wordforge has nplurals=1, but this might fit us better.
     'fa' => $default,
     'fi' => $default,
+    'fil' => 'nplurals=2; plural=(n > 1);',
     'fo' => $default,
-    'fr' => 'nplurals=2; plural=(n > 1);',
+    'fr' => $default,
+    'ga' => 'nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4;',
     'gl' => $default,
     'gu' => $default,
+    'gsw-berne' => $default,
     'he' => $default,
     'hi' => $default,
     'hr' => 'nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;',
-    // Wordforge has nplurals=1, but this might fit us better.
+    'ht' => $default,
+    // Wordforge has nplurals=1, but this fits Hungarians way better.
     'hu' => $default,
+    'hy' => 'nplurals=2; plural=(n > 1);',
     // Wordforge has nplurals=1, but this might fit us better.
     'id' => $default,
     'is' => $default,
     'it' => $default,
     // Wordforge has nplurals=1, but this might fit us better.
     'ja' => $default,
+    'ka' => $default,
     'km' => $default,
     'kn' => $default,
     'ko' => $default,
     'lt' => 'nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2;',
     'lv' => 'nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;',
     'mk' => $default,
+    'ml' => $default,
+    'mn' => $default,
     'mr' => $default,
     'ms' => $default,
     'my' => $default,
     'nb' => $default,
+    'ne' => $default,
     'nl' => $default,
     'nn' => $default,
     // The 'no' code is superceeded by nb and nn
     //'no' => array('Norwegian', $default),
     'ne' => $default,
+    'pa' => $default,
     'pl' => 'nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);',
+    'pt' => $default,
     // Wordforge has different rules!?
     'pt-br' => $default,
     'pt-pt' => $default,
     'ro' => 'nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;',
     'ru' => 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);',
-    // This should not be there in CVS, needs cleanup!
-    // 'ru-ru' => array(),
+    'sco' => $default,
+    'se' => $default,
     'sk' => 'nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;',
     'sl' => 'nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);',
     'sq' => $default,
     // Wordforge has nplurals=4 here, and could be right, based on the .po file data?!?
-    'sr' => $default,
+    'sr' => 'nplurals=3; plural=(n%10==1 && n%100 !=11) ? 0 : ((n%10 >=2 && n%10 <= 4) && (n%100 < 10 || n%100 >= 20) ? 1 : 2);',
     'sv' => $default,
+    'sw' => $default,
+    'ta' => $default,
+    'te' => $default,
     'th' => $default,
     'tr' => $one,
     'uk' => 'nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;',
+    'ur' => $default,
     'uz' => $default,
     'vi' => $one,
-    'zh-hans' => $one,
+    // How are the two zh- variants are different? This is how it is set up on l.d.o and nobody complained.
+    'zh-hans' => $default,
     'zh-hant' => $one,
+    'xx-lolspeak' => $default,
   );
 }
 
