mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
More debug message cleanup
Remove several very noise messages on dive site handling (this seems to work well now, so I think we can remove most of them - a couple were left that indicate actual issues). And also remove all the calls to "translate" when outputting data to stderr. Error messages that indicate issues where the user will basically have to come and ask the developers for help shouldn't be localized. They should be in English to make it easier for us to figure out what's going on. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
898d82e647
commit
08a451d24a
3 changed files with 21 additions and 38 deletions
2
file.c
2
file.c
|
@ -176,7 +176,7 @@ static int try_to_open_db(const char *filename, struct memblock *mem)
|
|||
retval = sqlite3_open(filename, &handle);
|
||||
|
||||
if (retval) {
|
||||
fprintf(stderr, translate("gettextFromC", "Database connection failed '%s'.\n"), filename);
|
||||
fprintf(stderr, "Database connection failed '%s'.\n", filename);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue