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/screen/screendump.c')
-rw-r--r--source/blender/editors/screen/screendump.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/editors/screen/screendump.c b/source/blender/editors/screen/screendump.c
index 3010adafe20..d9b3961c8b8 100644
--- a/source/blender/editors/screen/screendump.c
+++ b/source/blender/editors/screen/screendump.c
@@ -38,6 +38,8 @@
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
+#include "BLF_api.h"
+
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
@@ -203,7 +205,7 @@ void SCREEN_OT_screenshot(wmOperatorType *ot)
{
PropertyRNA *prop;
- ot->name= "Save Screenshot"; /* weak: opname starting with 'save' makes filewindow give save-over */
+ ot->name= _("Save Screenshot"); /* weak: opname starting with 'save' makes filewindow give save-over */
ot->idname= "SCREEN_OT_screenshot";
ot->invoke= screenshot_invoke;
@@ -214,7 +216,7 @@ void SCREEN_OT_screenshot(wmOperatorType *ot)
ot->flag= 0;
WM_operator_properties_filesel(ot, FOLDERFILE|IMAGEFILE, FILE_SPECIAL, FILE_SAVE, WM_FILESEL_FILEPATH);
- prop= RNA_def_boolean(ot->srna, "full", 1, "Full Screen", "");
+ prop= RNA_def_boolean(ot->srna, "full", 1, _("Full Screen"), "");
RNA_def_property_flag(prop, PROP_HIDDEN); /* hide because once the file sel is displayed, the option no longer does anything */
}
@@ -375,7 +377,7 @@ static int screencast_exec(bContext *C, wmOperator *op)
void SCREEN_OT_screencast(wmOperatorType *ot)
{
- ot->name= "Make Screencast";
+ ot->name= _("Make Screencast");
ot->idname= "SCREEN_OT_screencast";
ot->invoke= WM_operator_confirm;
@@ -384,8 +386,8 @@ void SCREEN_OT_screencast(wmOperatorType *ot)
ot->flag= 0;
- RNA_def_property(ot->srna, "filepath", PROP_STRING, PROP_FILEPATH);
- RNA_def_boolean(ot->srna, "full", 1, "Full Screen", "");
+ RNA_def_property(ot->srna, _("filepath"), PROP_STRING, PROP_FILEPATH);
+ RNA_def_boolean(ot->srna, "full", 1, _("Full Screen"), "");
}