diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-16 14:23:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 14:23:06 +0200 |
commit | 46e37545b86deeddc35085a874222aacfcb53294 (patch) | |
tree | 33a0837c8ed6a0b06d197bdb5cd1a0ea51136db0 /core/os/os.h | |
parent | ab8d63a56f1dc2aafde0884affd056e76a8cb386 (diff) | |
parent | def99c7baf1880e3efc0b60b9eb035be8a7edb14 (diff) |
Merge pull request #52740 from akien-mga/os-get_locale-language
Implement `OS::get_locale_language()` helper method
Diffstat (limited to 'core/os/os.h')
-rw-r--r-- | core/os/os.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h index f585483300..c027428477 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -243,6 +243,7 @@ public: RenderThreadMode get_render_thread_mode() const { return _render_thread_mode; } virtual String get_locale() const; + String get_locale_language() const; String get_safe_dir_name(const String &p_dir_name, bool p_allow_dir_separator = false) const; virtual String get_godot_dir_name() const; |