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:
authorYevgeny Makarov <jenkm>2020-10-28 20:09:31 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-10-28 20:10:41 +0300
commitf7e4b209e241f8f97036a6a14c4993a38f2b5294 (patch)
tree01e126412f636b8400c5618815f8a08286efa10d /source/blender/windowmanager/intern/wm_files.c
parent9f8acce3ab9988113dd8bdbc8d757e453897cfe9 (diff)
UI: Misc Label and Description Changes
Various changes to some labels and descriptions to be more accurate, clear, or less confusing. Differential Revision: https://developer.blender.org/D8394 Reviewed by Hans Goudey
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index a862d221815..87640999f08 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -3221,10 +3221,9 @@ static uiBlock *block_create__close_file_dialog(struct bContext *C,
char filename[FILE_MAX];
if (blendfile_pathpath[0] != '\0') {
BLI_split_file_part(blendfile_pathpath, filename, sizeof(filename));
- BLI_path_extension_replace(filename, sizeof(filename), "");
}
else {
- STRNCPY(filename, IFACE_("Untitled"));
+ STRNCPY(filename, IFACE_("untitled.blend"));
}
uiItemL(layout, filename, ICON_NONE);
@@ -3261,8 +3260,7 @@ static uiBlock *block_create__close_file_dialog(struct bContext *C,
char message[64];
BLI_snprintf(message,
sizeof(message),
- (modified_images_count == 1) ? "Save %u modified image" :
- "Save %u modified images",
+ "Save %u modified image(s)",
modified_images_count);
uiItemS_ex(layout, 2.0f);
uiDefButBitC(block,