[Bf-blender-cvs] [921cb2d634a] greasepencil-object: GPencil: Change Palette Sort by menu texts

Antonio Vazquez noreply at git.blender.org
Wed Feb 19 17:33:11 CET 2020


Commit: 921cb2d634a1396cecfd03e1758bc2d73992d43c
Author: Antonio Vazquez
Date:   Wed Feb 19 17:33:00 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rB921cb2d634a1396cecfd03e1758bc2d73992d43c

GPencil: Change Palette Sort by menu texts

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

M	source/blender/editors/interface/interface_templates.c

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

diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index a2617ded399..232c86f22bc 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -5389,21 +5389,13 @@ static void ui_template_palette_menu(bContext *C, uiLayout *layout, void *but_p)
 {
   uiLayout *row;
 
-  uiItemL(layout, IFACE_("Sort"), ICON_NONE);
+  uiItemL(layout, IFACE_("Sort by"), ICON_NONE);
   row = uiLayoutRow(layout, false);
-  uiItemEnumO_value(row,
-                    IFACE_("Sort Colors by Hue, Saturation, Value"),
-                    ICON_NONE,
-                    "PALETTE_OT_sort",
-                    "type",
-                    1);
+  uiItemEnumO_value(
+      row, IFACE_("Hue, Saturation, Value"), ICON_NONE, "PALETTE_OT_sort", "type", 1);
   row = uiLayoutRow(layout, false);
-  uiItemEnumO_value(row,
-                    IFACE_("Sort Colors by Saturation, Value, Hue"),
-                    ICON_NONE,
-                    "PALETTE_OT_sort",
-                    "type",
-                    -1);
+  uiItemEnumO_value(
+      row, IFACE_("Saturation, Value, Hue"), ICON_NONE, "PALETTE_OT_sort", "type", -1);
 }
 
 void uiTemplatePalette(uiLayout *layout,



More information about the Bf-blender-cvs mailing list