[Gnucash-changes] r12044 - gnucash/trunk/src - Various i18n string
improvements.
Christian Stimming
cstim at cvs.gnucash.org
Sat Nov 26 06:47:28 EST 2005
Author: cstim
Date: 2005-11-26 06:47:27 -0500 (Sat, 26 Nov 2005)
New Revision: 12044
Trac: http://svn.gnucash.org/trac/changeset/12044
Modified:
gnucash/trunk/src/engine/gnc-filepath-utils.c
gnucash/trunk/src/gnome-utils/gnc-icons.c
gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Various i18n string improvements.
Modified: gnucash/trunk/src/engine/gnc-filepath-utils.c
===================================================================
--- gnucash/trunk/src/engine/gnc-filepath-utils.c 2005-11-26 10:48:55 UTC (rev 12043)
+++ gnucash/trunk/src/engine/gnc-filepath-utils.c 2005-11-26 11:47:27 UTC (rev 12044)
@@ -324,9 +324,9 @@
rc = mkdir (dirname, S_IRWXU); /* perms = S_IRWXU = 0700 */
if (rc) {
g_fprintf(stderr,
- _("An error occurred wile creating the directory:\n"
+ _("An error occurred while creating the directory:\n"
" %s\n"
- "Please correct the problem and restart gnucash\n"
+ "Please correct the problem and restart gnucash.\n"
"The reported error was '%s' (errno %d).\n"),
dirname, strerror(errno), errno);
exit(1);
Modified: gnucash/trunk/src/gnome-utils/gnc-icons.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-icons.c 2005-11-26 10:48:55 UTC (rev 12043)
+++ gnucash/trunk/src/gnome-utils/gnc-icons.c 2005-11-26 11:47:27 UTC (rev 12044)
@@ -10,11 +10,11 @@
#include "gnc-gnome-utils.h"
static GtkStockItem items[] = {
- { GNC_STOCK_ACCOUNT, "Account", 0, 0, NULL },
- { GNC_STOCK_DELETE_ACCOUNT, "_Delete Account", 0, 0, NULL },
- { GNC_STOCK_EDIT_ACCOUNT, "_Edit Account", 0, 0, NULL },
- { GNC_STOCK_NEW_ACCOUNT, "_New Account", 0, 0, NULL },
- { GNC_STOCK_OPEN_ACCOUNT, "_Open Account", 0, 0, NULL },
+ { GNC_STOCK_ACCOUNT, N_("Account"), 0, 0, NULL },
+ { GNC_STOCK_DELETE_ACCOUNT, N_("_Delete Account"), 0, 0, NULL },
+ { GNC_STOCK_EDIT_ACCOUNT, N_("_Edit Account"), 0, 0, NULL },
+ { GNC_STOCK_NEW_ACCOUNT, N_("_New Account"), 0, 0, NULL },
+ { GNC_STOCK_OPEN_ACCOUNT, N_("_Open Account"), 0, 0, NULL },
};
static void
Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c 2005-11-26 10:48:55 UTC (rev 12043)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c 2005-11-26 11:47:27 UTC (rev 12044)
@@ -991,8 +991,9 @@
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_NONE,
- _("<b>Quit Gnucash?</b>\n\n"
- "You are attempting to close the last "
+ "<b>%s</b>\n\n%s",
+ _("Quit Gnucash?"),
+ _("You are attempting to close the last "
"Gnucash window. Doing so will quit the "
"application. Are you sure that this is "
"what you want to do?"));
More information about the gnucash-changes
mailing list