Skip to content

Commit

Permalink
chore: delete redundant validator
Browse files Browse the repository at this point in the history
  • Loading branch information
alaa-yahia committed Jan 7, 2025
1 parent bf7bfbc commit 1afcb4c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 21 deletions.
7 changes: 2 additions & 5 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-12-19T09:18:35.465Z\n"
"PO-Revision-Date: 2024-12-19T09:18:35.466Z\n"
"POT-Creation-Date: 2025-01-07T00:10:53.592Z\n"
"PO-Revision-Date: 2025-01-07T00:10:53.593Z\n"

msgid "Choose one or more dates..."
msgstr "Choose one or more dates..."
Expand Down Expand Up @@ -1210,9 +1210,6 @@ msgstr "Add coordinates"
msgid "Add area"
msgstr "Add area"

msgid "Please selectoo {{categoryName}}"
msgstr "Please selectoo {{categoryName}}"

msgid "organisation unit could not be retrieved. Please try again later."
msgstr "organisation unit could not be retrieved. Please try again later."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const validateCategories = (value?: ?string, props?: Object, fieldId?: string) =

return {
valid: hasValue(value),
errorMessage: i18n.t('Please selectoo {{categoryName}}', { categoryName }),
errorMessage: i18n.t('Please select {{categoryName}}', { categoryName }),
};
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @flow
export { getCategoryOptionsValidatorContainers } from './categoryOptions.validatorContainersGetter';
export { getEventDateValidatorContainers } from './eventDate.validatorContainersGetter';
export { getNoteValidatorContainers } from './note.validatorContainersGetter';
export { getOrgUnitValidatorContainers } from './orgUnit.validatorContainersGetter';

This file was deleted.

0 comments on commit 1afcb4c

Please sign in to comment.