Skip to content

Commit

Permalink
Update decidim_questions.rb
Browse files Browse the repository at this point in the history
#415 extend captcha questions
  • Loading branch information
nicolefreypuzzle authored Mar 12, 2024
1 parent 282e961 commit 5ef3bf9
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions config/initializers/decidim_questions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,39 @@
config.questions = {
de: [
{
'question' => 'Nennen Sie eine Farbe des Zürcher Wappens.',
'answers' => 'weiss,blau,Weiss,Blau'
'question' => 'Nenne eine Farbe des Zürcher Wappens.',
'answers' => 'weiss,Weiss,WEISS,blau,Blau,BLAU'
},
{
'question' => 'Nenne eine Farbe, die auf dem Schweizer Wappen vorkommt.',
'answers' => 'weiss,Weiss,WEISS,rot,Rot,ROT'
},
{
'question' => 'Nenne die kleinste der folgenden Zahlen: 3 / 5 / 9.',
'answers' => '3,drei,Drei,DREI'
},
{
'question' => 'Was ergibt 2 plus 3?',
'answers' => '5,fünf,FÜNF,fuenf,FUENF'
}
],
en: [
{
'question' => 'Name a color on Zürich\'s flag',
'answers' => 'white,blue,White,Blue'
}
'answers' => 'white,White,WHITE,blue,Blue,BLUE'
},
{
'question' => 'Name one color of the Swiss flag.',
'answers' => 'white,White,WHITE,red,Red,RED'
},
{
'question' => 'Name the smallest of the following numbers: 3 / 5 / 9.',
'answers' => '3,three,Three,THREE'
},
{
'question' => 'What is 2 plus 3?',
'answers' => '5,five,Five,FIVE'
}
]
}
end

0 comments on commit 5ef3bf9

Please sign in to comment.