Skip to content

Commit cf00db8

Browse files
committed
1 parent d28e8d6 commit cf00db8

File tree

5 files changed

+166
-7
lines changed

5 files changed

+166
-7
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ For **Angular** use the component [ng-gantt](https://github.com/jsGanttImproved/
2121

2222
For **React** use the component [react-jsgantt](https://github.com/jsGanttImproved/react-jsgantt)
2323

24-
25-
For **Vue** , see this example: https://stackblitz.com/edit/vue-jsgantt
26-
24+
For **Vue** , see this example: https://stackblitz.com/edit/vue-jsgantt-3
2725

2826
For **.NET** , see this example: [.NET Documentation](./docs/DotNet.md)
2927

@@ -124,22 +122,32 @@ g.Draw();
124122
* Load Gantt from JSON and XML
125123
* From external files (including experimental support for MS Project XML files)
126124
* From JavaScript Strings
127-
* Support for Internationalization
125+
126+
### Internationalization
127+
128+
Support for languages below:
129+
130+
* Arabic (ar)
128131
* Chinese (cn)
129132
* Czech (cs)
130133
* Dutch (Standard)
131-
* selected>English (en)
134+
* English (en)
132135
* French (fr)
136+
* Finnish (fi)
133137
* German (de)
138+
* Hebrew (he)
134139
* Hungarian (hu)
140+
* Korean (ko)
135141
* Indonesian (id)
136142
* Italian (it)
137143
* Japanese (ja)
138144
* Portuguese (pt)
145+
* Polish (pl)
139146
* Russian (ru)
140147
* Spanish (es)
141148
* Swedish (sv)
142149
* Turkish (tr)
150+
* Ukraininan (ua)
143151

144152
## Documentation
145153

dist/jsgantt.js

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ exports.addJSONTask = function (pGanttVar, pJsonObj) {
17731773
},{"./task":10,"./utils/general_utils":13}],8:[function(require,module,exports){
17741774
"use strict";
17751775
Object.defineProperty(exports, "__esModule", { value: true });
1776-
exports.tr = exports.sv = exports.ru = exports.pt = exports.pl = exports.nl = exports.ko = exports.ja = exports.id = exports.it = exports.hu = exports.he = exports.fr = exports.fi = exports.de = exports.es = exports.en = exports.cs = exports.cn = exports.ar = void 0;
1776+
exports.ua = exports.tr = exports.sv = exports.ru = exports.pt = exports.pl = exports.nl = exports.ko = exports.ja = exports.id = exports.it = exports.hu = exports.he = exports.fr = exports.fi = exports.de = exports.es = exports.en = exports.cs = exports.cn = exports.ar = void 0;
17771777
var ar = {
17781778
'format': 'التنسيق',
17791779
'hour': 'ساعة',
@@ -3257,6 +3257,81 @@ var tr = {
32573257
'sat': 'Cmt'
32583258
};
32593259
exports.tr = tr;
3260+
var ua = {
3261+
'january': 'Січень',
3262+
'february': 'Лютий',
3263+
'march': 'Березень',
3264+
'april': 'Квітень',
3265+
'maylong': 'Травень',
3266+
'june': 'Червень',
3267+
'july': 'Липень',
3268+
'august': 'Серпень',
3269+
'september': 'Вересень',
3270+
'october': 'Жовтень',
3271+
'november': 'Листопад',
3272+
'december': 'Грудень',
3273+
'jan': 'Січ',
3274+
'feb': 'Лют',
3275+
'mar': 'Бер',
3276+
'apr': 'Кві',
3277+
'may': 'Тра',
3278+
'jun': 'Чер',
3279+
'jul': 'Лип',
3280+
'aug': 'Сер',
3281+
'sep': 'Вер',
3282+
'oct': 'Жов',
3283+
'nov': 'Лис',
3284+
'dec': 'Гру',
3285+
'sunday': 'Неділя',
3286+
'monday': 'Понеділок',
3287+
'tuesday': 'Вівторок',
3288+
'wednesday': 'Середа',
3289+
'thursday': 'Четвер',
3290+
'friday': 'П\'ятниця',
3291+
'saturday': 'Субота',
3292+
'sun': ' Нд',
3293+
'mon': 'Пн',
3294+
'tue': ' Вт',
3295+
'wed': 'Ср',
3296+
'thu': ' Чт',
3297+
'fri': ' Пт',
3298+
'sat': ' Сб',
3299+
'res': 'Ресурс',
3300+
'dur': 'Тривалість',
3301+
'comp': '% виконання',
3302+
'completion': 'Виконано',
3303+
'startdate': 'Поч. дата',
3304+
'planstartdate': 'План Поч. дата',
3305+
'enddate': 'Кін. дата',
3306+
'planenddate': 'План Кін. дата',
3307+
'cost': 'Вартість',
3308+
'moreinfo': 'Деталі',
3309+
'nodata': 'Нічого не знайдено',
3310+
'notes': 'Нотатки',
3311+
'format': 'Формат',
3312+
'hour': 'Година',
3313+
'day': 'День',
3314+
'week': 'Неділя',
3315+
'month': 'Місяць',
3316+
'quarter': 'Кварт',
3317+
'hours': 'Годин',
3318+
'days': 'Днів',
3319+
'weeks': 'Тижнів',
3320+
'months': 'Місяців',
3321+
'quarters': 'Кварталів',
3322+
'hr': 'г.',
3323+
'dy': 'дн.',
3324+
'wk': 'тиж.',
3325+
'mth': 'міс.',
3326+
'qtr': 'кв.',
3327+
'hrs': 'г.',
3328+
'dys': 'дн.',
3329+
'wks': 'тиж.',
3330+
'mths': 'міс.',
3331+
'qtrs': 'кв.',
3332+
'tooltipLoading': 'Загрузка...'
3333+
};
3334+
exports.ua = ua;
32603335

32613336
},{}],9:[function(require,module,exports){
32623337
"use strict";

docs/demo-plan-color.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ <h3 class="row">Hide and Show Properties</h3>
155155
<option value='es'>Spanish (es)</option>
156156
<option value='sv'>Swedish (sv)</option>
157157
<option value='tr'>Turkish (tr)</option>
158+
<option value='ua'>Ukraininan (ua)</option>
158159
</select>
159160

160161
<br />

docs/demo.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ <h3 class="row">Hide and Show Properties</h3>
153153
<option value='es'>Spanish (es)</option>
154154
<option value='sv'>Swedish (sv)</option>
155155
<option value='tr'>Turkish (tr)</option>
156+
<option value='ua'>Ukraininan (ua)</option>
156157
</select>
157158

158159
<br />

src/lang.ts

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,5 +1554,79 @@ const tr = {
15541554
'sat': 'Cmt'
15551555
}
15561556

1557+
const ua = {
1558+
'january': 'Січень',
1559+
'february': 'Лютий',
1560+
'march': 'Березень',
1561+
'april': 'Квітень',
1562+
'maylong': 'Травень',
1563+
'june': 'Червень',
1564+
'july': 'Липень',
1565+
'august': 'Серпень',
1566+
'september': 'Вересень',
1567+
'october': 'Жовтень',
1568+
'november': 'Листопад',
1569+
'december': 'Грудень',
1570+
'jan': 'Січ',
1571+
'feb': 'Лют',
1572+
'mar': 'Бер',
1573+
'apr': 'Кві',
1574+
'may': 'Тра',
1575+
'jun': 'Чер',
1576+
'jul': 'Лип',
1577+
'aug': 'Сер',
1578+
'sep': 'Вер',
1579+
'oct': 'Жов',
1580+
'nov': 'Лис',
1581+
'dec': 'Гру',
1582+
'sunday': 'Неділя',
1583+
'monday': 'Понеділок',
1584+
'tuesday': 'Вівторок',
1585+
'wednesday': 'Середа',
1586+
'thursday': 'Четвер',
1587+
'friday': 'П\'ятниця',
1588+
'saturday': 'Субота',
1589+
'sun': ' Нд',
1590+
'mon': 'Пн',
1591+
'tue': ' Вт',
1592+
'wed': 'Ср',
1593+
'thu': ' Чт',
1594+
'fri': ' Пт',
1595+
'sat': ' Сб',
1596+
'res': 'Ресурс',
1597+
'dur': 'Тривалість',
1598+
'comp': '% виконання',
1599+
'completion': 'Виконано',
1600+
'startdate': 'Поч. дата',
1601+
'planstartdate': 'План Поч. дата',
1602+
'enddate': 'Кін. дата',
1603+
'planenddate': 'План Кін. дата',
1604+
'cost': 'Вартість',
1605+
'moreinfo': 'Деталі',
1606+
'nodata': 'Нічого не знайдено',
1607+
'notes': 'Нотатки',
1608+
'format': 'Формат',
1609+
'hour': 'Година',
1610+
'day': 'День',
1611+
'week': 'Неділя',
1612+
'month': 'Місяць',
1613+
'quarter': 'Кварт',
1614+
'hours': 'Годин',
1615+
'days': 'Днів',
1616+
'weeks': 'Тижнів',
1617+
'months': 'Місяців',
1618+
'quarters': 'Кварталів',
1619+
'hr': 'г.',
1620+
'dy': 'дн.',
1621+
'wk': 'тиж.',
1622+
'mth': 'міс.',
1623+
'qtr': 'кв.',
1624+
'hrs': 'г.',
1625+
'dys': 'дн.',
1626+
'wks': 'тиж.',
1627+
'mths': 'міс.',
1628+
'qtrs': 'кв.',
1629+
'tooltipLoading': 'Загрузка...'
1630+
}
15571631

1558-
export { ar, scn, cn, cs, en, es, de, fi, fr, he, hu, it, id, ja, ko, nl, pl, pt, ru, sv, tr }
1632+
export { ar, scn, cn, cs, en, es, de, fi, fr, he, hu, it, id, ja, ko, nl, pl, pt, ru, sv, tr, ua }

0 commit comments

Comments
 (0)