Skip to content

Commit

Permalink
[TASK] Add Maori locale and flag
Browse files Browse the repository at this point in the history
This patch adds the locale Maori and it's flag for New Zealand.

Resolves: #89693
Releases: master, 9.5
Change-Id: I79ca0f1926c8d9d16f1c63480e80baf157938073
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62333
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
  • Loading branch information
gilbertsoft authored and tmotyl committed Nov 17, 2019
1 parent fb6925b commit a8c16c4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@
['mf', 'mf', 'flags-mf'],
['mg', 'mg', 'flags-mg'],
['mh', 'mh', 'flags-mh'],
['mi', 'mi', 'flags-mi'],
['mk', 'mk', 'flags-mk'],
['ml', 'ml', 'flags-ml'],
['mm', 'mm', 'flags-mm'],
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Classes/Imaging/IconRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ protected function registerFlags()
'JE', 'JM', 'JO', 'JP',
'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ',
'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY',
'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ',
'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MI', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ',
'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ',
'OM',
'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PW', 'PY',
Expand Down
1 change: 1 addition & 0 deletions typo3/sysext/core/Classes/Localization/Locales.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class Locales implements SingletonInterface
'ko' => 'Korean',
'lt' => 'Lithuanian',
'lv' => 'Latvian',
'mi' => 'Maori',
'ms' => 'Malay',
'nl' => 'Dutch',
'no' => 'Norwegian',
Expand Down
1 change: 1 addition & 0 deletions typo3/sysext/core/Configuration/TCA/sys_language.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
['mf', 'mf', 'flags-mf'],
['mg', 'mg', 'flags-mg'],
['mh', 'mh', 'flags-mh'],
['mi', 'mi', 'flags-mi'],
['mk', 'mk', 'flags-mk'],
['ml', 'ml', 'flags-ml'],
['mm', 'mm', 'flags-mm'],
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/core/Resources/Private/Language/db.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
<source>Maltese</source>
</trans-unit>
<trans-unit id="sys_language.language_isocode.mi" resname="sys_language.language_isocode.mi">
<source>Māori</source>
<source>Maori (Te Reo Māori)</source>
</trans-unit>
<trans-unit id="sys_language.language_isocode.mr" resname="sys_language.language_isocode.mr">
<source>Marathi (Marāṭhī)</source>
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a8c16c4

Please sign in to comment.