MCPcopy Create free account
hub / github.com/comaps/comaps / GetCurrentOrig

Function GetCurrentOrig

libs/platform/preferred_languages.cpp:547–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547std::string GetCurrentOrig()
548{
549 auto const & arr = GetSystemPreferred();
550 if (arr.empty())
551 return "en";
552 else
553 return arr[0];
554}
555
556std::string Normalize(std::string_view lang)
557{

Callers 5

ToStringMethod · 0.85
AppendBookmarkIdDocsFunction · 0.85
GetCurrentNormFunction · 0.85
GetCurrentTwineFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.68