فهرست منبع

change way locales import

Adam Shaw 7 سال پیش
والد
کامیت
ce897a6bb9
64فایلهای تغییر یافته به همراه128 افزوده شده و 128 حذف شده
  1. 2 2
      locale-v4/af.js
  2. 2 2
      locale-v4/ar-dz.js
  3. 2 2
      locale-v4/ar-kw.js
  4. 2 2
      locale-v4/ar-ly.js
  5. 2 2
      locale-v4/ar-ma.js
  6. 2 2
      locale-v4/ar-sa.js
  7. 2 2
      locale-v4/ar-tn.js
  8. 2 2
      locale-v4/ar.js
  9. 2 2
      locale-v4/bg.js
  10. 2 2
      locale-v4/bs.js
  11. 2 2
      locale-v4/ca.js
  12. 2 2
      locale-v4/cs.js
  13. 2 2
      locale-v4/da.js
  14. 2 2
      locale-v4/de.js
  15. 2 2
      locale-v4/el.js
  16. 2 2
      locale-v4/en-au.js
  17. 2 2
      locale-v4/en-gb.js
  18. 2 2
      locale-v4/en-nz.js
  19. 2 2
      locale-v4/es-us.js
  20. 2 2
      locale-v4/es.js
  21. 2 2
      locale-v4/et.js
  22. 2 2
      locale-v4/eu.js
  23. 2 2
      locale-v4/fa.js
  24. 2 2
      locale-v4/fi.js
  25. 2 2
      locale-v4/fr-ca.js
  26. 2 2
      locale-v4/fr-ch.js
  27. 2 2
      locale-v4/fr.js
  28. 2 2
      locale-v4/gl.js
  29. 2 2
      locale-v4/he.js
  30. 2 2
      locale-v4/hi.js
  31. 2 2
      locale-v4/hr.js
  32. 2 2
      locale-v4/hu.js
  33. 2 2
      locale-v4/id.js
  34. 2 2
      locale-v4/is.js
  35. 2 2
      locale-v4/it.js
  36. 2 2
      locale-v4/ja.js
  37. 2 2
      locale-v4/ka.js
  38. 2 2
      locale-v4/kk.js
  39. 2 2
      locale-v4/ko.js
  40. 2 2
      locale-v4/lb.js
  41. 2 2
      locale-v4/lt.js
  42. 2 2
      locale-v4/lv.js
  43. 2 2
      locale-v4/mk.js
  44. 2 2
      locale-v4/ms.js
  45. 2 2
      locale-v4/nb.js
  46. 2 2
      locale-v4/nl.js
  47. 2 2
      locale-v4/nn.js
  48. 2 2
      locale-v4/pl.js
  49. 2 2
      locale-v4/pt-br.js
  50. 2 2
      locale-v4/pt.js
  51. 2 2
      locale-v4/ro.js
  52. 2 2
      locale-v4/ru.js
  53. 2 2
      locale-v4/sk.js
  54. 2 2
      locale-v4/sl.js
  55. 2 2
      locale-v4/sq.js
  56. 2 2
      locale-v4/sr-cyrl.js
  57. 2 2
      locale-v4/sr.js
  58. 2 2
      locale-v4/sv.js
  59. 2 2
      locale-v4/th.js
  60. 2 2
      locale-v4/tr.js
  61. 2 2
      locale-v4/uk.js
  62. 2 2
      locale-v4/vi.js
  63. 2 2
      locale-v4/zh-cn.js
  64. 2 2
      locale-v4/zh-tw.js

