From 2cdd53433afe003e1678e89e33a7d35540e9e6dd Mon Sep 17 00:00:00 2001 From: "philip.cline" Date: Mon, 30 Oct 2023 13:07:27 -0400 Subject: [PATCH] refactor(TripSeriesModal): fix trips language --- i18n/english.yml | 1 + i18n/german.yml | 2 ++ i18n/polish.yml | 1 + lib/editor/components/timetable/TripSeriesModal.js | 5 +++-- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/i18n/english.yml b/i18n/english.yml index e14de01a8..fe391ef4a 100644 --- a/i18n/english.yml +++ b/i18n/english.yml @@ -1370,6 +1370,7 @@ components: incrementStartPlaceholder: Increment start (default 0) prefixPlaceholder: Trip ID prefix (optional) startTime: "Start Time:" + trips: trip(s) UserAccount: account: title: Account diff --git a/i18n/german.yml b/i18n/german.yml index 9d6ff63e5..e6cbbbd99 100644 --- a/i18n/german.yml +++ b/i18n/german.yml @@ -1569,3 +1569,5 @@ components: incrementStartPlaceholder: Increment start (default 0) prefixPlaceholder: Trip ID prefix (optional) startTime: "Start Time:" + trips: trip(s) + diff --git a/i18n/polish.yml b/i18n/polish.yml index 5c4059a21..80b0758e6 100644 --- a/i18n/polish.yml +++ b/i18n/polish.yml @@ -1540,3 +1540,4 @@ components: incrementStartPlaceholder: Increment start (default 0) prefixPlaceholder: Trip ID prefix (optional) startTime: "Start Time:" + trips: trip(s) diff --git a/lib/editor/components/timetable/TripSeriesModal.js b/lib/editor/components/timetable/TripSeriesModal.js index 86b427fbf..f82883d9f 100644 --- a/lib/editor/components/timetable/TripSeriesModal.js +++ b/lib/editor/components/timetable/TripSeriesModal.js @@ -140,16 +140,17 @@ const TripSeriesModal = (props: Props) => { placeholder={messages('blockIdPrefixPlaceholder')} style={{width: '30%', marginRight: '5px'}} type='text' - value={autoBlockIdPrefix} // Remove me?? + value={autoBlockIdPrefix} /> {messages('alternateEvery')} + {messages('trips')} {messages('formatExplanation')}