[TASK] Add missing flag english (US+UK) for sys_language record 61/43561/2
authorFrank Nägler <frank.naegler@typo3.org>
Fri, 25 Sep 2015 08:37:58 +0000 (10:37 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 25 Sep 2015 08:41:29 +0000 (10:41 +0200)
Resolves: #29531
Releases: master
Change-Id: Ia1e800c8fe24fc53ea959549c9d707b949cf0aa2
Reviewed-on: http://review.typo3.org/43561
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/core/Configuration/TCA/sys_language.php
typo3/sysext/core/Resources/Public/Icons/Flags/en_us-gb.png [new file with mode: 0644]

index 9a7fb3f..ea7f7fb 100644 (file)
@@ -1716,6 +1716,12 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
                                'source' => 'EXT:core/Resources/Public/Icons/Flags/cs.png'
                        )
                ),
+               'flags-en-us-gb' => array(
+                       'provider' => BitmapIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:core/Resources/Public/Icons/Flags/en_us-gb.png'
+                       )
+               ),
                'flags-fam' => array(
                        'provider' => BitmapIconProvider::class,
                        'options' => array(
index 6c66562..75ac095 100644 (file)
@@ -138,6 +138,7 @@ return array(
                                        array('ee', 'ee', 'flags-ee'),
                                        array('eg', 'eg', 'flags-eg'),
                                        array('eh', 'eh', 'flags-eh'),
+                                       array('en-us-gb', 'en-us-gb', 'flags-en-us-gb'),
                                        array('england', 'england', 'flags-gb-eng'),
                                        array('er', 'er', 'flags-er'),
                                        array('es', 'es', 'flags-es'),
diff --git a/typo3/sysext/core/Resources/Public/Icons/Flags/en_us-gb.png b/typo3/sysext/core/Resources/Public/Icons/Flags/en_us-gb.png
new file mode 100644 (file)
index 0000000..ca1266f
Binary files /dev/null and b/typo3/sysext/core/Resources/Public/Icons/Flags/en_us-gb.png differ