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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-10-29 19:46:14 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2011-10-29 19:46:14 +0400
commit16702c172939a399ddd0e61fc14a8b0944c4249b (patch)
tree130c9c0e6f62af167309f22f720a4f7deacd8f2d /source/blender/editors/transform/transform_orientations.c
parentf0ca79bccb5e8290d02318b81aebdeb713180886 (diff)
parentf1cea89d99f0c80bdccd2ba1359142b5ff14cdb9 (diff)
Merged changes in the trunk up to revision 41225.
Conflicts resolved: source/blender/render/intern/source/pipeline.c
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index b60e511dcb7..82cfc37bb93 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -410,18 +410,15 @@ EnumPropertyItem *BIF_enumTransformOrientation(bContext *C)
}
const char * BIF_menustringTransformOrientation(const bContext *C, const char *title) {
- const char* menu = N_("%t|Global%x0|Local%x1|Gimbal%x4|Normal%x2|View%x3");
+ const char* menu = IFACE_("%t|Global%x0|Local%x1|Gimbal%x4|Normal%x2|View%x3");
ListBase *transform_spaces = &CTX_data_scene(C)->transform_spaces;
TransformOrientation *ts;
int i = V3D_MANIP_CUSTOM;
char *str_menu, *p;
- if(UI_translate_iface()) {
- title= BLF_gettext(title);
- menu= BLF_gettext(menu);
- }
-
- str_menu = MEM_callocN(strlen(menu) + strlen(title) + 1 + 40 * BIF_countTransformOrientation(C), UI_translate_do_tooltip(N_("UserTransSpace from matrix")));
+ title = IFACE_(title);
+
+ str_menu = MEM_callocN(strlen(menu) + strlen(title) + 1 + 40 * BIF_countTransformOrientation(C), TIP_("UserTransSpace from matrix"));
p = str_menu;
p += sprintf(str_menu, "%s", title);