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:
Diffstat (limited to 'source/blender/editors/physics/physics_pointcache.c')
-rw-r--r--source/blender/editors/physics/physics_pointcache.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c
index 797ead3cd90..b245fc05d86 100644
--- a/source/blender/editors/physics/physics_pointcache.c
+++ b/source/blender/editors/physics/physics_pointcache.c
@@ -39,6 +39,8 @@
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
+#include "BLF_api.h"
+
#include "DNA_scene_types.h"
#include "BKE_context.h"
@@ -155,8 +157,8 @@ static int ptcache_free_bake_all_exec(bContext *C, wmOperator *UNUSED(op))
void PTCACHE_OT_bake_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Bake All Physics";
- ot->description= "Bake all physics";
+ ot->name= _("Bake All Physics");
+ ot->description= _("Bake all physics");
ot->idname= "PTCACHE_OT_bake_all";
/* api callbacks */
@@ -166,7 +168,7 @@ void PTCACHE_OT_bake_all(wmOperatorType *ot)
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
- RNA_def_boolean(ot->srna, "bake", 1, "Bake", "");
+ RNA_def_boolean(ot->srna, "bake", 1, _("Bake"), "");
}
void PTCACHE_OT_free_bake_all(wmOperatorType *ot)
{
@@ -269,8 +271,8 @@ static int ptcache_bake_from_cache_exec(bContext *C, wmOperator *UNUSED(op))
void PTCACHE_OT_bake(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Bake Physics";
- ot->description= "Bake physics";
+ ot->name= _("Bake Physics");
+ ot->description= _("Bake physics");
ot->idname= "PTCACHE_OT_bake";
/* api callbacks */
@@ -280,7 +282,7 @@ void PTCACHE_OT_bake(wmOperatorType *ot)
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
- RNA_def_boolean(ot->srna, "bake", 0, "Bake", "");
+ RNA_def_boolean(ot->srna, "bake", 0, _("Bake"), "");
}
void PTCACHE_OT_free_bake(wmOperatorType *ot)
{