r405 - trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jan 12 07:49:47 EST 2008
Author: icculus
Date: 2008-01-12 07:49:47 -0500 (Sat, 12 Jan 2008)
New Revision: 405
Modified:
trunk/gui_ncurses.c
trunk/gui_stdio.c
Log:
More localization fixes.
Modified: trunk/gui_ncurses.c
===================================================================
--- trunk/gui_ncurses.c 2008-01-12 12:47:19 UTC (rev 404)
+++ trunk/gui_ncurses.c 2008-01-12 12:49:47 UTC (rev 405)
@@ -1287,7 +1287,7 @@
{
char *fmt = entry->xstrdup(entry->_("Please insert '%0'"));
char *text = entry->format(fmt, medianame);
- char *localized_ok = entry->xstrdup(entry->_("Ok"));
+ char *localized_ok = entry->xstrdup(entry->_("OK"));
char *localized_cancel = entry->xstrdup(entry->_("Cancel"));
char *buttons[] = { localized_ok, localized_cancel };
MojoBox *mojobox = NULL;
Modified: trunk/gui_stdio.c
===================================================================
--- trunk/gui_stdio.c 2008-01-12 12:47:19 UTC (rev 404)
+++ trunk/gui_stdio.c 2008-01-12 12:49:47 UTC (rev 405)
@@ -129,7 +129,10 @@
boolean retval = false;
if (!feof(stdin))
{
- const char *_fmt = ((defval) ? "%1\n[Y/n]: " : "%1\n[y/N]: ");
+ const char *_fmt = ((defval) ?
+ entry->_("%1\n[Y/n]: ") :
+ entry->_("%1\n[y/N]: "));
+
char *fmt = entry->xstrdup(entry->_(_fmt));
char *msg = entry->format(fmt, text);
char *localized_no = entry->xstrdup(entry->_("N"));
More information about the mojosetup-commits
mailing list