Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ur.js 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //! moment.js locale configuration
  2. //! locale : Urdu [ur]
  3. //! author : Sawood Alam : https://github.com/ibnesayeed
  4. //! author : Zack : https://github.com/ZackVision
  5. import moment from '../moment';
  6. var months = [
  7. 'جنوری',
  8. 'فروری',
  9. 'مارچ',
  10. 'اپریل',
  11. 'مئی',
  12. 'جون',
  13. 'جولائی',
  14. 'اگست',
  15. 'ستمبر',
  16. 'اکتوبر',
  17. 'نومبر',
  18. 'دسمبر',
  19. ],
  20. days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  21. export default moment.defineLocale('ur', {
  22. months: months,
  23. monthsShort: months,
  24. weekdays: days,
  25. weekdaysShort: days,
  26. weekdaysMin: days,
  27. longDateFormat: {
  28. LT: 'HH:mm',
  29. LTS: 'HH:mm:ss',
  30. L: 'DD/MM/YYYY',
  31. LL: 'D MMMM YYYY',
  32. LLL: 'D MMMM YYYY HH:mm',
  33. LLLL: 'dddd، D MMMM YYYY HH:mm',
  34. },
  35. meridiemParse: /صبح|شام/,
  36. isPM: function (input) {
  37. return 'شام' === input;
  38. },
  39. meridiem: function (hour, minute, isLower) {
  40. if (hour < 12) {
  41. return 'صبح';
  42. }
  43. return 'شام';
  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. relativeTime: {
  54. future: '%s بعد',
  55. past: '%s قبل',
  56. s: 'چند سیکنڈ',
  57. ss: '%d سیکنڈ',
  58. m: 'ایک منٹ',
  59. mm: '%d منٹ',
  60. h: 'ایک گھنٹہ',
  61. hh: '%d گھنٹے',
  62. d: 'ایک دن',
  63. dd: '%d دن',
  64. M: 'ایک ماہ',
  65. MM: '%d ماہ',
  66. y: 'ایک سال',
  67. yy: '%d سال',
  68. },
  69. preparse: function (string) {
  70. return string.replace(/،/g, ',');
  71. },
  72. postformat: function (string) {
  73. return string.replace(/,/g, '،');
  74. },
  75. week: {
  76. dow: 1, // Monday is the first day of the week.
  77. doy: 4, // The week that contains Jan 4th is the first week of the year.
  78. },
  79. });