diff gui/dialog/about.c @ 36694:eed2fb870f43

Rename symbolic constants of GUI help message texts. Create a kind of GUI namespace and don't add place or kind of usage to the name unless it's advantageous. This reduces the amount of definitions as well. Arrange them alphabetically.
author ib
date Wed, 05 Feb 2014 16:39:38 +0000
parents e1e9f2ea17c9
children a08c32f7e836
line wrap: on
line diff
--- a/gui/dialog/about.c	Wed Feb 05 16:03:44 2014 +0000
+++ b/gui/dialog/about.c	Wed Feb 05 16:39:38 2014 +0000
@@ -62,7 +62,7 @@
 
   About=gtk_window_new( GTK_WINDOW_TOPLEVEL );
   gtk_widget_set_usize( About,340,415 );
-  gtk_window_set_title( GTK_WINDOW( About ),MSGTR_MENU_AboutMPlayer );
+  gtk_window_set_title( GTK_WINDOW( About ),MSGTR_GUI_AboutMPlayer );
   gtk_window_set_position( GTK_WINDOW( About ),GTK_WIN_POS_CENTER );
   gtk_window_set_policy( GTK_WINDOW( About ),FALSE,FALSE,TRUE );
   gtk_window_set_wmclass( GTK_WINDOW( About ),"About",MPlayer );
@@ -108,10 +108,10 @@
   gtk_text_insert( GTK_TEXT( AboutText ),NULL,NULL,NULL,
 #endif
   	"\n"
-	MSGTR_ABOUT_UHU":\n"
+	MSGTR_GUI_Sponsored":\n"
 	"       http://www.uhulinux.hu/\n"
 	"\n"
-	MSGTR_ABOUT_Contributors":\n"
+	MSGTR_GUI_Contributors":\n"
 	"\n"
 	"     * Andreas Ackermann\n"
 	"     * adland\n"
@@ -269,7 +269,7 @@
 	"     * Matan Ziv-Av\n"
 	"     * Márk Vicián Zoltán\n"
 	"\n"
-	MSGTR_ABOUT_Codecs_libs_contributions":\n"
+	MSGTR_GUI_CodecsAndLibraries":\n"
 	"\n"
 	"     * Fabrice Bellard\n"
 	"     * Vivien Chappelier\n"
@@ -282,7 +282,7 @@
 	"     * Mark Podlipec\n"
 	"     * Damien Vincent\n"
 	"\n"
-	MSGTR_ABOUT_Translations":\n"
+	MSGTR_GUI_Translations":\n"
 	"\n"
 	"     * Marcin Biernat\n"
 	"     * Marc Fargas\n"
@@ -299,7 +299,7 @@
 	"     * Wacław Schiller\n"
 	"     * Andoni Zubimendi\n"
 	"\n"
-	MSGTR_ABOUT_Skins":\n"
+	MSGTR_GUI_Skins":\n"
 	"\n"
 	"     * Azrael\n"
 	"     * Viktor Bekesi\n"
@@ -334,7 +334,7 @@
 	"     * Michael Zeising", -1 );
 
   gtkAddHSeparator( vbox );
-  Ok=gtkAddButton( MSGTR_Ok,gtkAddHButtonBox( vbox ) );
+  Ok=gtkAddButton( MSGTR_GUI_Ok,gtkAddHButtonBox( vbox ) );
 
   gtk_signal_connect( GTK_OBJECT( About ),"destroy",GTK_SIGNAL_FUNC( gtk_widget_destroyed ),&About );
   gtk_signal_connect_object( GTK_OBJECT( Ok ),"clicked",GTK_SIGNAL_FUNC( abWidgetDestroy ),NULL );