Преглед на файлове

[Locale][Form][Validator] Refactored code to new Locale component, implemented Country constraint

Bernhard Schussek преди 14 години
родител
ревизия
fdb7f84c7d
променени са 100 файла, в които са добавени 125 реда и са изтрити 82 реда
  1. 3 42
      src/Symfony/Component/Form/CountryField.php
  2. 3 40
      src/Symfony/Component/Form/LanguageField.php
  3. 119 0
      src/Symfony/Component/Locale/Locale.php
  4. 0 0
      src/Symfony/Component/Locale/Resources/data/UPDATE.txt
  5. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/af.res
  6. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ak.res
  7. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/am.res
  8. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ar.res
  9. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/as.res
  10. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/asa.res
  11. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/az.res
  12. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/az_AZ.res
  13. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/az_Cyrl.res
  14. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/az_Latn.res
  15. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/az_Latn_AZ.res
  16. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/be.res
  17. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bem.res
  18. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bez.res
  19. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bg.res
  20. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bm.res
  21. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bn.res
  22. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bn_IN.res
  23. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bo.res
  24. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/bs.res
  25. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ca.res
  26. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/cgg.res
  27. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/chr.res
  28. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/cs.res
  29. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/cy.res
  30. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/da.res
  31. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/dav.res
  32. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/de.res
  33. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/de_CH.res
  34. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ebu.res
  35. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ee.res
  36. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/el.res
  37. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/en.res
  38. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/en_RH.res
  39. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/en_ZW.res
  40. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/eo.res
  41. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/es.res
  42. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/es_AR.res
  43. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/es_CL.res
  44. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/et.res
  45. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/eu.res
  46. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/fa.res
  47. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/fa_AF.res
  48. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ff.res
  49. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/fi.res
  50. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/fil.res
  51. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/fil_PH.res
  52. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/fo.res
  53. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/fr.res
  54. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ga.res
  55. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/gl.res
  56. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/gsw.res
  57. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/gu.res
  58. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/guz.res
  59. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/gv.res
  60. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha.res
  61. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha_GH.res
  62. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha_Latn.res
  63. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha_Latn_GH.res
  64. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha_Latn_NE.res
  65. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha_Latn_NG.res
  66. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha_NE.res
  67. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ha_NG.res
  68. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/haw.res
  69. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/he.res
  70. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/he_IL.res
  71. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/hi.res
  72. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/hr.res
  73. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/hu.res
  74. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/hy.res
  75. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/id.res
  76. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/id_ID.res
  77. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ig.res
  78. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ii.res
  79. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/in.res
  80. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/in_ID.res
  81. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/is.res
  82. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/it.res
  83. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/iw.res
  84. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/iw_IL.res
  85. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ja.res
  86. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ja_JP.res
  87. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ja_JP_TRADITIONAL.res
  88. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/jmc.res
  89. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ka.res
  90. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kab.res
  91. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kam.res
  92. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kde.res
  93. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kea.res
  94. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/khq.res
  95. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/ki.res
  96. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kk.res
  97. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kk_Cyrl.res
  98. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kk_Cyrl_KZ.res
  99. 0 0
      src/Symfony/Component/Locale/Resources/data/lang/kk_KZ.res
  100. 0 0
      src/Symfony/Component/Form/Resources/data/lang/kl.res

+ 3 - 42
src/Symfony/Component/Form/CountryField.php

@@ -2,6 +2,8 @@
 
 namespace Symfony\Component\Form;
 
