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:
Dirk Hohndel 2015-07-02 11:22:22 -07:00
parent 898d82e647
commit 08a451d24a
3 changed files with 21 additions and 38 deletions

2
file.c
View file

@ -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;
}