Fix: incorrect use of IFACE_ macro, and correct a typo.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 8 Nov 2011 11:02:57 +0000 (11:02 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 8 Nov 2011 11:02:57 +0000 (11:02 +0000)
source/blender/editors/space_node/node_header.c
source/blender/editors/space_node/node_templates.c
source/blender/editors/transform/transform.c

index d752dd79a19661b67439c6019eaa2891fdee325e..6dd5eeba83284cab19707d30b4eeb77a5448d588 100644 (file)
@@ -229,7 +229,7 @@ static void node_add_menu(bContext *C, uiLayout *layout, void *arg_nodeclass)
 static void node_menu_add_foreach_cb(void *calldata, int nclass, const char *name)
 {
        uiLayout *layout= calldata;
-       uiItemMenuF(layout, IFACE_(name), 0, node_add_menu, SET_INT_IN_POINTER(nclass));
+       uiItemMenuF(layout, name, 0, node_add_menu, SET_INT_IN_POINTER(nclass));
 }
 
 static void node_menu_add(const bContext *C, Menu *menu)
index b877bea6be93fafa7075d82247c294efeef61f68..806a6f988283a7966c95051282e34eb594ac81cd 100644 (file)
@@ -432,7 +432,7 @@ static void node_menu_column_foreach_cb(void *calldata, int nclass, const char *
        NodeLinkArg *arg = (NodeLinkArg*)calldata;
 
        if(!ELEM(nclass, NODE_CLASS_GROUP, NODE_CLASS_LAYOUT))
-               ui_node_menu_column(arg, nclass, IFACE_(name));
+               ui_node_menu_column(arg, nclass, name);
 }
 
 static void ui_template_node_link_menu(bContext *C, uiLayout *layout, void *but_p)
index 13d686508de269656360d7fe43fe53bb4a283621..95daa11d97ff40126fb785babdd8d4211609a16a 100644 (file)
@@ -513,7 +513,7 @@ wmKeyMap* transform_modal_keymap(wmKeyConfig *keyconf)
        {NUM_MODAL_INCREMENT_UP, "INCREMENT_UP", 0, "Numinput Increment Up", ""},
        {NUM_MODAL_INCREMENT_DOWN, "INCREMENT_DOWN", 0, "Numinput Increment Down", ""},
        {TFM_MODAL_PROPSIZE_UP, "PROPORTIONAL_SIZE_UP", 0, "Increase Proportional Influence", ""},
-       {TFM_MODAL_PROPSIZE_DOWN, "PROPORTIONAL_SIZE_DOWN", 0, "Decrease Poportional Influence", ""},
+       {TFM_MODAL_PROPSIZE_DOWN, "PROPORTIONAL_SIZE_DOWN", 0, "Decrease Proportional Influence", ""},
        {TFM_MODAL_AUTOIK_LEN_INC, "AUTOIK_CHAIN_LEN_UP", 0, "Increase Max AutoIK Chain Length", ""},
        {TFM_MODAL_AUTOIK_LEN_DEC, "AUTOIK_CHAIN_LEN_DOWN", 0, "Decrease Max AutoIK Chain Length", ""},
        {0, NULL, 0, NULL, NULL}};