Browse Source

Update getMonths() helper and corresponding lang files

Add time lang for de locale
pull/7/head
Nafies Luthfi 8 years ago
parent
commit
9aae156516
  1. 24
      app/helpers.php
  2. 18
      resources/lang/de/time.php
  3. 2
      resources/lang/en/time.php
  4. 2
      resources/lang/id/time.php

24
app/helpers.php

@ -86,18 +86,18 @@ function monthId($monthNumber)
function getMonths()
{
return [
'01' => __('time.month.01'),
'02' => __('time.month.02'),
'03' => __('time.month.03'),
'04' => __('time.month.04'),
'05' => __('time.month.05'),
'06' => __('time.month.06'),
'07' => __('time.month.07'),
'08' => __('time.month.08'),
'09' => __('time.month.09'),
'10' => __('time.month.10'),
'11' => __('time.month.11'),
'12' => __('time.month.12'),
'01' => __('time.months.01'),
'02' => __('time.months.02'),
'03' => __('time.months.03'),
'04' => __('time.months.04'),
'05' => __('time.months.05'),
'06' => __('time.months.06'),
'07' => __('time.months.07'),
'08' => __('time.months.08'),
'09' => __('time.months.09'),
'10' => __('time.months.10'),
'11' => __('time.months.11'),
'12' => __('time.months.12'),
];
}

18
resources/lang/de/time.php

@ -0,0 +1,18 @@
<?php
return [
'months' => [
'01' => 'Januar',
'02' => 'Februari',
'03' => 'März',
'04' => 'April',
'05' => 'Kann',
'06' => 'June',
'07' => 'July',
'08' => 'August',
'09' => 'September',
'10' => 'Oktober',
'11' => 'November',
'12' => 'Dezember',
],
];

2
resources/lang/en/time.php

@ -1,7 +1,7 @@
<?php
return [
'month' => [
'months' => [
'01' => 'January',
'02' => 'Februari',
'03' => 'March',

2
resources/lang/id/time.php

@ -1,7 +1,7 @@
<?php
return [
'month' => [
'months' => [
'01' => 'Januari',
'02' => 'Pebruari',
'03' => 'Maret',

Loading…
Cancel
Save