Fix bug in generating Indonesian date names and add Ukrainian as a
language for autogenerating time translations
This commit is contained in:
parent
d0e11c323e
commit
6d40ae4c83
|
@ -26,6 +26,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
case ta;
|
||||
case tl;
|
||||
case tr;
|
||||
case uk;
|
||||
case zh;
|
||||
|
||||
/**
|
||||
|
@ -57,6 +58,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
'tl' => static::tl,
|
||||
'tr' => static::tr,
|
||||
'ja' => static::ja,
|
||||
'uk' => static::uk,
|
||||
'zh' => static::zh,
|
||||
};
|
||||
|
||||
|
@ -88,6 +90,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => 'ta_IN.UTF-8',
|
||||
self::tl => 'tl_PH.utf8',
|
||||
self::tr => 'tr_TR.utf8',
|
||||
self::uk => 'uk_UA.utf8',
|
||||
|
||||
// Languages that don't really need a specific locale
|
||||
self::ja => 'en_US.utf8',
|
||||
|
@ -122,6 +125,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => 'ta-IN',
|
||||
self::tl => 'tl-PH',
|
||||
self::tr => 'tr-TR',
|
||||
self::uk => 'uk-UA',
|
||||
|
||||
// Languages that don't really need a specific locale
|
||||
self::ja => 'en-US',
|
||||
|
@ -156,6 +160,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s பொ.ச.',
|
||||
self::tl => '%s AD',
|
||||
self::tr => '%s',
|
||||
self::uk => '%s',
|
||||
self::ja => '西暦%s',
|
||||
self::zh => '%s',
|
||||
};
|
||||
|
@ -188,6 +193,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => 'கிமு %s',
|
||||
self::tl => '%s BC',
|
||||
self::tr => 'MÖ %s',
|
||||
self::uk => '%s рік до нашої ери',
|
||||
|
||||
// Languges that don't really need a specific locale
|
||||
self::ja => '紀元前%s',
|
||||
|
@ -222,6 +228,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s',
|
||||
self::tl => '%s',
|
||||
self::tr => '%s',
|
||||
self::uk => '%s',
|
||||
self::ja => '%s年',
|
||||
self::zh => '%s年',
|
||||
};
|
||||
|
@ -254,6 +261,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s-%s',
|
||||
self::tl => '%s-%s',
|
||||
self::tr => '%s-%s',
|
||||
self::uk => '%s-%s',
|
||||
self::ja => '%s年から%s年',
|
||||
self::zh => '%s年至%s年',
|
||||
};
|
||||
|
@ -288,6 +296,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s முதல்',
|
||||
self::tl => 'Mula noong %s',
|
||||
self::tr => '%s-',
|
||||
self::uk => 'з %s року',
|
||||
|
||||
self::ja => '%s以来',
|
||||
self::zh => '自%s以來',
|
||||
|
@ -323,6 +332,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s க்குப் பிறகு',
|
||||
self::tl => 'Pagkaraan ng %s',
|
||||
self::tr => '%s-',
|
||||
self::uk => 'після %s року',
|
||||
self::ja => '%s以降',
|
||||
self::zh => '%s以后',
|
||||
};
|
||||
|
@ -357,6 +367,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s வரை',
|
||||
self::tl => 'Hanggang %s',
|
||||
self::tr => '%s-',
|
||||
self::uk => 'до %s року',
|
||||
self::ja => '%sまで',
|
||||
self::zh => '直到%s',
|
||||
};
|
||||
|
@ -390,6 +401,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s ஆம் நூற்றாண்டு',
|
||||
self::tl => 'Ika-%s na siglo',
|
||||
self::tr => '%s. yüzyıl',
|
||||
self::uk => '%s століття',
|
||||
self::ja => '%s世紀',
|
||||
self::zh => '%s世紀',
|
||||
};
|
||||
|
@ -423,6 +435,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s-%s ஆம் நூற்றாண்டு',
|
||||
self::tl => 'Ika-%s hanggang ika-%s na siglo',
|
||||
self::tr => '%s.-%s. yüzyıl',
|
||||
self::uk => '%s-%s століття',
|
||||
self::ja => '%s世紀-%s世紀',
|
||||
self::zh => '%s-%s世紀',
|
||||
};
|
||||
|
@ -456,6 +469,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s கள்',
|
||||
self::tl => '%ss',
|
||||
self::tr => '%s\'ler',
|
||||
self::uk => '%s-ті роки',
|
||||
self::ja => '%s年代',
|
||||
self::zh => '%s年代',
|
||||
};
|
||||
|
@ -489,6 +503,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s-%s கள்',
|
||||
self::tl => '%s-%ss',
|
||||
self::tr => '%s-%s\'ler',
|
||||
self::uk => '%s-%s-ті роки',
|
||||
self::ja => '%s年代から%s年代',
|
||||
self::zh => '%s年代-%s年代',
|
||||
};
|
||||
|
@ -523,6 +538,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%s க்கு முன்',
|
||||
self::tl => 'Bago ang %s',
|
||||
self::tr => '%s-',
|
||||
self::uk => 'до %s року',
|
||||
self::ja => '%s以前',
|
||||
self::zh => '%s之前',
|
||||
};
|
||||
|
@ -582,7 +598,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%d-%m-%Y',
|
||||
self::tl => '%Y-%m-%d',
|
||||
self::tr => '%d.%m.%Y',
|
||||
# self::uk => '%d.%m.%Y',
|
||||
self::uk => '%d.%m.%Y',
|
||||
# self::vi => '%d/%m/%Y',
|
||||
self::zh => '%Y年%m月%d日',
|
||||
};
|
||||
|
@ -615,7 +631,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
# self::ga => '%d/%m/%Y',
|
||||
# self::hr => '%d.%m.%Y',
|
||||
self::hu => 'Y. MMMM dd.',
|
||||
self::id => 'dd MMMM dd',
|
||||
self::id => 'dd MMMM Y',
|
||||
# self::in => '%d/%m/%Y',
|
||||
# self::is => '%d.%B.%Y',
|
||||
self::it => 'dd/MM/Y',
|
||||
|
@ -642,7 +658,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => 'dd-MM-Y',
|
||||
self::tl => 'Y-MM-dd',
|
||||
self::tr => 'dd.MM.Y',
|
||||
# self::uk => '%d.%m.%Y',
|
||||
self::uk => 'dd.MM.Y',
|
||||
# self::vi => '%d/%m/%Y',
|
||||
self::zh => 'Y年MM月dd日',
|
||||
};
|
||||
|
@ -698,7 +714,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => '%B %Y',
|
||||
self::tr => '%B %Y',
|
||||
self::tl => '%B %Y',
|
||||
# self::uk => '%m %Y',
|
||||
self::uk => '%m %Y',
|
||||
# self::vi => '%m %Y',
|
||||
self::zh => '%Y年%m月',
|
||||
};
|
||||
|
@ -754,7 +770,7 @@ enum NodaTimeAutotranslaterLocales {
|
|||
self::ta => 'MMMM Y',
|
||||
self::tr => 'MMMM Y',
|
||||
self::tl => 'MMMM Y',
|
||||
# self::uk => 'MM Y',
|
||||
self::uk => 'MMMM Y',
|
||||
# self::vi => 'MM Y',
|
||||
self::zh => 'Y年MM月',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user