Skip to content

Commit

Permalink
Merge branch 'release/1.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Culka committed Dec 4, 2023
2 parents 74cf5f0 + ab51580 commit 99c12b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "trexima/cv",
"description": "Bundle provides form for creating CV in european format.",
"type": "symfony-bundle",
"version": "1.6.1",
"version": "1.6.2",
"license": "MIT",
"authors": [
{
Expand Down
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 99c12b1

Please sign in to comment.