+use Symfony\Component\Locale\Locale;
+
 /**
  * A field for selecting from a list of countries
  *
@@ -9,54 +11,13 @@ namespace Symfony\Component\Form;
  */
 class CountryField extends ChoiceField
 {
-    /**
-     * Caches the country choices in different locales
-     * @var array
-     */
-    protected static $countries;
-
     /**
      * @inheritDoc
      */
     protected function configure()
     {
-        $this->addOption('choices', self::getCountryChoices($this->locale));
+        $this->addOption('choices', Locale::getDisplayCountries($this->locale));
 
         parent::configure();
     }
-
-    /**
-     * Returns the list of countries for a locale
-     *
-     * @param string $locale     The locale to use for the country names
-     * @throws RuntimeException  When the resource bundles cannot be loaded
-     */
-    protected static function getCountryChoices($locale)
-    {
-        if (!isset(self::$countries[$locale])) {
-            $bundle = new \ResourceBundle($locale, __DIR__.'/Resources/data/region');
-
-            if ($bundle === null) {
-                throw new RuntimeException('The region resource bundle could not be loaded');
-            }
-
-            $collator = new \Collator($locale);
-            $countries = array();
-
-            foreach ($bundle->get('Countries') as $code => $name) {
-                // Global regions (f.i. "America") have numeric codes
-                // Countries have alphabetic codes
-                // "ZZ" is the code for unknown region
-                if (ctype_alpha($code) && $code !== 'ZZ') {
-                    $countries[$code] = $name;
-                }
-            }
-
-            $collator->asort($countries);
-
-            self::$countries[$locale] = $countries;
-        }
-
-        return self::$countries[$locale];
-    }
 }

+ 3 - 40
src/Symfony/Component/Form/LanguageField.php

@@ -2,6 +2,8 @@
 
 namespace Symfony\Component\Form;
 
+use Symfony\Component\Locale\Locale;
+
 /**
  * A field for selecting from a list of languages
  *
@@ -9,52 +11,13 @@ namespace Symfony\Component\Form;
  */
 class LanguageField extends ChoiceField
 {
-    /**
-     * Caches the language choices in different locales
-     * @var array
-     */
-    protected static $languages;
-
     /**
      * @inheritDoc
      */
     protected function configure()
     {
-        $this->addOption('choices', self::getLanguageChoices($this->locale));
+        $this->addOption('choices', Locale::getDisplayLanguages($this->locale));
 
         parent::configure();
     }
-
-    /**
-     * Returns the list of languages for a locale
-     *
-     * @param string $locale     The locale to use for the language names
-     * @throws RuntimeException  When the resource bundles cannot be loaded
-     */
-    protected static function getLanguageChoices($locale)
-    {
-        if (!isset(self::$languages[$locale])) {
-            $bundle = new \ResourceBundle($locale, __DIR__.'/Resources/data/lang');
-
-            if ($bundle === null) {
-                throw new RuntimeException('The language resource bundle could not be loaded');
-            }
-
-            $collator = new \Collator($locale);
-            $languages = array();
-
-            foreach ($bundle->get('Languages') as $code => $name) {
-                // "mul" is the code for multiple languages
-                if ($code !== 'mul') {
-                    $languages[$code] = $name;
-                }
-            }
-
-            $collator->asort($languages);
-
-            self::$languages[$locale] = $languages;
-        }
-
-        return self::$languages[$locale];
-    }
 }

+ 119 - 0
src/Symfony/Component/Locale/Locale.php

