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:
authorHans Goudey <h.goudey@me.com>2022-04-15 21:50:32 +0300
committerHans Goudey <h.goudey@me.com>2022-04-15 21:50:54 +0300
commit65194f47b0a38760927c5f5f56c9b89c1f23e50f (patch)
treeb2808ce0f97d2ba20caa17ea60a31caf0885f0e3
parentad324316ce8d454aa26720ec601b85d22fa58bf5 (diff)
UI: Improve wording for some USD export descriptions
The HIG mentions that redundant words like "Enables" or "Activates" shouldn't be used for tooltips of boolean properties. In this case "When checked" was the redundant language that was implied by the checkbox itself-- convention is to just state what the property does when it's on. Also change a few conjugations to the imperative and simplify wording slightly, in order to be more consistent with language elsewhere in Blender, and to be a bit more direct. Differential Revision: https://developer.blender.org/D14644
-rw-r--r--source/blender/editors/io/io_usd.c36
1 files changed, 16 insertions, 20 deletions
diff --git a/source/blender/editors/io/io_usd.c b/source/blender/editors/io/io_usd.c
index bff1bdd0ed8..e0616a0cec3 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -215,47 +215,43 @@ void WM_OT_usd_export(struct wmOperatorType *ot)
"selected_objects_only",
false,
"Selection Only",
- "Only selected objects are exported. Unselected parents of selected objects are "
+ "Only export selected objects. Unselected parents of selected objects are "
"exported as empty transform");
RNA_def_boolean(ot->srna,
"visible_objects_only",
true,
"Visible Only",
- "Only visible objects are exported. Invisible parents of exported objects are "
- "exported as empty transform");
+ "Only export visible objects. Invisible parents of exported objects are "
+ "exported as empty transforms");
- RNA_def_boolean(ot->srna,
- "export_animation",
- false,
- "Animation",
- "When checked, the render frame range is exported. When false, only the current "
- "frame is exported");
RNA_def_boolean(
- ot->srna, "export_hair", false, "Hair", "When checked, hair is exported as USD curves");
- RNA_def_boolean(ot->srna,
- "export_uvmaps",
- true,
- "UV Maps",
- "When checked, all UV maps of exported meshes are included in the export");
+ ot->srna,
+ "export_animation",
+ false,
+ "Animation",
+ "Export all frames in the render frame range, rather than only the current frame");
+ RNA_def_boolean(
+ ot->srna, "export_hair", false, "Hair", "Export hair particle systems as USD curves");
+ RNA_def_boolean(
+ ot->srna, "export_uvmaps", true, "UV Maps", "Include all mesh UV maps in the export");
RNA_def_boolean(ot->srna,
"export_normals",
true,
"Normals",
- "When checked, normals of exported meshes are included in the export");
+ "Include normals of exported meshes in the export");
RNA_def_boolean(ot->srna,
"export_materials",
true,
"Materials",
- "When checked, the viewport settings of materials are exported as USD preview "
- "materials, and material assignments are exported as geometry subsets");
+ "Export viewport settings of materials as USD preview materials, and export "
+ "material assignments as geometry subsets");
RNA_def_boolean(ot->srna,
"use_instancing",
false,
"Instancing",
- "When checked, instanced objects are exported as references in USD. "
- "When unchecked, instanced objects are exported as real objects");
+ "Export instanced objects as references in USD rather than real objects");
RNA_def_enum(ot->srna,
"evaluation_mode",