fix(translation): String casting for CZ/IT/FR

Fixes #3145
This commit is contained in:
Peter Feerick
2023-02-05 09:21:30 +10:00
parent 4cd43bb6c7
commit 8d00dc8803
+1 -1
View File
@@ -56,7 +56,7 @@ void FullScreenDialog::init()
std::string t; std::string t;
if (type == WARNING_TYPE_ALERT) { if (type == WARNING_TYPE_ALERT) {
#if defined(TRANSLATIONS_FR) || defined(TRANSLATIONS_IT) || defined(TRANSLATIONS_CZ) #if defined(TRANSLATIONS_FR) || defined(TRANSLATIONS_IT) || defined(TRANSLATIONS_CZ)
t = STR_WARNING + "\n" + title; t = std::string(STR_WARNING) + "\n" + title;
#else #else
t = title + "\n" + STR_WARNING; t = title + "\n" + STR_WARNING;
#endif #endif