Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LanguageHelper.php to handle translated text with embedded new lines. #42456

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
Update LanguageHelper.php
Improved comment.
  • Loading branch information
BrainforgeUK authored Dec 24, 2023
commit 9added8f8b82baf563eb9b8c04cb2fda2fe557be
2 changes: 1 addition & 1 deletion libraries/src/Language/LanguageHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public static function parseIniFile($fileName, $debug = false)
return [];
}

// Ini file processing has left escaped quotes untouched - lets postprocess them
// Ini file processing has left escaped quotes untouched - let's postprocess them
$strings = str_replace('\"', '"', $strings);

} finally {
Expand Down