@@ -0,0 +1,119 @@
+<?php
+
+namespace Symfony\Component\Locale;
+
+/*
+ * This file is part of the Symfony framework.
+ *
+ * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
+ *
+ * This source file is subject to the MIT license that is bundled
+ * with this source code in the file LICENSE.
+ */
+
+class Locale extends \Locale
+{
+    /**
+     * Caches the countries in different locales
+     * @var array
+     */
+    protected static $countries = array();
+
+    /**
+     * Caches the languages in different locales
+     * @var array
+     */
+    protected static $languages = array();
+
+    /**
+     * Returns the country names for a locale
+     *
+     * @param  string $locale     The locale to use for the country names
+     * @return array              The country names with their codes as keys
+     * @throws RuntimeException   When the resource bundles cannot be loaded
+     */
+    public static function getDisplayCountries($locale)
+    {
+        if (!isset(self::$countries[$locale])) {
+            $bundle = new \ResourceBundle($locale, __DIR__.'/Resources/data/region');
+
+            if ($bundle === null) {
+                throw new \RuntimeException('The country resource bundle could not be loaded');
+            }
+
+            $collator = new \Collator($locale);
+            $countries = array();
+
+            foreach ($bundle->get('Countries') as $code => $name) {
+                // Global countries (f.i. "America") have numeric codes
+                // Countries have alphabetic codes
+                // "ZZ" is the code for unknown country
+                if (ctype_alpha($code) && $code !== 'ZZ') {
+                    $countries[$code] = $name;
+                }
+            }
+
+            $collator->asort($countries);
+
+            self::$countries[$locale] = $countries;
+        }
+
+        return self::$countries[$locale];
+    }
+
+    /**
+     * Returns all available country codes
+     *
+     * @return array              The country codes
+     * @throws RuntimeException   When the resource bundles cannot be loaded
+     */
+    public static function getCountries()
+    {
+        return array_keys(self::getDisplayCountries(self::getDefault()));
+    }
+
+    /**
+     * Returns the language names for a locale
+     *
+     * @param  string $locale     The locale to use for the language names
+     * @return array              The language names with their codes as keys
+     * @throws RuntimeException   When the resource bundles cannot be loaded
+     */
+    public static function getDisplayLanguages($locale)
+    {
+        if (!isset(self::$languages[$locale])) {
+            $bundle = new \ResourceBundle($locale, __DIR__.'/Resources/data/lang');
+
+            if ($bundle === null) {
+                throw new \RuntimeException('The language resource bundle could not be loaded');
+            }
+
+            $collator = new \Collator($locale);
+            $languages = array();
+
+            foreach ($bundle->get('Languages') as $code => $name) {
+                // "mul" is the code for multiple languages
+                if ($code !== 'mul') {
+                    $languages[$code] = $name;
+                }
+            }
+
+            $collator->asort($languages);
+
+            self::$languages[$locale] = $languages;
+        }
+
+        return self::$languages[$locale];
+    }
+
+    /**
+     * Returns all available language codes
+     *
+     * @return array              The language codes
+     * @throws RuntimeException   When the resource bundles cannot be loaded
+     */
+    public static function getLanguages()
+    {
+        return array_keys(self::getDisplayLanguages(self::getDefault()));
+    }
+}

src/Symfony/Component/Form/Resources/data/UPDATE.txt → src/Symfony/Component/Locale/Resources/data/UPDATE.txt


src/Symfony/Component/Form/Resources/data/lang/af.res → src/Symfony/Component/Locale/Resources/data/lang/af.res


src/Symfony/Component/Form/Resources/data/lang/ak.res → src/Symfony/Component/Locale/Resources/data/lang/ak.res


src/Symfony/Component/Form/Resources/data/lang/am.res → src/Symfony/Component/Locale/Resources/data/lang/am.res


src/Symfony/Component/Form/Resources/data/lang/ar.res → src/Symfony/Component/Locale/Resources/data/lang/ar.res


src/Symfony/Component/Form/Resources/data/lang/as.res → src/Symfony/Component/Locale/Resources/data/lang/as.res


src/Symfony/Component/Form/Resources/data/lang/asa.res → src/Symfony/Component/Locale/Resources/data/lang/asa.res


src/Symfony/Component/Form/Resources/data/lang/az.res → src/Symfony/Component/Locale/Resources/data/lang/az.res


src/Symfony/Component/Form/Resources/data/lang/az_AZ.res → src/Symfony/Component/Locale/Resources/data/lang/az_AZ.res


src/Symfony/Component/Form/Resources/data/lang/az_Cyrl.res → src/Symfony/Component/Locale/Resources/data/lang/az_Cyrl.res


src/Symfony/Component/Form/Resources/data/lang/az_Latn.res → src/Symfony/Component/Locale/Resources/data/lang/az_Latn.res


src/Symfony/Component/Form/Resources/data/lang/az_Latn_AZ.res → src/Symfony/Component/Locale/Resources/data/lang/az_Latn_AZ.res


src/Symfony/Component/Form/Resources/data/lang/be.res → src/Symfony/Component/Locale/Resources/data/lang/be.res


