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

Ukrainian names added #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions src/lang/UA
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
String monthStr(const uint8_t month) {
switch(month) {
case 1: return F("січень");
case 2: return F("лютий");
case 3: return F("березень");
case 4: return F("квітень");
case 5: return F("травень");
case 6: return F("червень");
case 7: return F("липень");
case 8: return F("серпень");
case 9: return F("вересень");
case 10: return F("жовтень");
case 11: return F("листопад");
case 12: return F("грудень");
}
return "";
}

String monthShortStr(const uint8_t month) {
switch(month) {
case 1: return F("січ.");
case 2: return F("лют.");
case 3: return F("берез.");
case 4: return F("квіт.");
case 5: return F("трав.");
case 6: return F("черв.");
case 7: return F("лип.");
case 8: return F("серп.");
case 9: return F("верес.");
case 10: return F("жовт.");
case 11: return F("лист.");
case 12: return F("груд.");
}
return "";
}

String dayStr(const uint8_t day) {
switch(day) {
case 1: return F("неділя");
case 2: return F("понеділок");
case 3: return F("вівторок");
case 4: return F("середа");
case 5: return F("четвер");
case 6: return F("п'ятниця");
case 7: return F("субота");
}
return "";
}

String dayShortStr(const uint8_t day) {
switch(day) {
case 1: return F("Нд");
case 2: return F("Пн");
case 3: return F("Вт");
case 4: return F("Ср");
case 5: return F("Чт");
case 6: return F("Пт");
case 7: return F("Сб");
}
return "";
}