mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-07 15:19:56 +09:00
Dont give warning for en language
This commit is contained in:
@@ -47,6 +47,9 @@ namespace gsr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool Translation::is_language_supported(const char* lang) {
|
bool Translation::is_language_supported(const char* lang) {
|
||||||
|
if(strcmp(lang, "en") == 0)
|
||||||
|
return true;
|
||||||
|
|
||||||
std::string paths[] = {
|
std::string paths[] = {
|
||||||
std::string("translations/") + lang + ".txt",
|
std::string("translations/") + lang + ".txt",
|
||||||
std::string(this->translations_directory) + lang + ".txt"
|
std::string(this->translations_directory) + lang + ".txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user