diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2022-06-07 20:02:04 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2022-06-07 20:03:26 +0300 |
commit | 3e7d977886f467a8d14d0edc49f65000336caa64 (patch) | |
tree | 72f89bd0a9e479c82a1edd3bdb045805cbd6123c /source/blender/blentranslation | |
parent | 9fda23389758c80d97439a0f5ee718d0f898ff79 (diff) |
IME Cleanup: Removal of BLT_lang_is_ime_supported
Removal of BLT_lang_is_ime_supported which is always returns true and
is no longer needed.
See D11800 for more details.
Differential Revision: https://developer.blender.org/D11800
Reviewed by Campbell Barton
Diffstat (limited to 'source/blender/blentranslation')
-rw-r--r-- | source/blender/blentranslation/BLT_translation.h | 7 | ||||
-rw-r--r-- | source/blender/blentranslation/intern/blt_lang.c | 9 |
2 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blentranslation/BLT_translation.h b/source/blender/blentranslation/BLT_translation.h index ebb0f604df7..129eba3de2f 100644 --- a/source/blender/blentranslation/BLT_translation.h +++ b/source/blender/blentranslation/BLT_translation.h @@ -28,13 +28,6 @@ const char *BLT_translate_do_iface(const char *msgctxt, const char *msgid); const char *BLT_translate_do_tooltip(const char *msgctxt, const char *msgid); const char *BLT_translate_do_new_dataname(const char *msgctxt, const char *msgid); -/** - * Note that "lang" here is the _output_ display language. We used to restrict - * IME for keyboard _input_ language because our multilingual font was only used - * when some output languages were selected. That font is used all the time now. - */ -bool BLT_lang_is_ime_supported(void); - /* The "translation-marker" macro. */ #define N_(msgid) msgid #define CTX_N_(context, msgid) msgid diff --git a/source/blender/blentranslation/intern/blt_lang.c b/source/blender/blentranslation/intern/blt_lang.c index b015057ad2d..cb04b3ac0dc 100644 --- a/source/blender/blentranslation/intern/blt_lang.c +++ b/source/blender/blentranslation/intern/blt_lang.c @@ -345,12 +345,3 @@ void BLT_lang_locale_explode(const char *locale, MEM_freeN(_t); } } - -bool BLT_lang_is_ime_supported(void) -{ -#ifdef WITH_INPUT_IME - return true; -#else - return false; -#endif -} |