mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Add Maori locale data (mi, mi_NZ) from CLDR 1.9 to avoid Zend_Locale complaining (fixes #7386)
This commit is contained in:
parent
5b03f49245
commit
ad6b7a40ee
12
thirdparty/Zend/Locale.php
vendored
12
thirdparty/Zend/Locale.php
vendored
@ -115,7 +115,11 @@ class Zend_Locale
|
||||
'wal_ET'=> true, 'wal' => true, 'wo_SN' => true, 'wo' => true, 'xh_ZA' => true,
|
||||
'xh' => true, 'yo_NG' => true, 'yo' => true, 'zh_CN' => true, 'zh_HK' => true,
|
||||
'zh_MO' => true, 'zh_SG' => true, 'zh_TW' => true, 'zh' => true, 'zu_ZA' => true,
|
||||
'zu' => true
|
||||
'zu' => true,
|
||||
// CUSTOM SilverStripe Add Maori locales.
|
||||
// Remove once updating Zend_Locale to 2.0 (which uses CLDR 1.9), see
|
||||
// https://github.com/zendframework/zf2/tree/master/resources/cldr/main
|
||||
'mi' => true, 'mi_NZ' => true,
|
||||
);
|
||||
|
||||
/**
|
||||
@ -172,7 +176,11 @@ class Zend_Locale
|
||||
'TZ' => 'sw_TZ', 'UA' => 'uk_UA', 'UG' => 'sw_UG', 'UM' => 'en_UM', 'US' => 'en_US',
|
||||
'UY' => 'es_UY', 'UZ' => 'uz_Cyrl_UZ', 'VA' => 'it_VA', 'VC' => 'en_VC', 'VE' => 'es_VE',
|
||||
'VG' => 'en_VG', 'VI' => 'en_VI', 'VU' => 'bi_VU', 'WF' => 'wls_WF', 'WS' => 'sm_WS',
|
||||
'YE' => 'ar_YE', 'YT' => 'swb_YT', 'ZA' => 'en_ZA', 'ZM' => 'en_ZM', 'ZW' => 'sn_ZW'
|
||||
'YE' => 'ar_YE', 'YT' => 'swb_YT', 'ZA' => 'en_ZA', 'ZM' => 'en_ZM', 'ZW' => 'sn_ZW',
|
||||
// CUSTOM SilverStripe Add Maori locales.
|
||||
// Remove once updating Zend_Locale to 2.0 (which uses CLDR 1.9), see
|
||||
// https://github.com/zendframework/zf2/tree/master/resources/cldr/main
|
||||
'MI' => 'mi_NZ'
|
||||
);
|
||||
|
||||
/**
|
||||
|
51
thirdparty/Zend/Locale/Data/mi.xml
vendored
Normal file
51
thirdparty/Zend/Locale/Data/mi.xml
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<ldml>
|
||||
<identity>
|
||||
<version number="$Revision: 4599 $"/>
|
||||
<generation date="$Date: 2010-02-05 18:15:28 -0600 (Fri, 05 Feb 2010) $"/>
|
||||
<language type="mi"/>
|
||||
</identity>
|
||||
<characters>
|
||||
<exemplarCharacters>[a ā e ē h i ī k m n {ng} o ō p r t u ū w {wh}]</exemplarCharacters>
|
||||
<exemplarCharacters type="auxiliary">[b c d f g j l q s v x y z]</exemplarCharacters>
|
||||
<exemplarCharacters type="index">[A E H I K M N O P R T U W]</exemplarCharacters>
|
||||
</characters>
|
||||
<dates>
|
||||
<calendars>
|
||||
<calendar type="gregorian">
|
||||
<months>
|
||||
<monthContext type="format">
|
||||
<monthWidth type="wide">
|
||||
<month type="1">Hānuere</month>
|
||||
<month type="2">Pēpuere</month>
|
||||
<month type="3">Māehe</month>
|
||||
<month type="4">Āperira</month>
|
||||
<month type="5">Mei</month>
|
||||
<month type="6">Hune</month>
|
||||
<month type="7">Hūrae</month>
|
||||
<month type="8">Ākuhata</month>
|
||||
<month type="9">Hepetema</month>
|
||||
<month type="10">Oketopa</month>
|
||||
<month type="11">Noema</month>
|
||||
<month type="12">Tīhema</month>
|
||||
</monthWidth>
|
||||
</monthContext>
|
||||
</months>
|
||||
<days>
|
||||
<dayContext type="format">
|
||||
<dayWidth type="wide">
|
||||
<day type="sun">Rātapu</day>
|
||||
<day type="mon">Mane</day>
|
||||
<day type="tue">Tūrei</day>
|
||||
<day type="wed">Wenerei</day>
|
||||
<day type="thu">Tāite</day>
|
||||
<day type="fri">Paraire</day>
|
||||
<day type="sat">Hātarei</day>
|
||||
</dayWidth>
|
||||
</dayContext>
|
||||
</days>
|
||||
</calendar>
|
||||
</calendars>
|
||||
</dates>
|
||||
</ldml>
|
10
thirdparty/Zend/Locale/Data/mi_NZ.xml
vendored
Normal file
10
thirdparty/Zend/Locale/Data/mi_NZ.xml
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<ldml>
|
||||
<identity>
|
||||
<version number="$Revision: 4421 $"/>
|
||||
<generation date="$Date: 2009-11-24 01:10:06 -0600 (Tue, 24 Nov 2009) $"/>
|
||||
<language type="mi"/>
|
||||
<territory type="NZ"/>
|
||||
</identity>
|
||||
</ldml>
|
Loading…
Reference in New Issue
Block a user