virtualx-engine/core/os
Rémi Verschelde def99c7baf
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.
2021-09-16 09:34:58 +02:00
..
keyboard.cpp Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods 2021-05-07 14:00:50 -06:00
keyboard.h Use Key enum instead of plain integers 2021-08-10 16:26:55 -05:00
main_loop.cpp Replace BIND_VMETHOD by new GDVIRTUAL syntax 2021-08-22 08:23:58 -03:00
main_loop.h Replace BIND_VMETHOD by new GDVIRTUAL syntax 2021-08-22 08:23:58 -03:00
memory.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
memory.h Refactors the memnew_placement. 2021-08-13 10:18:34 +02:00
midi_driver.cpp Use mouse and joypad enums instead of plain integers 2021-06-20 11:54:24 -04:00
midi_driver.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
mutex.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
mutex.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
os.cpp Implement OS::get_locale_language() helper method 2021-09-16 09:34:58 +02:00
os.h Implement OS::get_locale_language() helper method 2021-09-16 09:34:58 +02:00
pool_allocator.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
pool_allocator.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
rw_lock.h Modernize RWLock 2021-01-19 11:53:10 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
semaphore.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
spin_lock.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
thread.cpp Move caller_id init to Thread constructor to fix UWP build. 2021-03-09 08:40:30 +02:00
thread.h Move caller_id init to Thread constructor to fix UWP build. 2021-03-09 08:40:30 +02:00
thread_safe.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
threaded_array_processor.h Fix thread_process_array when NO_THREADS. 2021-02-26 12:13:20 +01:00
time.cpp Add Time singleton 2021-06-11 09:32:39 -04:00
time.h Add Time singleton 2021-06-11 09:32:39 -04:00