Skip to content

Commit

Permalink
Dev: Use %s as placeholder in translation, not break in string
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jan 20, 2020
1 parent b157b69 commit 1db3247
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/models/QuestionTheme.php
Expand Up @@ -827,7 +827,10 @@ public static function convertLS3toLS4($sXMLDirectoryPath)
if (!$sQuestionConfigFile) {
libxml_disable_entity_loader($bOldEntityLoaderState);
return $aSuccess = [
'message' => gT('No Configuration could be found for ' . $sXMLDirectoryPath . DIRECTORY_SEPARATOR . 'config.xml'),
'message' => sprintf(
gT('No Configuration could be found for %s/config.xml'),
$sXMLDirectoryPath
),
'success' => false
];
}
Expand Down

0 comments on commit 1db3247

Please sign in to comment.