Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This file is part of the Carbon package. |
| 5 | * |
| 6 | * (c) Brian Nesbitt <brian@nesbot.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | |
| 12 | /* |
| 13 | * Authors: |
| 14 | * - JD Isaacks |
| 15 | */ |
| 16 | return [ |
| 17 | 'year' => ':count വർഷം', |
| 18 | 'a_year' => 'ഒരു വർഷം|:count വർഷം', |
| 19 | 'month' => ':count മാസം', |
| 20 | 'a_month' => 'ഒരു മാസം|:count മാസം', |
| 21 | 'week' => ':count ആഴ്ച', |
| 22 | 'a_week' => 'ഒരാഴ്ച|:count ആഴ്ച', |
| 23 | 'day' => ':count ദിവസം', |
| 24 | 'a_day' => 'ഒരു ദിവസം|:count ദിവസം', |
| 25 | 'hour' => ':count മണിക്കൂർ', |
| 26 | 'a_hour' => 'ഒരു മണിക്കൂർ|:count മണിക്കൂർ', |
| 27 | 'minute' => ':count മിനിറ്റ്', |
| 28 | 'a_minute' => 'ഒരു മിനിറ്റ്|:count മിനിറ്റ്', |
| 29 | 'second' => ':count സെക്കൻഡ്', |
| 30 | 'a_second' => 'അൽപ നിമിഷങ്ങൾ|:count സെക്കൻഡ്', |
| 31 | 'ago' => ':time മുൻപ്', |
| 32 | 'from_now' => ':time കഴിഞ്ഞ്', |
| 33 | 'diff_now' => 'ഇപ്പോൾ', |
| 34 | 'diff_today' => 'ഇന്ന്', |
| 35 | 'diff_yesterday' => 'ഇന്നലെ', |
| 36 | 'diff_tomorrow' => 'നാളെ', |
| 37 | 'formats' => [ |
| 38 | 'LT' => 'A h:mm -നു', |
| 39 | 'LTS' => 'A h:mm:ss -നു', |
| 40 | 'L' => 'DD/MM/YYYY', |
| 41 | 'LL' => 'D MMMM YYYY', |
| 42 | 'LLL' => 'D MMMM YYYY, A h:mm -നു', |
| 43 | 'LLLL' => 'dddd, D MMMM YYYY, A h:mm -നു', |
| 44 | ], |
| 45 | 'calendar' => [ |
| 46 | 'sameDay' => '[ഇന്ന്] LT', |
| 47 | 'nextDay' => '[നാളെ] LT', |
| 48 | 'nextWeek' => 'dddd, LT', |
| 49 | 'lastDay' => '[ഇന്നലെ] LT', |
| 50 | 'lastWeek' => '[കഴിഞ്ഞ] dddd, LT', |
| 51 | 'sameElse' => 'L', |
| 52 | ], |
| 53 | 'meridiem' => function ($hour) { |
| 54 | if ($hour < 4) { |
| 55 | return 'രാത്രി'; |
| 56 | } |
| 57 | if ($hour < 12) { |
| 58 | return 'രാവിലെ'; |
| 59 | } |
| 60 | if ($hour < 17) { |
| 61 | return 'ഉച്ച കഴിഞ്ഞ്'; |
| 62 | } |
| 63 | if ($hour < 20) { |
| 64 | return 'വൈകുന്നേരം'; |
| 65 | } |
| 66 | |
| 67 | return 'രാത്രി'; |
| 68 | }, |
| 69 | 'months' => ['ജനുവരി', 'ഫെബ്രുവരി', 'മാർച്ച്', 'ഏപ്രിൽ', 'മേയ്', 'ജൂൺ', 'ജൂലൈ', 'ഓഗസ്റ്റ്', 'സെപ്റ്റംബർ', 'ഒക്ടോബർ', 'നവംബർ', 'ഡിസംബർ'], |
| 70 | 'months_short' => ['ജനു.', 'ഫെബ്രു.', 'മാർ.', 'ഏപ്രി.', 'മേയ്', 'ജൂൺ', 'ജൂലൈ.', 'ഓഗ.', 'സെപ്റ്റ.', 'ഒക്ടോ.', 'നവം.', 'ഡിസം.'], |
| 71 | 'weekdays' => ['ഞായറാഴ്ച', 'തിങ്കളാഴ്ച', 'ചൊവ്വാഴ്ച', 'ബുധനാഴ്ച', 'വ്യാഴാഴ്ച', 'വെള്ളിയാഴ്ച', 'ശനിയാഴ്ച'], |
| 72 | 'weekdays_short' => ['ഞായർ', 'തിങ്കൾ', 'ചൊവ്വ', 'ബുധൻ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], |
| 73 | 'weekdays_min' => ['ഞാ', 'തി', 'ചൊ', 'ബു', 'വ്യാ', 'വെ', 'ശ'], |
| 74 | 'list' => ', ', |
| 75 | 'weekend' => [0, 0], |
| 76 | ]; |