Skip to content

Commit

Permalink
Add: polish and ukrainian translations
Browse files Browse the repository at this point in the history
  • Loading branch information
georgiganchev-7DIGIT committed May 20, 2024
1 parent 841ce88 commit ae073ca
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
8 changes: 7 additions & 1 deletion service/translations/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import en from "./en.js";
import ru from "./ru.js";
import kk from "./kk.js";
import pl from "./pl.js";
import uk from "./uk.js";

const translations = {
en, kk, ru,
en,
kk,
ru,
pl,
uk,
};

/**
Expand Down
20 changes: 20 additions & 0 deletions service/translations/pl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export default {
provider_not_found_error: "Nie znaleziono konsultanta",
client_not_found_error: "Nie znaleziono klienta",
incorrect_password_error: "Podane hasło jest nieprawidłowe",
email_already_used_error: "Ten adres e-mail jest już wykorzystany",
slots_not_within_week_error: "Przedziały czasowe nie mieszczą się w tygodniu",
slot_not_available_error: "Przedział czasowy jest niedostępny",
consultation_not_found_error: "Nie znaleziono konsultacji",
provider_has_future_consultations_error: "Konsultant ma przyszłe konsultacje",
user_not_found_error: "Nie znaleziono użytkownika",
consultation_not_scheduled_error: "Konsultacja nie została zaplanowana",
service_not_found_error: "Nie znaleziono usługi",
transaction_not_found_error: "Nie znaleziono transakcji",
campaign_not_found_error: "Nie znaleziono kampanii",
slot_already_exists_error: "Przedział czasowy już oznaczony jako dostępny",
provider_inactive_error: "Konsultant jest nieaktywny",
question_cant_be_archived_error: "Pytanie nie może zostać zarchiwizowane",
client_cant_book_error: "Klient ma już zarezerwowaną konsultację na ten czas",
booking_not_allowed_error: "Masz już zarezerwowaną konsultację na ten czas",
};
23 changes: 23 additions & 0 deletions service/translations/uk.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
export default {
provider_not_found_error: "Консультанта(ки) не знайдено",
client_not_found_error: "Клієнта(ки) не знайдено",
incorrect_password_error: "Наданий пароль є невірним",
email_already_used_error: "Ця електронна адреса вже використовується",
slots_not_within_week_error: "Слоти не в межах тижня",
slot_not_available_error: "Слот не доступний",
consultation_not_found_error: "Консультацію не знайдено",
provider_has_future_consultations_error:
"Консультант(ка) має майбутні консультації",
user_not_found_error: "Користувача(ку) не знайдено",
consultation_not_scheduled_error: "Консультацію не заплановано",
service_not_found_error: "Послугу не знайдено",
transaction_not_found_error: "Транзакцію не знайдено",
campaign_not_found_error: "Кампанію не знайдено",
slot_already_exists_error: "Слот вже позначено доступним",
provider_inactive_error: "Консультант(ка) неактивний(а)",
question_cant_be_archived_error: "Запитання не може бути заархівовано",
client_cant_book_error:
"Клієнт(ка) уже забронював(ла) консультацію на цей час",
booking_not_allowed_error:
"На цей час Ви вже маєте заброньовану консультацію",
};

0 comments on commit ae073ca

Please sign in to comment.