diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b61dd725eb290e2ca5a9f5192c7840ce7d071e43..5d3dc5a848b9a9883745c10bdb7fb1f359427487 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: docker:20.10.9 variables: DOCKER_TLS_CERTDIR: "/certs" - IMAGE_VER: 0.18.0 + IMAGE_VER: 0.19.0 services: - docker:20.10.9-dind diff --git a/lib/CF2022/Controller/Questions.pm b/lib/CF2022/Controller/Questions.pm index 62c801d87a12017b27c578ce7b15c47ab7973004..6ede218d4b81899c67109beb487f5d692ee42d0c 100644 --- a/lib/CF2022/Controller/Questions.pm +++ b/lib/CF2022/Controller/Questions.pm @@ -24,8 +24,8 @@ sub list { next RECORD if $record->{hidden}; push @options, { id => $record->{id}, - question => $record->{question}{en}, - help => $record->{help_text}{en} // '', + question => ($record->{question}{cs} // $record->{question}{en}), + help => ($record->{question}{cs} // $record->{help_text}{en} // ''), }; }