diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-15 18:30:36 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-15 18:30:36 +0400 |
commit | ec04f98a75d9a03fd2e817f7ed4980b82930a8a1 (patch) | |
tree | b0fcedaa48d8bb3b7a4ecf22227575be3d5abdb0 /source/blender/editors/space_buttons/buttons_ops.c | |
parent | b948c31258a45440628ffa744ce78d35dab2ff92 (diff) |
Various fixes for UI translation issues (reported by Leon Cheung on bf-translations ML, thanks!).
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_ops.c')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_ops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_ops.c b/source/blender/editors/space_buttons/buttons_ops.c index 54261974993..8b6682ff1c9 100644 --- a/source/blender/editors/space_buttons/buttons_ops.c +++ b/source/blender/editors/space_buttons/buttons_ops.c @@ -40,6 +40,8 @@ #include "BLI_string.h" #include "BLI_utildefines.h" +#include "BLF_translation.h" + #include "BKE_context.h" #include "BKE_global.h" #include "BKE_main.h" @@ -70,7 +72,7 @@ static int toolbox_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent *UNUSED(e RNA_pointer_create(&sc->id, &RNA_SpaceProperties, sbuts, &ptr); - pup = uiPupMenuBegin(C, "Align", ICON_NONE); + pup = uiPupMenuBegin(C, IFACE_("Align"), ICON_NONE); layout = uiPupMenuLayout(pup); uiItemsEnumR(layout, &ptr, "align"); uiPupMenuEnd(C, pup); |