@@ -12,50 +12,30 @@ You can present the interface of DHTMLX To Do List in any language. The library
1212
1313~~~ js
1414const en = {
15- // calendar
16- calendar: {
15+ calendar: { // translations and settings of the calendar
1716 monthFull: [
18- " January" ,
19- " February" ,
20- " March" ,
21- " April" ,
22- " May" ,
23- " June" ,
24- " July" ,
25- " August" ,
26- " September" ,
27- " October" ,
28- " November" ,
29- " December" ,
17+ " January" , " February" , " March" ,
18+ " April" , " May" , " June" ,
19+ " July" , " August" , " September" ,
20+ " October" , " November" , " December"
3021 ],
3122 monthShort: [
32- " Jan" ,
33- " Feb" ,
34- " Mar" ,
35- " Apr" ,
36- " May" ,
37- " Jun" ,
38- " Jul" ,
39- " Aug" ,
40- " Sep" ,
41- " Oct" ,
42- " Nov" ,
43- " Dec" ,
23+ " Jan" , " Feb" , " Mar" ,
24+ " Apr" , " May" , " Jun" ,
25+ " Jul" , " Aug" , " Sep" ,
26+ " Oct" , " Nov" , " Dec"
4427 ],
4528 dayFull: [
46- " Sunday" ,
47- " Monday" ,
48- " Tuesday" ,
49- " Wednesday" ,
50- " Thursday" ,
51- " Friday" ,
52- " Saturday" ,
29+ " Sunday" , " Monday" , " Tuesday" ,
30+ " Wednesday" , " Thursday" , " Friday" , " Saturday"
5331 ],
5432 dayShort: [" Sun" , " Mon" , " Tue" , " Wed" , " Thu" , " Fri" , " Sat" ],
5533
5634 clear: " Clear" ,
5735 done: " Done" ,
5836 today: " Today" ,
37+
38+ weekStart: 1 // defines a first day of week (Monday by default)
5939 },
6040 // To Do List
6141 todo: {
@@ -109,6 +89,7 @@ const en = {
10989 " Ctrl+D" : " Ctrl+D" ,
11090 " Ctrl+C" : " Ctrl+C" ,
11191 " Ctrl+V" : " Ctrl+V" ,
92+
11293 // For Mac OS
11394 " CMD+D" : " CMD+D" ,
11495 " CMD+C" : " CMD+C" ,
@@ -120,7 +101,7 @@ const en = {
120101 // Other
121102 " Search" : " Search" ,
122103 " Add task" : " Add task" ,
123- " New project" : " New project" ,
104+ " New project" : " New project"
124105 }
125106};
126107~~~
@@ -138,7 +119,7 @@ const de = {
138119 },
139120 todo: {
140121 // translations for To Do List labels
141- },
122+ }
142123};
143124~~~
144125
@@ -153,9 +134,9 @@ You can download [**a repository from GitHub**](https://github.com/web-widgets/w
153134- French (** fr** )
154135- German (** de** )
155136- English (** en** )
156- - Italian (** it** )
157- - Japanese (** jp** )
158- - Portuguese (** pt** )
137+ - Italian (** it** )
138+ - Japanese (** jp** )
139+ - Portuguese (** pt** )
159140- Russian (** ru** )
160141- Spanish (** es** )
161142
@@ -189,4 +170,4 @@ To change the locale dynamically, use the related `setLocale()` methods of the [
189170
190171In this snippet you can see how to switch between the EN and DE locales:
191172
192- <iframe src =" https://snippet.dhtmlx.com/kzjwvuq5?mode=js " frameborder =" 0 " class =" snippet_iframe " width =" 100% " height =" 500 " ></iframe >
173+ <iframe src =" https://snippet.dhtmlx.com/kzjwvuq5?mode=js " frameborder =" 0 " class =" snippet_iframe " width =" 100% " height =" 500 " ></iframe >
0 commit comments