summaryrefslogtreecommitdiff
path: root/servers/physics_2d/collision_object_2d_sw.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-09-16 09:27:56 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-09-16 09:34:58 +0200
commitdef99c7baf1880e3efc0b60b9eb035be8a7edb14 (patch)
tree2bb81dec2237e4559fbb3b63a8ff56fc8f7a09d0 /servers/physics_2d/collision_object_2d_sw.h
parent73ec378c6431fc2e86c1116505b61f5064d3cd4d (diff)
Implement `OS::get_locale_language()` helper method
This method extracts the 2 or 3-letter language code from `OS::get_locale()`, making it easier for users to identify the "main" language code for users that might have different OS locales due to different OS or region, but should be matched to the same translation (e.g. "generic" Spanish). Fixes #40703.
Diffstat (limited to 'servers/physics_2d/collision_object_2d_sw.h')
0 files changed, 0 insertions, 0 deletions