Fix various UI messages issues.

This commit is contained in:
Bastien Montagne 2022-03-28 10:40:14 +02:00
parent 587efa9949
commit da130d751f
5 changed files with 14 additions and 3 deletions

View File

@ -340,7 +340,10 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"y",
"y = (Ax + B)",
# Sub-strings.
"all",
"all and invert unselected",
"and AMD Radeon Pro 21.Q4 driver or newer",
"and NVIDIA driver version 470 or newer",
"available with",
"brown fox",
"can't save image while rendering",
@ -358,6 +361,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"face data",
"gimbal",
"global",
"glTF Settings",
"image file not found",
"image format is read-only",
"image path can't be written to",
@ -370,8 +374,12 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"multi-res modifier",
"non-triangle face",
"normal",
"or AMD with macOS 12.3 or newer",
"performance impact!",
"right",
"selected",
"selected and lock unselected",
"selected and unlock unselected",
"the lazy dog",
"to the top level of the tree",
"unable to load movie clip",
@ -380,6 +388,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
"unknown error reading file",
"unknown error stating file",
"unknown error writing file",
"unselected",
"unsupported font format",
"unsupported format",
"unsupported image format",

View File

@ -104,6 +104,7 @@ class SpellChecker:
"builtin", "builtins",
"bytecode",
"chunksize",
"codebase",
"customdata",
"dataset", "datasets",
"de",
@ -123,6 +124,7 @@ class SpellChecker:
"filepath", "filepaths",
"forcefield", "forcefields",
"framerange",
"frontmost",
"fulldome", "fulldomes",
"fullscreen",
"gamepad",

View File

@ -999,7 +999,7 @@ static void blendfile_link_append_proxies_convert(Main *bmain, ReportList *repor
RPT_WARNING,
"Proxies have been removed from Blender (%d proxies were automatically converted "
"to library overrides, %d proxies could not be converted and were cleared). "
"Please consider re-saving any library .blend file with the newest Blender version.",
"Please consider re-saving any library .blend file with the newest Blender version",
bf_reports.count.proxies_to_lib_overrides_success,
bf_reports.count.proxies_to_lib_overrides_failures);
}

View File

@ -4765,7 +4765,7 @@ bool BKE_nurb_valid_message(const int pnts,
message_dst[0] = 0;
return false;
}
msg_template = TIP_("At least two points required.");
msg_template = TIP_("At least two points required");
break;
case NURBSValidationStatus::MorePointsThanOrderRequired:
msg_template = TIP_("Must have more control points than Order");

View File

@ -867,7 +867,7 @@ static void file_read_reports_finalize(BlendFileReadReport *bf_reports)
RPT_WARNING,
"Proxies have been removed from Blender (%d proxies were automatically converted "
"to library overrides, %d proxies could not be converted and were cleared). "
"Please also consider re-saving any library .blend file with the newest Blender version.",
"Please also consider re-saving any library .blend file with the newest Blender version",
bf_reports->count.proxies_to_lib_overrides_success,
bf_reports->count.proxies_to_lib_overrides_failures);
}