src/Symfony/Component/Form/Resources/data/lang/bem.res → src/Symfony/Component/Locale/Resources/data/lang/bem.res


src/Symfony/Component/Form/Resources/data/lang/bez.res → src/Symfony/Component/Locale/Resources/data/lang/bez.res


src/Symfony/Component/Form/Resources/data/lang/bg.res → src/Symfony/Component/Locale/Resources/data/lang/bg.res


src/Symfony/Component/Form/Resources/data/lang/bm.res → src/Symfony/Component/Locale/Resources/data/lang/bm.res


src/Symfony/Component/Form/Resources/data/lang/bn.res → src/Symfony/Component/Locale/Resources/data/lang/bn.res


src/Symfony/Component/Form/Resources/data/lang/bn_IN.res → src/Symfony/Component/Locale/Resources/data/lang/bn_IN.res


src/Symfony/Component/Form/Resources/data/lang/bo.res → src/Symfony/Component/Locale/Resources/data/lang/bo.res


src/Symfony/Component/Form/Resources/data/lang/bs.res → src/Symfony/Component/Locale/Resources/data/lang/bs.res


src/Symfony/Component/Form/Resources/data/lang/ca.res → src/Symfony/Component/Locale/Resources/data/lang/ca.res


src/Symfony/Component/Form/Resources/data/lang/cgg.res → src/Symfony/Component/Locale/Resources/data/lang/cgg.res


src/Symfony/Component/Form/Resources/data/lang/chr.res → src/Symfony/Component/Locale/Resources/data/lang/chr.res


src/Symfony/Component/Form/Resources/data/lang/cs.res → src/Symfony/Component/Locale/Resources/data/lang/cs.res


src/Symfony/Component/Form/Resources/data/lang/cy.res → src/Symfony/Component/Locale/Resources/data/lang/cy.res


src/Symfony/Component/Form/Resources/data/lang/da.res → src/Symfony/Component/Locale/Resources/data/lang/da.res


src/Symfony/Component/Form/Resources/data/lang/dav.res → src/Symfony/Component/Locale/Resources/data/lang/dav.res


src/Symfony/Component/Form/Resources/data/lang/de.res → src/Symfony/Component/Locale/Resources/data/lang/de.res


src/Symfony/Component/Form/Resources/data/lang/de_CH.res → src/Symfony/Component/Locale/Resources/data/lang/de_CH.res


src/Symfony/Component/Form/Resources/data/lang/ebu.res → src/Symfony/Component/Locale/Resources/data/lang/ebu.res


src/Symfony/Component/Form/Resources/data/lang/ee.res → src/Symfony/Component/Locale/Resources/data/lang/ee.res


src/Symfony/Component/Form/Resources/data/lang/el.res → src/Symfony/Component/Locale/Resources/data/lang/el.res


src/Symfony/Component/Form/Resources/data/lang/en.res → src/Symfony/Component/Locale/Resources/data/lang/en.res


src/Symfony/Component/Form/Resources/data/lang/en_RH.res → src/Symfony/Component/Locale/Resources/data/lang/en_RH.res


src/Symfony/Component/Form/Resources/data/lang/en_ZW.res → src/Symfony/Component/Locale/Resources/data/lang/en_ZW.res


src/Symfony/Component/Form/Resources/data/lang/eo.res → src/Symfony/Component/Locale/Resources/data/lang/eo.res


src/Symfony/Component/Form/Resources/data/lang/es.res → src/Symfony/Component/Locale/Resources/data/lang/es.res


src/Symfony/Component/Form/Resources/data/lang/es_AR.res → src/Symfony/Component/Locale/Resources/data/lang/es_AR.res


src/Symfony/Component/Form/Resources/data/lang/es_CL.res → src/Symfony/Component/Locale/Resources/data/lang/es_CL.res


src/Symfony/Component/Form/Resources/data/lang/et.res → src/Symfony/Component/Locale/Resources/data/lang/et.res


src/Symfony/Component/Form/Resources/data/lang/eu.res → src/Symfony/Component/Locale/Resources/data/lang/eu.res


