UI: Cleanup/Fixes of some UI messages.

This commit is contained in:
Bastien Montagne 2022-09-12 14:18:17 +02:00
parent 2d069b609b
commit ec2e866aee
4 changed files with 8 additions and 3 deletions

View File

@ -318,6 +318,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"glTF 2.0 (.glb/.gltf)", "glTF 2.0 (.glb/.gltf)",
"glTF Binary (.glb)", "glTF Binary (.glb)",
"glTF Embedded (.gltf)", "glTF Embedded (.gltf)",
"glTF Material Output",
"glTF Original PBR data", "glTF Original PBR data",
"glTF Separate (.gltf + .bin + textures)", "glTF Separate (.gltf + .bin + textures)",
"invoke() needs to be called before execute()", "invoke() needs to be called before execute()",
@ -368,10 +369,11 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"and AMD Radeon Pro 21.Q4 driver or newer", "and AMD Radeon Pro 21.Q4 driver or newer",
"and Linux driver version xx.xx.23570 or newer", "and Linux driver version xx.xx.23570 or newer",
"and NVIDIA driver version 470 or newer", "and NVIDIA driver version 470 or newer",
"and Windows driver version 101.1660 or newer", "and Windows driver version 101.3268 or newer",
"available with", "available with",
"brown fox", "brown fox",
"can't save image while rendering", "can't save image while rendering",
"category",
"constructive modifier", "constructive modifier",
"cursor", "cursor",
"custom", "custom",
@ -398,6 +400,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"local", "local",
"matrices", "no matrices", "matrices", "no matrices",
"multi-res modifier", "multi-res modifier",
"name",
"non-triangle face", "non-triangle face",
"normal", "normal",
"or AMD with macOS 12.3 or newer", "or AMD with macOS 12.3 or newer",
@ -423,6 +426,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"unsupported format", "unsupported format",
"unsupported image format", "unsupported image format",
"unsupported movie clip format", "unsupported movie clip format",
"untitled",
"vertex data", "vertex data",
"verts only", "verts only",
"view", "view",

View File

@ -750,6 +750,7 @@ class SpellChecker:
"unix", "unix",
"uuid", "uuid",
"vbo", "vbos", "vbo", "vbos",
"vfx",
"vr", "vr",
"wxyz", "wxyz",
"xr", "xr",

View File

@ -125,7 +125,7 @@ static void ui_obj_export_settings(uiLayout *layout, PointerRNA *imfptr)
uiItemR(sub, imfptr, "scaling_factor", 0, NULL, ICON_NONE); uiItemR(sub, imfptr, "scaling_factor", 0, NULL, ICON_NONE);
row = uiLayoutRow(box, false); row = uiLayoutRow(box, false);
uiItemR(row, imfptr, "forward_axis", UI_ITEM_R_EXPAND, IFACE_("Foward Axis"), ICON_NONE); uiItemR(row, imfptr, "forward_axis", UI_ITEM_R_EXPAND, IFACE_("Forward Axis"), ICON_NONE);
row = uiLayoutRow(box, false); row = uiLayoutRow(box, false);
uiItemR(row, imfptr, "up_axis", UI_ITEM_R_EXPAND, IFACE_("Up Axis"), ICON_NONE); uiItemR(row, imfptr, "up_axis", UI_ITEM_R_EXPAND, IFACE_("Up Axis"), ICON_NONE);

View File

@ -6377,7 +6377,7 @@ static void rna_def_userdef_experimental(BlenderRNA *brna)
RNA_def_property_boolean_sdna(prop, NULL, "use_viewport_debug", 1); RNA_def_property_boolean_sdna(prop, NULL, "use_viewport_debug", 1);
RNA_def_property_ui_text(prop, RNA_def_property_ui_text(prop,
"Viewport Debug", "Viewport Debug",
"Enable viewport debugging options for developpers in the overlays " "Enable viewport debugging options for developers in the overlays "
"pop-over"); "pop-over");
RNA_def_property_update(prop, 0, "rna_userdef_ui_update"); RNA_def_property_update(prop, 0, "rna_userdef_ui_update");
} }