ml.php 3.3 KB

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