he.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import 'moment/locale/he';
  2. import * as FullCalendar from 'fullcalendar';
  3. /* Hebrew initialisation for the UI Datepicker extension. */
  4. /* Written by Amir Hardon (ahardon at gmail dot com). */
  5. FullCalendar.datepickerLocale('he', 'he', {
  6. closeText: "סגור",
  7. prevText: "<הקודם",
  8. nextText: "הבא>",
  9. currentText: "היום",
  10. monthNames: [ "ינואר","פברואר","מרץ","אפריל","מאי","יוני",
  11. "יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר" ],
  12. monthNamesShort: [ "ינו","פבר","מרץ","אפר","מאי","יוני",
  13. "יולי","אוג","ספט","אוק","נוב","דצמ" ],
  14. dayNames: [ "ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת" ],
  15. dayNamesShort: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ],
  16. dayNamesMin: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ],
  17. weekHeader: "Wk",
  18. dateFormat: "dd/mm/yy",
  19. firstDay: 0,
  20. isRTL: true,
  21. showMonthAfterYear: false,
  22. yearSuffix: "" });
  23. FullCalendar.locale("he", {
  24. buttonText: {
  25. month: "חודש",
  26. week: "שבוע",
  27. day: "יום",
  28. list: "סדר יום"
  29. },
  30. allDayText: "כל היום",
  31. eventLimitText: "אחר",
  32. noEventsMessage: "אין אירועים להצגה",
  33. weekNumberTitle: "שבוע"
  34. });