Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2020-04-07 23:25:49 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-04-07 23:25:49 +0300
commit968619d03626c7e4d92d4cb383ac304b72595af3 (patch)
treefe9299f45a521c27f7241226fc0661654df0c2a6 /source/blender/blentranslation/BLT_translation.h
parent53981c7fb6fdd9973e40f81f867f25d10540c1d1 (diff)
UI: Language Selection Changes
Removal of 'Translation' checkbox. Enable translation options when selecting non-English languages. Differential Revision: https://developer.blender.org/D7210 Reviewed by Brecht Van Lommel
Diffstat (limited to 'source/blender/blentranslation/BLT_translation.h')
-rw-r--r--source/blender/blentranslation/BLT_translation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blentranslation/BLT_translation.h b/source/blender/blentranslation/BLT_translation.h
index 74c46b1cf3e..01e32c3f71a 100644
--- a/source/blender/blentranslation/BLT_translation.h
+++ b/source/blender/blentranslation/BLT_translation.h
@@ -32,6 +32,10 @@
extern "C" {
#endif
+/* Locale Ids. Auto will try to get local from OS. Our default is English though. */
+#define ULANGUAGE_AUTO 0
+#define ULANGUAGE_ENGLISH 1
+
bool BLT_is_default_context(const char *msgctxt);
const char *BLT_pgettext(const char *msgctxt, const char *msgid);