Skip to content

Commit

Permalink
fix: improved text strinngs
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Jan 27, 2024
1 parent bcd8f57 commit 65f0093
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
14 changes: 4 additions & 10 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-01-25T12:12:47.253Z\n"
"PO-Revision-Date: 2024-01-25T12:12:47.253Z\n"
"POT-Creation-Date: 2024-01-27T19:26:47.076Z\n"
"PO-Revision-Date: 2024-01-27T19:26:47.076Z\n"

msgid "Choose one or more dates..."
msgstr "Choose one or more dates..."
Expand Down Expand Up @@ -766,8 +766,8 @@ msgstr "There was an error loading the page"
msgid "Choose a registering unit to start reporting"
msgstr "Choose a registering unit to start reporting"

msgid "There are no feedbacks for this event"
msgstr "There are no feedbacks for this event"
msgid "There is no feedback for this event"
msgstr "There is no feedback for this event"

msgid "There are no indicators for this event"
msgstr "There are no indicators for this event"
Expand Down Expand Up @@ -923,9 +923,6 @@ msgstr ""
"Leaving this page will discard any selections you made for a new "
"relationship"

msgid "Feedbacks"
msgstr "Feedbacks"

msgid "Show all events"
msgstr "Show all events"

Expand Down Expand Up @@ -1377,9 +1374,6 @@ msgstr "This stage can only have one event"
msgid "Events could not be retrieved. Please try again later."
msgstr "Events could not be retrieved. Please try again later."

msgid "Assigned to"
msgstr "Assigned to"

msgid "{{ totalEvents }} events"
msgstr "{{ totalEvents }} events"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const EnrollmentAddEventPagePain = ({
<WidgetWarning warning={widgetEffects?.warnings} />
{!hideWidgets.feedback && (
<WidgetFeedback
emptyText={i18n.t('There are no feedbacks for this event')}
emptyText={i18n.t('There is no feedback for this event')}
feedback={widgetEffects?.feedbacks}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Props = {
feedbacks: ?{ displayTexts: ?Array<string>, displayKeyValuePairs: ?Array<{ key: string, value: string }>},
}

const headerText = i18n.t('Feedbacks');
const headerText = i18n.t('Feedback');

const getStyles = (theme: Theme) => ({
badge: {
Expand Down

0 comments on commit 65f0093

Please sign in to comment.