From 592f80625bec2d31b22e3e309df9bb693eb967f3 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 4 Oct 2012 18:53:17 +0000 Subject: Fix for commit r51049: no need to create two contexts when one if enough. Also please define and use constants in BLF_translation.h rather than directly typing contexts' names, it's safer (typo would break at compile time, instead of generating more contexts!). --- source/blender/blenfont/BLF_translation.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenfont') diff --git a/source/blender/blenfont/BLF_translation.h b/source/blender/blenfont/BLF_translation.h index 56eabf4bb43..278c45dac52 100644 --- a/source/blender/blenfont/BLF_translation.h +++ b/source/blender/blenfont/BLF_translation.h @@ -97,6 +97,8 @@ const char *BLF_translate_do_tooltip(const char *contex, const char *msgid); /* Default context for operator names/labels. */ #define BLF_I18NCONTEXT_OPERATOR_DEFAULT "Operator" +/* Audio disambiguation context. */ +#define BLF_I18NCONTEXT_AUDIO "Audio" #endif /* __BLF_TRANSLATION_H__ */ -- cgit v1.2.3