Dont give warning for en language

This commit is contained in:
dec05eba
2026-01-27 18:56:34 +01:00
parent 44bb989cea
commit a46027bfdc

View File

@@ -47,6 +47,9 @@ namespace gsr {
}
bool Translation::is_language_supported(const char* lang) {
if(strcmp(lang, "en") == 0)
return true;
std::string paths[] = {
std::string("translations/") + lang + ".txt",
std::string(this->translations_directory) + lang + ".txt"