Skip to content

Commit

Permalink
Update EuropeanCVPartCVTemplateType.php (#26)
Browse files Browse the repository at this point in the history
WOR-164
remove CS from cv language choices
  • Loading branch information
Macccho authored Dec 4, 2023
1 parent 27b8133 commit ad8162a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Form/Parts/EuropeanCVPartCVTemplateType.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'required' => true,
'choices' => [
LanguageEnum::LANGUAGE_SK,
LanguageEnum::LANGUAGE_CS,
LanguageEnum::LANGUAGE_EN,
LanguageEnum::LANGUAGE_DE,
LanguageEnum::LANGUAGE_HU,
],
'choice_label' => fn(LanguageEnum $choice) => match ($choice) {
LanguageEnum::LANGUAGE_SK => t('trexima_european_cv.form_label.language_sk', [], 'trexima_european_cv'),
LanguageEnum::LANGUAGE_CS => t('trexima_european_cv.form_label.language_cs', [], 'trexima_european_cv'),
LanguageEnum::LANGUAGE_EN => t('trexima_european_cv.form_label.language_en', [], 'trexima_european_cv'),
LanguageEnum::LANGUAGE_DE => t('trexima_european_cv.form_label.language_de', [], 'trexima_european_cv'),
LanguageEnum::LANGUAGE_HU => t('trexima_european_cv.form_label.language_hu', [], 'trexima_european_cv'),
Expand Down

0 comments on commit ad8162a

Please sign in to comment.