[Bf-blender-cvs] [7ed7955c25b] filebrowser_redesign: UI: Small naming tweaks to File Browser popovers
William Reynish
noreply at git.blender.org
Sun Aug 11 10:47:49 CEST 2019
Commit: 7ed7955c25b0872d1567103a01cb115ace6859dc
Author: William Reynish
Date: Sun Aug 11 10:47:48 2019 +0200
Branches: filebrowser_redesign
https://developer.blender.org/rB7ed7955c25b0872d1567103a01cb115ace6859dc
UI: Small naming tweaks to File Browser popovers
===================================================================
M release/scripts/startup/bl_ui/space_filebrowser.py
M source/blender/makesrna/intern/rna_space.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index 191d4dddf13..c37280c1c8c 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -59,7 +59,7 @@ class FILEBROWSER_PT_display(Panel):
params = space.params
is_lib_browser = params.use_library_browsing
- layout.label(text="Display As")
+ layout.label(text="Display as")
layout.column().prop(params, "display_type", expand=True)
layout.use_property_split = True
@@ -76,7 +76,7 @@ class FILEBROWSER_PT_display(Panel):
layout.use_property_split = False
layout.separator()
- layout.label(text="Sort By")
+ layout.label(text="Sort by")
layout.column().prop(params, "sort_method", expand=True)
layout.prop(params, "use_sort_invert")
@@ -101,7 +101,7 @@ class FILEBROWSER_PT_filter(Panel):
row = layout.row(align=True)
row.prop(params, "use_filter", text="", toggle=0)
- row.label(text="Filter:")
+ row.label(text="Filter")
col = layout.column()
col.active = params.use_filter
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 8cb988ff859..0d637e71141 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -418,14 +418,18 @@ const EnumPropertyItem rna_enum_file_sort_items[] = {
{FILE_SORT_ALPHA,
"FILE_SORT_ALPHA",
ICON_SORTALPHA,
- "Alphabet",
+ "Name",
"Sort the file list alphabetically"},
{FILE_SORT_EXTENSION,
"FILE_SORT_EXTENSION",
ICON_SORTBYEXT,
- "Kind",
+ "Extension",
"Sort the file list by extension/type"},
- {FILE_SORT_TIME, "FILE_SORT_TIME", ICON_SORTTIME, "Date", "Sort files by modification time"},
+ {FILE_SORT_TIME,
+ "FILE_SORT_TIME",
+ ICON_SORTTIME,
+ "Modified Date",
+ "Sort files by modification time"},
{FILE_SORT_SIZE, "FILE_SORT_SIZE", ICON_SORTSIZE, "Size", "Sort files by size"},
{0, NULL, 0, NULL, NULL},
};
More information about the Bf-blender-cvs
mailing list