src/Symfony/Component/Form/Resources/data/lang/fa.res → src/Symfony/Component/Locale/Resources/data/lang/fa.res


src/Symfony/Component/Form/Resources/data/lang/fa_AF.res → src/Symfony/Component/Locale/Resources/data/lang/fa_AF.res


src/Symfony/Component/Form/Resources/data/lang/ff.res → src/Symfony/Component/Locale/Resources/data/lang/ff.res


src/Symfony/Component/Form/Resources/data/lang/fi.res → src/Symfony/Component/Locale/Resources/data/lang/fi.res


src/Symfony/Component/Form/Resources/data/lang/fil.res → src/Symfony/Component/Locale/Resources/data/lang/fil.res


src/Symfony/Component/Form/Resources/data/lang/fil_PH.res → src/Symfony/Component/Locale/Resources/data/lang/fil_PH.res


src/Symfony/Component/Form/Resources/data/lang/fo.res → src/Symfony/Component/Locale/Resources/data/lang/fo.res


src/Symfony/Component/Form/Resources/data/lang/fr.res → src/Symfony/Component/Locale/Resources/data/lang/fr.res


src/Symfony/Component/Form/Resources/data/lang/ga.res → src/Symfony/Component/Locale/Resources/data/lang/ga.res


src/Symfony/Component/Form/Resources/data/lang/gl.res → src/Symfony/Component/Locale/Resources/data/lang/gl.res


src/Symfony/Component/Form/Resources/data/lang/gsw.res → src/Symfony/Component/Locale/Resources/data/lang/gsw.res


src/Symfony/Component/Form/Resources/data/lang/gu.res → src/Symfony/Component/Locale/Resources/data/lang/gu.res


src/Symfony/Component/Form/Resources/data/lang/guz.res → src/Symfony/Component/Locale/Resources/data/lang/guz.res


src/Symfony/Component/Form/Resources/data/lang/gv.res → src/Symfony/Component/Locale/Resources/data/lang/gv.res


src/Symfony/Component/Form/Resources/data/lang/ha.res → src/Symfony/Component/Locale/Resources/data/lang/ha.res


src/Symfony/Component/Form/Resources/data/lang/ha_GH.res → src/Symfony/Component/Locale/Resources/data/lang/ha_GH.res


src/Symfony/Component/Form/Resources/data/lang/ha_Latn.res → src/Symfony/Component/Locale/Resources/data/lang/ha_Latn.res


src/Symfony/Component/Form/Resources/data/lang/ha_Latn_GH.res → src/Symfony/Component/Locale/Resources/data/lang/ha_Latn_GH.res


src/Symfony/Component/Form/Resources/data/lang/ha_Latn_NE.res → src/Symfony/Component/Locale/Resources/data/lang/ha_Latn_NE.res


src/Symfony/Component/Form/Resources/data/lang/ha_Latn_NG.res → src/Symfony/Component/Locale/Resources/data/lang/ha_Latn_NG.res


src/Symfony/Component/Form/Resources/data/lang/ha_NE.res → src/Symfony/Component/Locale/Resources/data/lang/ha_NE.res


src/Symfony/Component/Form/Resources/data/lang/ha_NG.res → src/Symfony/Component/Locale/Resources/data/lang/ha_NG.res


src/Symfony/Component/Form/Resources/data/lang/haw.res → src/Symfony/Component/Locale/Resources/data/lang/haw.res


src/Symfony/Component/Form/Resources/data/lang/he.res → src/Symfony/Component/Locale/Resources/data/lang/he.res


src/Symfony/Component/Form/Resources/data/lang/he_IL.res → src/Symfony/Component/Locale/Resources/data/lang/he_IL.res


src/Symfony/Component/Form/Resources/data/lang/hi.res → src/Symfony/Component/Locale/Resources/data/lang/hi.res


src/Symfony/Component/Form/Resources/data/lang/hr.res → src/Symfony/Component/Locale/Resources/data/lang/hr.res


