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
This commit is contained in:
Hans Goudey 2022-04-15 13:50:32 -05:00
parent ad324316ce
commit 65194f47b0
1 changed files with 16 additions and 20 deletions

View File

@ -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",