forked from bartvdbraak/blender
Fix/disambiguation for some "Clip" i18n messages.
This commit is contained in:
parent
bc511df3da
commit
ee2b7b2c68
@ -879,6 +879,7 @@ class CLIP_PT_tools_clip(CLIP_PT_clip_view_panel, Panel):
|
||||
bl_space_type = 'CLIP_EDITOR'
|
||||
bl_region_type = 'TOOLS'
|
||||
bl_label = "Clip"
|
||||
bl_translation_context = bpy.app.translations.contexts.id_movieclip
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
@ -933,6 +934,7 @@ class CLIP_MT_view(Menu):
|
||||
|
||||
class CLIP_MT_clip(Menu):
|
||||
bl_label = "Clip"
|
||||
bl_translation_context = bpy.app.translations.contexts.id_movieclip
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
@ -3338,6 +3338,7 @@ static void rna_def_space_clip(BlenderRNA *brna)
|
||||
RNA_def_property_enum_sdna(prop, NULL, "view");
|
||||
RNA_def_property_enum_items(prop, view_items);
|
||||
RNA_def_property_ui_text(prop, "View", "Type of the clip editor view");
|
||||
RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_MOVIECLIP);
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_CLIP, "rna_SpaceClipEditor_view_type_update");
|
||||
|
||||
/* show pattern */
|
||||
@ -3511,6 +3512,7 @@ static void rna_def_space_clip(BlenderRNA *brna)
|
||||
RNA_def_property_enum_sdna(prop, NULL, "gpencil_src");
|
||||
RNA_def_property_enum_items(prop, gpencil_source_items);
|
||||
RNA_def_property_ui_text(prop, "Grease Pencil Source", "Where the grease pencil comes from");
|
||||
RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_MOVIECLIP);
|
||||
RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL);
|
||||
|
||||
/* pivot point */
|
||||
|
Loading…
Reference in New Issue
Block a user