src/Symfony/Component/Form/Resources/data/lang/hu.res → src/Symfony/Component/Locale/Resources/data/lang/hu.res


src/Symfony/Component/Form/Resources/data/lang/hy.res → src/Symfony/Component/Locale/Resources/data/lang/hy.res


src/Symfony/Component/Form/Resources/data/lang/id.res → src/Symfony/Component/Locale/Resources/data/lang/id.res


src/Symfony/Component/Form/Resources/data/lang/id_ID.res → src/Symfony/Component/Locale/Resources/data/lang/id_ID.res


src/Symfony/Component/Form/Resources/data/lang/ig.res → src/Symfony/Component/Locale/Resources/data/lang/ig.res


src/Symfony/Component/Form/Resources/data/lang/ii.res → src/Symfony/Component/Locale/Resources/data/lang/ii.res


src/Symfony/Component/Form/Resources/data/lang/in.res → src/Symfony/Component/Locale/Resources/data/lang/in.res


src/Symfony/Component/Form/Resources/data/lang/in_ID.res → src/Symfony/Component/Locale/Resources/data/lang/in_ID.res


src/Symfony/Component/Form/Resources/data/lang/is.res → src/Symfony/Component/Locale/Resources/data/lang/is.res


src/Symfony/Component/Form/Resources/data/lang/it.res → src/Symfony/Component/Locale/Resources/data/lang/it.res


src/Symfony/Component/Form/Resources/data/lang/iw.res → src/Symfony/Component/Locale/Resources/data/lang/iw.res


src/Symfony/Component/Form/Resources/data/lang/iw_IL.res → src/Symfony/Component/Locale/Resources/data/lang/iw_IL.res


src/Symfony/Component/Form/Resources/data/lang/ja.res → src/Symfony/Component/Locale/Resources/data/lang/ja.res


src/Symfony/Component/Form/Resources/data/lang/ja_JP.res → src/Symfony/Component/Locale/Resources/data/lang/ja_JP.res


src/Symfony/Component/Form/Resources/data/lang/ja_JP_TRADITIONAL.res → src/Symfony/Component/Locale/Resources/data/lang/ja_JP_TRADITIONAL.res


src/Symfony/Component/Form/Resources/data/lang/jmc.res → src/Symfony/Component/Locale/Resources/data/lang/jmc.res


src/Symfony/Component/Form/Resources/data/lang/ka.res → src/Symfony/Component/Locale/Resources/data/lang/ka.res


src/Symfony/Component/Form/Resources/data/lang/kab.res → src/Symfony/Component/Locale/Resources/data/lang/kab.res


src/Symfony/Component/Form/Resources/data/lang/kam.res → src/Symfony/Component/Locale/Resources/data/lang/kam.res


src/Symfony/Component/Form/Resources/data/lang/kde.res → src/Symfony/Component/Locale/Resources/data/lang/kde.res


src/Symfony/Component/Form/Resources/data/lang/kea.res → src/Symfony/Component/Locale/Resources/data/lang/kea.res


src/Symfony/Component/Form/Resources/data/lang/khq.res → src/Symfony/Component/Locale/Resources/data/lang/khq.res


src/Symfony/Component/Form/Resources/data/lang/ki.res → src/Symfony/Component/Locale/Resources/data/lang/ki.res


src/Symfony/Component/Form/Resources/data/lang/kk.res → src/Symfony/Component/Locale/Resources/data/lang/kk.res


src/Symfony/Component/Form/Resources/data/lang/kk_Cyrl.res → src/Symfony/Component/Locale/Resources/data/lang/kk_Cyrl.res


src/Symfony/Component/Form/Resources/data/lang/kk_Cyrl_KZ.res → src/Symfony/Component/Locale/Resources/data/lang/kk_Cyrl_KZ.res


src/Symfony/Component/Form/Resources/data/lang/kk_KZ.res → src/Symfony/Component/Locale/Resources/data/lang/kk_KZ.res


+ 0 - 0
src/Symfony/Component/Form/Resources/data/lang/kl.res


Някои файлове не бяха показани, защото твърде много файлове са промени