summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_mixvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixgtk/mixgtk_mixvm.c')
-rw-r--r--mixgtk/mixgtk_mixvm.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mixgtk/mixgtk_mixvm.c b/mixgtk/mixgtk_mixvm.c
index 637ee31..d7f48c8 100644
--- a/mixgtk/mixgtk_mixvm.c
+++ b/mixgtk/mixgtk_mixvm.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mixgtk_mixvm.c :
* Implementation of the functions declared in mixgtk_mixvm.h
* ------------------------------------------------------------------
- * $Id: mixgtk_mixvm.c,v 1.9 2002/04/09 23:55:20 jao Exp $
+ * $Id: mixgtk_mixvm.c,v 1.10 2002/04/10 23:39:40 jao Exp $
* ------------------------------------------------------------------
* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
*
@@ -361,18 +361,19 @@ on_register_click (GtkWidget *w, GdkEvent *e, gpointer data)
gint k;
if (w == GTK_WIDGET (reg_entries_[0]))
- mixgtk_input_word ("Register A", mix_vm_get_rA (vm_),
+ mixgtk_input_word (_("Register A"), mix_vm_get_rA (vm_),
register_AX_, GINT_TO_POINTER (0));
else if (w == GTK_WIDGET (reg_entries_[1]))
- mixgtk_input_word ("Register X", mix_vm_get_rX (vm_),
+ mixgtk_input_word (_("Register X"), mix_vm_get_rX (vm_),
register_AX_, GINT_TO_POINTER(1));
else if (w == GTK_WIDGET (reg_entries_[2]))
- mixgtk_input_short ("Register J", mix_vm_get_rJ (vm_), register_j_, NULL);
+ mixgtk_input_short (_("Register J"), mix_vm_get_rJ (vm_),
+ register_j_, NULL);
else for (k = 1; k < 7; ++k)
{
if (w == GTK_WIDGET (reg_entries_[2 + k]))
{
- g_snprintf (BUFFER, SIZE, "Register I%d", k);
+ g_snprintf (BUFFER, SIZE, _("Register I%d"), k);
mixgtk_input_short (BUFFER, mix_vm_get_rI (vm_, k),
register_i_, GINT_TO_POINTER (k));
break;
@@ -395,7 +396,7 @@ on_memory_cells_select_row (GtkCList *w, gint row, gint col,
{
enum {SIZE = 30};
static gchar BUFFER[SIZE];
- g_snprintf (BUFFER, SIZE, "Memory cell no. %d", row);
+ g_snprintf (BUFFER, SIZE, _("Memory cell no. %d"), row);
mixgtk_input_word (BUFFER,
mix_vm_get_addr_contents (vm_, mix_short_new (row)),
mem_cell_, GINT_TO_POINTER (row));