Fix T86405: Always translate when in `en_US` locale too.

The impact of translations on UI performances is neglectable, and this
gives better handling of some odd cases where original language of an
add-on is not English.
This commit is contained in:
Bastien Montagne 2021-03-22 11:48:31 +01:00
parent 2e213003b8
commit 7a05ebf84b
Notes: blender-bot 2023-02-14 02:30:10 +01:00
Referenced by issue #86405, Add-ons not translated to English
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ const char *BLT_pgettext(const char *msgctxt, const char *msgid)
bool BLT_translate(void)
{
#ifdef WITH_INTERNATIONAL
return BLI_thread_is_main() && (U.language != ULANGUAGE_ENGLISH);
return BLI_thread_is_main();
#else
return false;
#endif