# HG changeset patch # User giacomo # Date 1138475592 28800 # Node ID 3312c831db3eccf59f9f5033fbf18ddb4ba2c317 # Parent 6366eb2fc408bc66f81ee6259c4c2eb2a31e930d [svn] adapted the logo text for gettext translations diff -r 6366eb2fc408 -r 3312c831db3e Plugins/General/lirc/about.c --- a/Plugins/General/lirc/about.c Sat Jan 28 09:40:22 2006 -0800 +++ b/Plugins/General/lirc/about.c Sat Jan 28 11:13:12 2006 -0800 @@ -54,6 +54,7 @@ GtkWidget *bbox,*about_credits_logo_box,*about_credits_logo_frame; GtkWidget *about_credits_logo; GtkWidget *button,*label; + GString *logo_text; if(dialog) return; @@ -84,17 +85,23 @@ about_credits_logo); gtk_container_border_width(GTK_CONTAINER(dialog),5); + + logo_text = g_string_new( "" ); + g_string_append( logo_text , "LIRC Plugin " ); + g_string_append( logo_text , VERSION ); + g_string_append( logo_text , "\n" +"A simple plugin that lets you control\n" +"audacious using the LIRC remote control daemon\n\n" +"Adapted for audacious usage by Tony Vroon \n" +"from the XMMS LIRC plugin by:\n" +"Carl van Schaik \n" +"Christoph Bartelmus \n" +"You can get LIRC information at:\n" +"http://fsinfo.cs.uni-sb.de/~columbus/lirc/index.html" ); - label=gtk_label_new("LIRC Plugin " VERSION "\n\ -A simple plugin that lets you control\n\ -audacious using the LIRC remote control daemon\n\n\ -Adapted for audacious usage by Tony Vroon \n\ -from the XMMS LIRC plugin by:\n\ -Carl van Schaik \n\ -Christoph Bartelmus \n\ -You can get LIRC information at:\n\ -http://fsinfo.cs.uni-sb.de/~columbus/lirc/index.html" - ); + label=gtk_label_new( logo_text->str ); + g_string_free( logo_text, TRUE ); + gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox),label, TRUE,TRUE,10);