Skip to content

Commit

Permalink
feat: allow french language in AudioBuilderUtility
Browse files Browse the repository at this point in the history
  • Loading branch information
maikschneider committed Aug 1, 2024
1 parent eef9b0d commit 901ad1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Utility/AudioBuilderUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class AudioBuilderUtility
{
public static function createAudioCode(string $code, string $language): string
{
$languageCode = in_array($language, ['de', 'en']) ? $language : 'en';
$languageCode = in_array($language, ['de', 'en', 'fr']) ? $language : 'en';
$silentSecond = GeneralUtility::getFileAbsFileName('EXT:bw_captcha/Resources/Private/Sounds/silence.wav');
$letterAudioPaths = [];

Expand Down

0 comments on commit 901ad1c

Please sign in to comment.