| @@ 2233-2253 (lines=21) @@ | ||
| 2230 | * |
|
| 2231 | * @return \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader A Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader instance |
|
| 2232 | */ |
|
| 2233 | protected function getTranslation_LoaderService() |
|
| 2234 | { |
|
| 2235 | $a = $this->get('translation.loader.xliff'); |
|
| 2236 | ||
| 2237 | $this->services['translation.loader'] = $instance = new \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader(); |
|
| 2238 | ||
| 2239 | $instance->addLoader('php', $this->get('translation.loader.php')); |
|
| 2240 | $instance->addLoader('yml', $this->get('translation.loader.yml')); |
|
| 2241 | $instance->addLoader('xlf', $a); |
|
| 2242 | $instance->addLoader('xliff', $a); |
|
| 2243 | $instance->addLoader('po', $this->get('translation.loader.po')); |
|
| 2244 | $instance->addLoader('mo', $this->get('translation.loader.mo')); |
|
| 2245 | $instance->addLoader('ts', $this->get('translation.loader.qt')); |
|
| 2246 | $instance->addLoader('csv', $this->get('translation.loader.csv')); |
|
| 2247 | $instance->addLoader('res', $this->get('translation.loader.res')); |
|
| 2248 | $instance->addLoader('dat', $this->get('translation.loader.dat')); |
|
| 2249 | $instance->addLoader('ini', $this->get('translation.loader.ini')); |
|
| 2250 | $instance->addLoader('json', $this->get('translation.loader.json')); |
|
| 2251 | ||
| 2252 | return $instance; |
|
| 2253 | } |
|
| 2254 | ||
| 2255 | /** |
|
| 2256 | * Gets the 'translation.loader.csv' service. |
|
| @@ 1699-1719 (lines=21) @@ | ||
| 1696 | * |
|
| 1697 | * @return \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader A Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader instance |
|
| 1698 | */ |
|
| 1699 | protected function getTranslation_LoaderService() |
|
| 1700 | { |
|
| 1701 | $a = $this->get('translation.loader.xliff'); |
|
| 1702 | ||
| 1703 | $this->services['translation.loader'] = $instance = new \Symfony\Bundle\FrameworkBundle\Translation\TranslationLoader(); |
|
| 1704 | ||
| 1705 | $instance->addLoader('php', $this->get('translation.loader.php')); |
|
| 1706 | $instance->addLoader('yml', $this->get('translation.loader.yml')); |
|
| 1707 | $instance->addLoader('xlf', $a); |
|
| 1708 | $instance->addLoader('xliff', $a); |
|
| 1709 | $instance->addLoader('po', $this->get('translation.loader.po')); |
|
| 1710 | $instance->addLoader('mo', $this->get('translation.loader.mo')); |
|
| 1711 | $instance->addLoader('ts', $this->get('translation.loader.qt')); |
|
| 1712 | $instance->addLoader('csv', $this->get('translation.loader.csv')); |
|
| 1713 | $instance->addLoader('res', $this->get('translation.loader.res')); |
|
| 1714 | $instance->addLoader('dat', $this->get('translation.loader.dat')); |
|
| 1715 | $instance->addLoader('ini', $this->get('translation.loader.ini')); |
|
| 1716 | $instance->addLoader('json', $this->get('translation.loader.json')); |
|
| 1717 | ||
| 1718 | return $instance; |
|
| 1719 | } |
|
| 1720 | ||
| 1721 | /* |
|
| 1722 | * Gets the 'translation.loader.csv' service. |
|