[Bf-blender-cvs] [508815cc718] master: UI: Correct improper capitalization

Aaron Carlisle noreply at git.blender.org
Thu Dec 8 18:26:37 CET 2022


Commit: 508815cc718a7763fd5a3aead7356f53d5e0c2f1
Author: Aaron Carlisle
Date:   Thu Dec 8 11:26:21 2022 -0600
Branches: master
https://developer.blender.org/rB508815cc718a7763fd5a3aead7356f53d5e0c2f1

UI: Correct improper capitalization

Fixes T103034

===================================================================

M	release/scripts/modules/bpy_extras/io_utils.py
M	source/blender/editors/io/io_obj.c
M	source/blender/io/common/IO_path_util_types.h

===================================================================

diff --git a/release/scripts/modules/bpy_extras/io_utils.py b/release/scripts/modules/bpy_extras/io_utils.py
index b6da6c7768c..4dbe0d6f05b 100644
--- a/release/scripts/modules/bpy_extras/io_utils.py
+++ b/release/scripts/modules/bpy_extras/io_utils.py
@@ -396,11 +396,11 @@ path_reference_mode = EnumProperty(
     name="Path Mode",
     description="Method used to reference paths",
     items=(
-        ('AUTO', "Auto", "Use Relative paths with subdirectories only"),
+        ('AUTO', "Auto", "Use relative paths with subdirectories only"),
         ('ABSOLUTE', "Absolute", "Always write absolute paths"),
         ('RELATIVE', "Relative", "Always write relative paths "
          "(where possible)"),
-        ('MATCH', "Match", "Match Absolute/Relative "
+        ('MATCH', "Match", "Match absolute/relative "
          "setting with input path"),
         ('STRIP', "Strip Path", "Filename only"),
         ('COPY', "Copy", "Copy the file to the destination path "
diff --git a/source/blender/editors/io/io_obj.c b/source/blender/editors/io/io_obj.c
index 27994af8fe7..ce121203972 100644
--- a/source/blender/editors/io/io_obj.c
+++ b/source/blender/editors/io/io_obj.c
@@ -49,10 +49,10 @@ static const EnumPropertyItem io_obj_export_evaluation_mode[] = {
     {0, NULL, 0, NULL, NULL}};
 
 static const EnumPropertyItem io_obj_path_mode[] = {
-    {PATH_REFERENCE_AUTO, "AUTO", 0, "Auto", "Use Relative paths with subdirectories only"},
+    {PATH_REFERENCE_AUTO, "AUTO", 0, "Auto", "Use relative paths with subdirectories only"},
     {PATH_REFERENCE_ABSOLUTE, "ABSOLUTE", 0, "Absolute", "Always write absolute paths"},
     {PATH_REFERENCE_RELATIVE, "RELATIVE", 0, "Relative", "Write relative paths where possible"},
-    {PATH_REFERENCE_MATCH, "MATCH", 0, "Match", "Match Absolute/Relative setting with input path"},
+    {PATH_REFERENCE_MATCH, "MATCH", 0, "Match", "Match absolute/relative setting with input path"},
     {PATH_REFERENCE_STRIP, "STRIP", 0, "Strip", "Write filename only"},
     {PATH_REFERENCE_COPY, "COPY", 0, "Copy", "Copy the file to the destination path"},
     {0, NULL, 0, NULL, NULL}};
diff --git a/source/blender/io/common/IO_path_util_types.h b/source/blender/io/common/IO_path_util_types.h
index 0233f601a81..952739bf067 100644
--- a/source/blender/io/common/IO_path_util_types.h
+++ b/source/blender/io/common/IO_path_util_types.h
@@ -3,13 +3,13 @@
 
 /** Method used to reference paths. Equivalent of bpy_extras.io_utils.path_reference_mode. */
 typedef enum {
-  /** Use Relative paths with subdirectories only. */
+  /** Use relative paths with subdirectories only. */
   PATH_REFERENCE_AUTO = 0,
   /** Always write absolute paths. */
   PATH_REFERENCE_ABSOLUTE = 1,
   /** Write relative paths where possible. */
   PATH_REFERENCE_RELATIVE = 2,
-  /** Match Absolute/Relative setting with input path. */
+  /** Match absolute/relative setting with input path. */
   PATH_REFERENCE_MATCH = 3,
   /** Filename only. */
   PATH_REFERENCE_STRIP = 4,



More information about the Bf-blender-cvs mailing list