i18n: do not translate obect mode enum and transform orientation enum if UI translati...
[blender.git] / source / blender / editors / interface / interface.c
index 0e36e056187bf3ecb75e8a4cb388ae916708eef9..0664009319d76a338a1943f84f0c7a86e830ccd7 100644 (file)
@@ -2686,7 +2686,7 @@ static uiBut *ui_def_but_operator(uiBlock *block, int type, const char *opname,
                tip= ot->description;
 
 #ifdef INTERNATIONAL
-               if((U.transopts&USER_DOTRANSLATE) && (U.transopts|USER_TR_TOOLTIPS))
+               if((U.transopts&USER_DOTRANSLATE) && (U.transopts&USER_TR_TOOLTIPS))
                        tip= BLF_gettext(tip);
 #endif
        }