Skip to content

Commit

Permalink
fix(i18n): translations added
Browse files Browse the repository at this point in the history
- added translations for
  - `EventForm`
  - `AddEvent`
  - `EditEvent`
  - `EventList`
  • Loading branch information
cgawron committed Sep 26, 2024
1 parent 3063573 commit d146bd0
Show file tree
Hide file tree
Showing 14 changed files with 392 additions and 86 deletions.
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"inlang.vs-code-extension"
]
}
1 change: 1 addition & 0 deletions client.inlang/project_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aefdee906579727e3935848eb50b11c5cf15cf981805aba3d583d1bb7acd1f67
19 changes: 19 additions & 0 deletions client.inlang/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://inlang.com/schema/project-settings",
"sourceLanguageTag": "en",
"languageTags": [
"en",
"de",
"de-DE"
],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-t-function-matcher@latest/dist/index.js"
],
"plugin.inlang.messageFormat": {
"pathPattern": "./client/public/locales/{languageTag}/translation.json"
}
}
3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
"@vitejs/plugin-react": "^4.3.1",
"cypress": "^13.5.0",
"dotenv-cli": "^7.4.2",
"eslint": "^8.49.0",
"eslint": "^9.11.1",
"eslint-plugin-i18next": "^6.1.0",
"i18next-parser": "9.0.2",
"i18next-scanner": "4.5.0",
"node-sass": "^9.0.0",
Expand Down
28 changes: 26 additions & 2 deletions client/public/locales/de/translation.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,45 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"these_zesty_duck_nudge": "Allgemeine Informationen",
"north_least_gopher_burn": "Was ist der Zweck dieser Terminart?",
"lazy_just_duck_spin": "Titel des Events",
"Confirm meeting": "Termin bestätigen",
"Schedule an appointment": "Termin vereinbaren",
"Name": "Name",
"Please provide your name": "Bitte geben Sie Ihren Namen an",
"Email": "E-Mail-Adresse",
"You will receive a confirmation email": "Sie erhalten eine Terminbestätigung via E-Mail",
"Information": "Informationen zu Ihrem Anliegen",
"Please share anything that will help me to prepare for our meeting": "Ihre Angaben helfen mir bei der Vorbereitung unseres Meetings",
"Confirm meeting": "Termin bestätigen",
"Meeting with": "Meeting mit",
"Change": "ändern",
"Back": "Zurück",
"Add Event Type": "Terminart hinzufügen",
"Daily availability": "Tägliche Verfügbarkeit",
"Confirm & Book": "Termin bestätigen",
"Confirmation": "Bestätigung",
"confirmationText": "Sie haben eine {{event}} mit {{name}} am {{date}} um {{time}} Uhr gebucht.",
"availableSlots": "Am {{date}} sind die folgenden Termine verfügbar. Reservieren Sie einen oder wählen Sie einen anderen Tag.",
"minutes": "Minuten",
"Choose date": "Datum wählen",
"Choose time": "Uhrzeit wählen",
"Provide details": "Details angeben"
"Provide details": "Details angeben",
"tiny_factual_platypus_pave": "Wo findet das Meeting statt?",
"less_equal_octopus_dine": "Anpassbarer Teil der URL",
"quiet_male_yak_slurp": "Kurz-URL",
"dizzy_quiet_walrus_hush": "mein-termin",
"quaint_known_wasp_view": "Minimaler Vorlauf (Tage)",
"pretty_grand_cuckoo_arrive": "Minimaler Vorlauf, mit dem ein Termin gebucht werden kann.",
"slow_maroon_spider_praise": "Maximale Anzahl an Terminen dieses Typs, die pro Tag gebucht werden können.",
"grand_wacky_ox_flow": "Maximale Anzahl pro tag",
"left_aloof_stork_leap": "Vorlaufpuffer",
"elegant_early_boar_accept": "Wie lange dauert diese Terminart?",
"ideal_this_coyote_inspire": "Dauer",
"jumpy_tasty_rook_trust": "Dauer",
"real_big_crow_push": "Pufferzeit vor dieser Terminart",
"mealy_happy_ray_flop": "Vorlaufpuffer",
"close_actual_deer_boil": "Anschlusspuffer",
"keen_zippy_bulldog_gaze": "Puffer nach dieser Terminart",
"seemly_fine_octopus_slurp": "Verfügbarkeit",
"each_awake_tadpole_jest": "Terminart bearbeiten"
}
31 changes: 29 additions & 2 deletions client/public/locales/en/translation.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
{
"Confirm meeting": "",
"Meeting with {{name}}": "Meeting with {{name}}"
"$schema": "https://inlang.com/schema/inlang-message-format",
"these_zesty_duck_nudge": "Basic Information",
"north_least_gopher_burn": "What is the purpose of this appointment type?",
"lazy_just_duck_spin": "Event title",
"Confirm meeting": "Confirm meeting",
"Meeting with {{name}}": "Meeting with {{name}}",
"Daily availability": "Daily availability",
"tiny_factual_platypus_pave": "Where does the meeting take place?",
"less_equal_octopus_dine": "Customizable part of the URL",
"quiet_male_yak_slurp": "Event Slug",
"honest_weak_iguana_rest": "Location",
"dizzy_quiet_walrus_hush": "awesome-meeting",
"tired_whole_bumblebee_type": "Zoom Meeting",
"these_moving_fox_create": "Description",
"quaint_known_wasp_view": "Minimum days in advance",
"pretty_grand_cuckoo_arrive": "Events cannot be scheduled less than this time in advance",
"slow_maroon_spider_praise": "Maximum number of events of this type per day",
"grand_wacky_ox_flow": "Maximum per day",
"left_aloof_stork_leap": "buffer-before",
"elegant_early_boar_accept": "How long is this event?",
"ideal_this_coyote_inspire": "Duration",
"jumpy_tasty_rook_trust": "Duration",
"real_big_crow_push": "Buffer before this event",
"mealy_happy_ray_flop": "Buffer before",
"close_actual_deer_boil": "Buffer after",
"keen_zippy_bulldog_gaze": "Buffer after this event",
"seemly_fine_octopus_slurp": "Availability",
"ideal_best_parrot_aim": "Edit Event Type",
"each_awake_tadpole_jest": "Edit Event Type"
}
Loading

0 comments on commit d146bd0

Please sign in to comment.