throw new UserInputException('individualScss', [
'message' => $result->getMessage(),
+ 'hasDarkMode' => false,
]);
}
}
throw new UserInputException('individualScss', [
'message' => $result->getMessage(),
+ 'hasDarkMode' => $this->style->hasDarkMode,
]);
}
}
<item name="wcf.acp.style.advanced.overrideScss.error.invalid"><![CDATA[Eingabe „{$error[text]}“ ungültig]]></item>
<item name="wcf.acp.style.advanced.overrideScss.error.predefined"><![CDATA[Variable „{$error[text]}“ wird bereits durch den Stil-Editor gesetzt]]></item>
<item name="wcf.acp.style.advanced.overrideScss.error.unknown"><![CDATA[Variable „{$error[text]}“ unbekannt]]></item>
- <item name="wcf.acp.style.advanced.individualScss.error"><![CDATA[Der SCSS-Code enthält einen Fehler: {$errorType.message}.]]></item>
+ <item name="wcf.acp.style.advanced.individualScss.error"><![CDATA[Dieser SCSS-Code{if $errorType[hasDarkMode]} (oder der Code für das dunkle Farbschema){/if} enthält einen Fehler: {$errorType[message]}.]]></item>
<item name="wcf.acp.style.authorName"><![CDATA[Autor]]></item>
<item name="wcf.acp.style.authorURL"><![CDATA[Website]]></item>
<item name="wcf.acp.style.button.exportStyle"><![CDATA[Export starten]]></item>
<item name="wcf.acp.style.advanced.overrideScss.error.invalid"><![CDATA[The input for “{$error[text]}” invalid.]]></item>
<item name="wcf.acp.style.advanced.overrideScss.error.predefined"><![CDATA[The variable “{$error[text]}” is already defined by the style editor.]]></item>
<item name="wcf.acp.style.advanced.overrideScss.error.unknown"><![CDATA[The variable “{$error[text]}” is not recognized.]]></item>
- <item name="wcf.acp.style.advanced.individualScss.error"><![CDATA[The SCSS code contains an error: {$errorType.message}.]]></item>
+ <item name="wcf.acp.style.advanced.individualScss.error"><![CDATA[This SCSS code{if $errorType[hasDarkMode]} (or the code for the dark color scheme){/if} contains an error: {$errorType[message]}.]]></item>
<item name="wcf.acp.style.authorName"><![CDATA[Author]]></item>
<item name="wcf.acp.style.authorURL"><![CDATA[Website]]></item>
<item name="wcf.acp.style.button.exportStyle"><![CDATA[Start Export]]></item>