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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-12-23 23:58:59 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-12-24 00:03:43 +0300
commit1158b9f73a3d9903657a95736897f570c2cb46ad (patch)
tree10bd8fb725f76989e82113517212febbce7fbc72 /source/blender/blenloader
parent064cbe9f3fe07e65b3f74ef7fd034e0e62934ace (diff)
Cleanup: First batch of UI messages fixes (typos, final points...).
Also contains some code typo fixes (mostly, adtaptative -> adaptive, former is nearly innexistant in English, let's stick to simple valid words ;) ).
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/blend_validate.c14
-rw-r--r--source/blender/blenloader/intern/writefile.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/blend_validate.c b/source/blender/blenloader/intern/blend_validate.c
index 1bc503719b4..07d0379553d 100644
--- a/source/blender/blenloader/intern/blend_validate.c
+++ b/source/blender/blenloader/intern/blend_validate.c
@@ -68,7 +68,7 @@ bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports)
if (id->lib != NULL) {
is_valid = false;
BKE_reportf(reports, RPT_ERROR,
- "ID %s is in local database while being linked from library %s!\n", id->name, id->lib->name);
+ "ID %s is in local database while being linked from library %s!", id->name, id->lib->name);
}
}
}
@@ -77,7 +77,7 @@ bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports)
Library *curlib = curmain->curlib;
if (curlib == NULL) {
BKE_reportf(reports, RPT_ERROR,
- "Library database with NULL library datablock!\n");
+ "Library database with NULL library datablock!");
continue;
}
@@ -86,7 +86,7 @@ bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports)
if (bh == NULL) {
BKE_reportf(reports, RPT_ERROR,
- "Library ID %s not found at expected path %s!\n", curlib->id.name, curlib->filepath);
+ "Library ID %s not found at expected path %s!", curlib->id.name, curlib->filepath);
continue;
}
@@ -100,7 +100,7 @@ bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports)
if (GS(id->name) == ID_LI) {
is_valid = false;
BKE_reportf(reports, RPT_ERROR,
- "Library ID %s in library %s, this should not happen!\n", id->name, curlib->name);
+ "Library ID %s in library %s, this should not happen!", id->name, curlib->name);
continue;
}
@@ -110,13 +110,13 @@ bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports)
if (id->lib == NULL) {
is_valid = false;
BKE_reportf(reports, RPT_ERROR,
- "ID %s has NULL lib pointer while being in library %s!\n", id->name, curlib->name);
+ "ID %s has NULL lib pointer while being in library %s!", id->name, curlib->name);
continue;
}
if (id->lib != curlib) {
is_valid = false;
BKE_reportf(reports, RPT_ERROR,
- "ID %s has mismatched lib pointer!\n", id->name);
+ "ID %s has mismatched lib pointer!", id->name);
continue;
}
@@ -131,7 +131,7 @@ bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports)
if (name == NULL) {
is_valid = false;
BKE_reportf(reports, RPT_ERROR,
- "ID %s not found in library %s anymore!\n", id->name, id->lib->name);
+ "ID %s not found in library %s anymore!", id->name, id->lib->name);
continue;
}
}
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index c1d09a836cc..d806a9f9bd8 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -4128,7 +4128,7 @@ bool BLO_write_file(
const int path_list_flag = (BKE_BPATH_TRAVERSE_SKIP_LIBRARY | BKE_BPATH_TRAVERSE_SKIP_MULTIFILE);
if (G.debug & G_DEBUG_IO && mainvar->lock != NULL) {
- BKE_report(reports, RPT_INFO, "Checking sanity of current .blend file *BEFORE* save to disk.");
+ BKE_report(reports, RPT_INFO, "Checking sanity of current .blend file *BEFORE* save to disk");
BLO_main_validate_libraries(mainvar, reports);
}