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.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. ;(function (global, factory) {
  6. typeof exports === 'object' && typeof module !== 'undefined'
  7. && typeof require === 'function' ? factory(require('../moment')) :
  8. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  9. factory(global.moment)
  10. }(this, (function (moment) { 'use strict';
  11. //! moment.js locale configuration
  12. var months = [
  13. 'جنوری',
  14. 'فروری',
  15. 'مارچ',
  16. 'اپریل',
  17. 'مئی',
  18. 'جون',
  19. 'جولائی',
  20. 'اگست',
  21. 'ستمبر',
  22. 'اکتوبر',
  23. 'نومبر',
  24. 'دسمبر',
  25. ],
  26. days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  27. var ur = moment.defineLocale('ur', {
  28. months: months,
  29. monthsShort: months,
  30. weekdays: days,
  31. weekdaysShort: days,
  32. weekdaysMin: days,
  33. longDateFormat: {
  34. LT: 'HH:mm',
  35. LTS: 'HH:mm:ss',
  36. L: 'DD/MM/YYYY',
  37. LL: 'D MMMM YYYY',
  38. LLL: 'D MMMM YYYY HH:mm',
  39. LLLL: 'dddd، D MMMM YYYY HH:mm',
  40. },
  41. meridiemParse: /صبح|شام/,
  42. isPM: function (input) {
  43. return 'شام' === input;
  44. },
  45. meridiem: function (hour, minute, isLower) {
  46. if (hour < 12) {
  47. return 'صبح';
  48. }
  49. return 'شام';
  50. },
  51. calendar: {
  52. sameDay: '[آج بوقت] LT',
  53. nextDay: '[کل بوقت] LT',
  54. nextWeek: 'dddd [بوقت] LT',
  55. lastDay: '[گذشتہ روز بوقت] LT',
  56. lastWeek: '[گذشتہ] dddd [بوقت] LT',
  57. sameElse: 'L',
  58. },
  59. relativeTime: {
  60. future: '%s بعد',
  61. past: '%s قبل',
  62. s: 'چند سیکنڈ',
  63. ss: '%d سیکنڈ',
  64. m: 'ایک منٹ',
  65. mm: '%d منٹ',
  66. h: 'ایک گھنٹہ',
  67. hh: '%d گھنٹے',
  68. d: 'ایک دن',
  69. dd: '%d دن',
  70. M: 'ایک ماہ',
  71. MM: '%d ماہ',
  72. y: 'ایک سال',
  73. yy: '%d سال',
  74. },
  75. preparse: function (string) {
  76. return string.replace(/،/g, ',');
  77. },
  78. postformat: function (string) {
  79. return string.replace(/,/g, '،');
  80. },
  81. week: {
  82. dow: 1, // Monday is the first day of the week.
  83. doy: 4, // The week that contains Jan 4th is the first week of the year.
  84. },
  85. });
  86. return ur;
  87. })));