diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-21 18:02:30 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-21 18:02:30 +0400 |
commit | 26d0492653d310d05bdbbea8a51d3b4f62ccd0c6 (patch) | |
tree | e93da2eb0c56bcced71d165e996497c647f6c168 /source/blender/blenlib/intern/bpath.c | |
parent | 9e830c0c9c6ad1ea2e47d19ec5f0e2500640dab1 (diff) |
A final bunch of UI messages fixes and tweaks, and some BKE_report()<->BKE_reportf() fixes.
Diffstat (limited to 'source/blender/blenlib/intern/bpath.c')
-rw-r--r-- | source/blender/blenlib/intern/bpath.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c index 1cb578decc1..8ae2b941fa8 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -85,7 +85,7 @@ static int checkMissingFiles_visit_cb(void *userdata, char *UNUSED(path_dst), co ReportList *reports = (ReportList *)userdata; if (!BLI_exists(path_src)) { - BKE_reportf(reports, RPT_WARNING, "Path Not Found \"%s\"", path_src); + BKE_reportf(reports, RPT_WARNING, "Path '%s' not found", path_src); } return FALSE; @@ -122,7 +122,7 @@ static int makeFilesRelative_visit_cb(void *userdata, char *path_dst, const char data->count_changed++; } else { - BKE_reportf(data->reports, RPT_WARNING, "Path cant be made relative \"%s\"", path_src); + BKE_reportf(data->reports, RPT_WARNING, "Path '%s' cannot be made relative", path_src); data->count_failed++; } return TRUE; @@ -144,7 +144,7 @@ void BLI_bpath_relative_convert(Main *bmain, const char *basedir, ReportList *re BLI_bpath_traverse_main(bmain, makeFilesRelative_visit_cb, 0, (void *)&data); BKE_reportf(reports, data.count_failed ? RPT_WARNING : RPT_INFO, - "Total files %d|Changed %d|Failed %d", + "Total files %d | Changed %d | Failed %d", data.count_tot, data.count_changed, data.count_failed); } @@ -164,7 +164,7 @@ static int makeFilesAbsolute_visit_cb(void *userdata, char *path_dst, const char data->count_changed++; } else { - BKE_reportf(data->reports, RPT_WARNING, "Path cant be made absolute \"%s\"", path_src); + BKE_reportf(data->reports, RPT_WARNING, "Path '%s' cannot be made absolute", path_src); data->count_failed++; } return TRUE; @@ -187,7 +187,7 @@ void BLI_bpath_absolute_convert(Main *bmain, const char *basedir, ReportList *re BLI_bpath_traverse_main(bmain, makeFilesAbsolute_visit_cb, 0, (void *)&data); BKE_reportf(reports, data.count_failed ? RPT_WARNING : RPT_INFO, - "Total files %d|Changed %d|Failed %d", + "Total files %d | Changed %d | Failed %d", data.count_tot, data.count_changed, data.count_failed); } @@ -279,13 +279,13 @@ static int findMissingFiles_visit_cb(void *userdata, char *path_dst, const char if (filesize == -1) { /* could not open dir */ BKE_reportf(data->reports, RPT_WARNING, - "Could open directory \"%s\"", + "Could not open directory '%s'", BLI_path_basename(data->searchdir)); return FALSE; } else if (found == FALSE) { BKE_reportf(data->reports, RPT_WARNING, - "Could not find \"%s\" in \"%s\"", + "Could not find '%s' in '%s'", BLI_path_basename((char *)path_src), data->searchdir); return FALSE; } |