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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-19 19:10:38 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-19 19:10:38 +0400
commit706a2c80f01b21b71a62b18d0188c5f371fa0454 (patch)
tree388bdf9e9e112cac7f1dd8b83fb9a0060a824259 /source/blender/editors/space_view3d/view3d_header.c
parentfed299469722ccd7d2b29daabb03ba4a347e7a1e (diff)
i18n: code cleanup and fixing unneeded translation (when partial translation is used only)
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_header.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c
index 221bf8ed87a..6dd4103dc6d 100644
--- a/source/blender/editors/space_view3d/view3d_header.c
+++ b/source/blender/editors/space_view3d/view3d_header.c
@@ -275,7 +275,7 @@ static int modeselect_addmode(char *str, const char *title, int id, int icon)
{
static char formatstr[] = "|%s %%x%d %%i%d";
- if((U.transopts&USER_DOTRANSLATE) && (U.transopts&USER_TR_IFACE))
+ if(UI_translate_iface())
return sprintf(str, formatstr, BLF_gettext(title), id, icon);
else
return sprintf(str, formatstr, title, id, icon);