+ 2 - 2
locale-v4/af.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("af", {
+defineLocale("af", {
   week: {
     dow: 1, // Maandag is die eerste dag van die week.
     doy: 4  // Die week wat die 4de Januarie bevat is die eerste week van die jaar.

+ 2 - 2
locale-v4/ar-dz.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ar-dz", {
+defineLocale("ar-dz", {
   week: {
     dow: 0, // Sunday is the first day of the week.
     doy: 4  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ar-kw.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ar-kw", {
+defineLocale("ar-kw", {
   week: {
     dow: 0, // Sunday is the first day of the week.
     doy: 12  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ar-ly.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ar-ly", {
+defineLocale("ar-ly", {
   week: {
     dow: 6, // Saturday is the first day of the week.
     doy: 12  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ar-ma.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ar-ma", {
+defineLocale("ar-ma", {
   week: {
     dow: 6, // Saturday is the first day of the week.
     doy: 12  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ar-sa.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ar-sa", {
+defineLocale("ar-sa", {
   week: {
     dow: 0, // Sunday is the first day of the week.
     doy: 6  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ar-tn.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ar-tn", {
+defineLocale("ar-tn", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4 // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/ar.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ar", {
+defineLocale("ar", {
   week: {
     dow: 6, // Saturday is the first day of the week.
     doy: 12  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/bg.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("bg", {
+defineLocale("bg", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/bs.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("bs", {
+defineLocale("bs", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ca.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ca", {
+defineLocale("ca", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/cs.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("cs", {
+defineLocale("cs", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/da.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("da", {
+defineLocale("da", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/de.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("de", {
+defineLocale("de", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/el.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("el", {
+defineLocale("el", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4st is the first week of the year.

+ 2 - 2
locale-v4/en-au.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("en-au", {
+defineLocale("en-au", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/en-gb.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("en-gb", {
+defineLocale("en-gb", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/en-nz.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("en-nz", {
+defineLocale("en-nz", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/es-us.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("es", {
+defineLocale("es", {
   week: {
     dow: 0, // Sunday is the first day of the week.
     doy: 6  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/es.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("es", {
+defineLocale("es", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/et.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("et", {
+defineLocale("et", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/eu.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("eu", {
+defineLocale("eu", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/fa.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("fa", {
+defineLocale("fa", {
   week: {
     dow: 6, // Saturday is the first day of the week.
     doy: 12 // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/fi.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("fi", {
+defineLocale("fi", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/fr-ca.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("fr", {
+defineLocale("fr", {
   buttonText: {
     prev: "Précédent",
     next: "Suivant",

+ 2 - 2
locale-v4/fr-ch.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("fr-ch", {
+defineLocale("fr-ch", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/fr.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("fr", {
+defineLocale("fr", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/gl.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("gl", {
+defineLocale("gl", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/he.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("he", {
+defineLocale("he", {
   isRTL: true,
   buttonText: {
     prev: "הקודם",

+ 2 - 2
locale-v4/hi.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("hi", {
+defineLocale("hi", {
   week: {
     dow: 0, // Sunday is the first day of the week.
     doy: 6  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/hr.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("hr", {
+defineLocale("hr", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/hu.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("hu", {
+defineLocale("hu", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/id.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("id", {
+defineLocale("id", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/is.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("is", {
+defineLocale("is", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/it.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("it", {
+defineLocale("it", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/ja.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ja", {
+defineLocale("ja", {
   buttonText: {
     prev: "前",
     next: "次",

+ 2 - 2
locale-v4/ka.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ka", {
+defineLocale("ka", {
   week: {
     dow: 1,
     doy: 7

+ 2 - 2
locale-v4/kk.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("kk", {
+defineLocale("kk", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ko.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ko", {
+defineLocale("ko", {
   buttonText: {
     prev: "이전달",
     next: "다음달",

+ 2 - 2
locale-v4/lb.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("lb", {
+defineLocale("lb", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/lt.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("lt", {
+defineLocale("lt", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/lv.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("lv", {
+defineLocale("lv", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/mk.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("mk", {
+defineLocale("mk", {
   buttonText: {
     prev: "претходно",
     next: "следно",

+ 2 - 2
locale-v4/ms.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ms", {
+defineLocale("ms", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/nb.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("nb", {
+defineLocale("nb", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/nl.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("nl", {
+defineLocale("nl", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/nn.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("nn", {
+defineLocale("nn", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/pl.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("pl", {
+defineLocale("pl", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/pt-br.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("pt-br", {
+defineLocale("pt-br", {
   buttonText: {
     prevText: "Anterior",
     nextText: "Próximo",

+ 2 - 2
locale-v4/pt.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("pt", {
+defineLocale("pt", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/ro.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ro", {
+defineLocale("ro", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/ru.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("ru", {
+defineLocale("ru", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/sk.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("sk", {
+defineLocale("sk", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/sl.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("sl", {
+defineLocale("sl", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/sq.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("sq", {
+defineLocale("sq", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/sr-cyrl.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("sr-cyrl", {
+defineLocale("sr-cyrl", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/sr.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("sr", {
+defineLocale("sr", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/sv.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("sv", {
+defineLocale("sv", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/th.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("th", {
+defineLocale("th", {
   buttonText: {
     prev: "ย้อน",
     next: "ถัดไป",

+ 2 - 2
locale-v4/tr.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("tr", {
+defineLocale("tr", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/uk.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("uk", {
+defineLocale("uk", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 7  // The week that contains Jan 1st is the first week of the year.

+ 2 - 2
locale-v4/vi.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("vi", {
+defineLocale("vi", {
   week: {
     dow: 1, // Monday is the first day of the week.
     doy: 4  // The week that contains Jan 4th is the first week of the year.

+ 2 - 2
locale-v4/zh-cn.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("zh-cn", {
+defineLocale("zh-cn", {
   week: {
     // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
     dow: 1, // Monday is the first day of the week.

+ 2 - 2
locale-v4/zh-tw.js

@@ -1,6 +1,6 @@
-import * as FullCalendar from 'fullcalendar';
+import { defineLocale } from 'fullcalendar';
 
-FullCalendar.locale("zh-tw", {
+defineLocale("zh-tw", {
   buttonText: {
     prev: "上月",
     next: "下月",