Search
lxdream.org :: lxdream/src/gui/gdrom_menu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/gdrom_menu.c
changeset 508:ccd2c10edfe6
prev479:e030b18d2744
author nkeynes
date Sat Nov 10 04:45:29 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Tag translatable strings
file annotate diff log raw
1.1 --- a/src/gui/gdrom_menu.c Wed Oct 31 11:22:10 2007 +0000
1.2 +++ b/src/gui/gdrom_menu.c Sat Nov 10 04:45:29 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: gdrom_menu.c,v 1.4 2007-10-31 11:22:10 nkeynes Exp $
1.6 + * $Id: gdrom_menu.c,v 1.5 2007-11-10 04:45:29 nkeynes Exp $
1.7 *
1.8 * Creates and manages the GD-Rom attachment menu.
1.9 *
1.10 @@ -18,6 +18,7 @@
1.11
1.12 #include <assert.h>
1.13 #include <libgen.h>
1.14 +#include <glib/gi18n.h>
1.15
1.16 #include "dream.h"
1.17 #include "dreamcast.h"
1.18 @@ -142,7 +143,7 @@
1.19 {
1.20 if( !gdrom_menu_adjusting ) {
1.21 const gchar *dir = lxdream_get_config_value(CONFIG_DEFAULT_PATH);
1.22 - open_file_dialog( "Open...", gdrom_menu_open_file, NULL, NULL, dir );
1.23 + open_file_dialog( _("Open..."), gdrom_menu_open_file, NULL, NULL, dir );
1.24 }
1.25 }
1.26
1.27 @@ -157,7 +158,7 @@
1.28 void gdrom_menu_build( GtkWidget *menu )
1.29 {
1.30 GSList *group = NULL;
1.31 - GtkWidget *empty = gtk_radio_menu_item_new_with_label( group, "Empty" );
1.32 + GtkWidget *empty = gtk_radio_menu_item_new_with_label( group, _("Empty") );
1.33 group = gtk_radio_menu_item_get_group( GTK_RADIO_MENU_ITEM(empty) );
1.34 g_signal_connect_after( empty, "activate", G_CALLBACK(gdrom_menu_empty_callback), NULL );
1.35 gtk_menu_shell_append( GTK_MENU_SHELL(menu), empty );
1.36 @@ -188,7 +189,7 @@
1.37 }
1.38 }
1.39 gtk_menu_shell_append( GTK_MENU_SHELL(menu), gtk_separator_menu_item_new() );
1.40 - GtkWidget *open = gtk_image_menu_item_new_with_label( "Open image file..." );
1.41 + GtkWidget *open = gtk_image_menu_item_new_with_label( _("Open image file...") );
1.42 g_signal_connect_after( open, "activate", G_CALLBACK(gdrom_menu_open_image_callback), NULL );
1.43 gtk_menu_shell_append( GTK_MENU_SHELL(menu), open );
1.44 gtk_widget_show_all(menu);
1.45 @@ -197,7 +198,7 @@
1.46 GtkWidget *gdrom_menu_new()
1.47 {
1.48 GtkWidget *menu = gtk_menu_new();
1.49 - gtk_menu_set_title( GTK_MENU(menu), "GD-Rom Settings" );
1.50 + gtk_menu_set_title( GTK_MENU(menu), _("GD-Rom Settings") );
1.51
1.52 gdrom_menu_build(menu);
1.53
.