I18n changes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7532 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2002-11-24 01:16:39 +00:00
parent 63af960213
commit 389b9599fc
2 changed files with 3 additions and 2 deletions

View File

@ -64,6 +64,7 @@
#include "events.h" #include "events.h"
#include "gncquery.h" #include "gncquery.h"
#include "kvp-sql.h" #include "kvp-sql.h"
#include "messages.h"
#include "PostgresBackend.h" #include "PostgresBackend.h"
#include "price.h" #include "price.h"
#include "txn.h" #include "txn.h"
@ -1842,7 +1843,7 @@ pgend_session_begin (Backend *backend,
PWARN ("the following message should be shown in a gui"); PWARN ("the following message should be shown in a gui");
PWARN ("unknown mode %s, will use multi-user mode", PWARN ("unknown mode %s, will use multi-user mode",
start ? start : "(null)"); start ? start : "(null)");
xaccBackendSetMessage(_("Unknown database access mode '%s'. Using default mode: multi-user."), xaccBackendSetMessage((Backend *)be, _("Unknown database access mode '%s'. Using default mode: multi-user."),
start ? start : "(null)"); start ? start : "(null)");
be->session_mode = MODE_EVENT; be->session_mode = MODE_EVENT;
} }

View File

@ -483,7 +483,7 @@ xaccAccountCommitEdit (Account *acc)
err = xaccBackendGetMessage(be); err = xaccBackendGetMessage(be);
/* g_strdup here, because err needs to be g_freed if from Backend */ /* g_strdup here, because err needs to be g_freed if from Backend */
err = err ? err : g_strdup(_("Error message not available")); err = err ? err : g_strdup(_("Error message not available"));
PWARN_GUI("Error occurred while saving Account:\n%d: %s", PWARN_GUI(_("Error occurred while saving Account:\n%d: %s"),
xaccBackendGetError(be), err); xaccBackendGetError(be), err);
/* push error back onto the stack */ /* push error back onto the stack */