Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ukrainian language #837

Merged
merged 5 commits into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ Locale | Language | Status | Contributors
[nl](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/nl) | Nederlands (Netherlands) | ✔ | [dutchpatriot](https://github.com/dutchpatriot)
[pt-br](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/pt-br) | Português (Brasil) | ✔ | [cmsteinBR](https://github.com/cmsteinBR)
[ru](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/ru) | Ру́сский (Russian) | ✔ | [Denis Yusupov](https://github.com/minithc)
[uk](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/uk) | Український (Ukraine) | ✔ | [khvalera](https://github.com/khvalera)
[tr](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/tr) | Türkçe (Turkish) | ✔ | Ali GÜNDOĞDU
[zh-cn](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/zh-cn) | 简体中文 (Simplified Chinese) | ✔ | [Mandy Chien](https://github.com/MandyChien), [Terry Lee](https://github.com/TerryShampoo)
[zh-tw](https://github.com/cncjs/cncjs/tree/master/src/web/i18n/zh-tw) | 繁體中文 (Traditional Chinese) | ✔ | [Cheton Wu](https://github.com/cheton)
Expand Down
1 change: 1 addition & 0 deletions build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
'pt-br', // Portuguese (Brazil)
'pt-pt', // Portuguese (Portugal)
'ru', // Russian
'uk', // Ukraine
'tr', // Turkish
'zh-cn', // Simplified Chinese
'zh-tw' // Traditional Chinese
Expand Down
1 change: 1 addition & 0 deletions src/app/containers/Settings/General/General.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class General extends PureComponent {
<option value="pt-pt">Português (Portugal)</option>
<option value="tr">Türkçe</option>
<option value="ru">Русский</option>
<option value="uk">Український</option>
<option value="zh-tw">中文 (繁體)</option>
<option value="zh-cn">中文 (简体)</option>
<option value="ja">日本語</option>
Expand Down
44 changes: 44 additions & 0 deletions src/app/i18n/uk/controller.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"TinyG": {
"machineState": {
"initializing": "",
"ready": "Готовий",
"alarm": "Тривога",
"stop": "Стоп",
"end": "Кінець",
"run": "Виконання",
"hold": "Утримання",
"probe": "Зонд",
"cycle": "Цикл",
"homing": "Початкове положення",
"jog": "",
"interlock": "",
"shutdown": "",
"panic": ""
}
},
"Grbl": {
"activeState": {
"idle": "Бездіяльність",
"run": "Виконання",
"hold": "Утримання",
"door": "Двері",
"home": "Початкове положення",
"sleep": "Сон",
"alarm": "Тривога",
"check": "Перевірка"
}
},
"Smoothie": {
"activeState": {
"idle": "Бездіяльність",
"run": "Виконання",
"hold": "Утримання",
"door": "Двері",
"home": "Початкове положення",
"sleep": "Сон",
"alarm": "Тривога",
"check": "Перевірка"
}
}
}
41 changes: 41 additions & 0 deletions src/app/i18n/uk/gcode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"Rapid Move (G0)": "Швидке переміщення (G0)",
"Linear Move (G1)": "Лінійне переміщення (G1)",
"CW Arc (G2)": "",
"CCW Arc (G3)": "",
"Probing (G38.2)": "Зондування (G38.2)",
"Probing (G38.3)": "Зондування (G38.3)",
"Probing (G38.4)": "Зондування (G38.4)",
"Probing (G38.5)": "Зондування (G38.5)",
"Cancel Mode (G80)": "Режим скасування (G80)",
"P1 (G54)": "",
"P2 (G55)": "",
"P3 (G56)": "",
"P4 (G57)": "",
"P5 (G58)": "",
"P6 (G59)": "",
"XY Plane (G17)": "Площина XY (G17)",
"XZ Plane (G18)": "Площина XZ (G18)",
"YZ Plane (G19)": "Площина YZ (G19)",
"Inches (G20)": "Дюйми (G20)",
"Millimeters (G21)": "Міліметри (G21)",
"Exact Path (G61)": "Точний шлях (G61)",
"Exact Stop (G61.1)": "Точна зупинка (G61.1)",
"Continuous (G64)": "Безперервний (G64)",
"Absolute (G90)": "Абсолютна (G90)",
"Relative (G91)": "Відносна (G91)",
"Inverse Time (G93)": "Зворотний час (G93)",
"Units/Min (G94)": "Одиниці/хв (G94)",
"Active Tool Offset (G43.1)": "Активне зміщення інструменту (G43.1)",
"No Tool Offset (G49)": "Без корекції інструменту (G49)",
"Program Stop (M0)": "Зупинка програми (M0)",
"Optional Program Stop (M1)": "Додаткова зупинка програми (M1)",
"Program End (M2)": "Кінець програми (M2)",
"Program End and Rewind (M30)": "Кінець програми та перем. назад (M30)",
"Spindle On, CW (M3)": "Увімкнути шпиндель, CW (M3)",
"Spindle On, CCW (M4)": "Увімкнути шпиндель, CCW (M4)",
"Spindle Off (M5)": "Вимкнути шпиндель (M5)",
"Mist Coolant On (M7)": "Увімкнути туман охолод. рідину (M7)",
"Flood Coolant On (M8)": "Увімкнути залив. охолод. рідину (M8)",
"Coolant Off (M9)": "Вимкнути охолод. рідину (M9)"
}