Skip to content

Commit

Permalink
Fix build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Nov 30, 2023
1 parent 51a8096 commit 61d2c97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

using namespace xtd::native;

std::string translator::get_system_language() {
std::string translator::get_system_locale() {
if (!environment::get_environment_variable("LANG", ENVIRONMENT_VARIABLE_TARGET_PROCESS).empty()) return environment::get_environment_variable("LANG", ENVIRONMENT_VARIABLE_TARGET_PROCESS);
return "";
}

0 comments on commit 61d2c97

Please sign in to comment.