Skip to content

Commit

Permalink
Lithuanian language support
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-ushakov committed May 19, 2024
1 parent dc17d17 commit e895310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MechoSoma/XTool/filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace localization {
std::unordered_set<std::string> supportedLanguages = {
"ru", "en", "it", "cz"
"ru", "en", "it", "cz", "lt"
};
std::unordered_set<std::string> localizedFiles = {
"resource/iscreen/itext.scb",
Expand Down
3 changes: 2 additions & 1 deletion MechoSoma/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int game_main(int argc, char const *argv[]) {
localization::setLanguage(gpx()->sys()->getLanguage().c_str());
#else
int main(int argc, char const *argv[]) {
#ifdef STEAM_VERSION
#ifdef STEAM_VERSION1
if (!SteamAPI_Init()) {
return 1;
}
Expand All @@ -102,6 +102,7 @@ int main(int argc, char const *argv[]) {
LanguagePair("english", "en"),
LanguagePair("czech", "cz"),
LanguagePair("italian", "it"),
LanguagePair("lithuanian", "lt"),
LanguagePair("russian", "ru")
};

Expand Down

0 comments on commit e895310

Please sign in to comment.