diff gui/ui/main.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 7d250553d451
children ecf965eee74d
line wrap: on
line diff
--- a/gui/ui/main.c	Wed Feb 05 16:03:44 2014 +0000
+++ b/gui/ui/main.c	Wed Feb 05 16:39:38 2014 +0000
@@ -322,7 +322,7 @@
       }
       listMgr(PLAYLIST_ITEM_APPEND,item);
     } else {
-      mp_msg( MSGT_GPLAYER,MSGL_WARN,MSGTR_NotAFile,str );
+      mp_msg( MSGT_GPLAYER,MSGL_WARN,MSGTR_GUI_MSG_NotAFile1,str );
     }
     free( str );
   }
@@ -345,7 +345,7 @@
 
   if (!mainDrawBuffer)
   {
-    gmp_msg(MSGT_GPLAYER, MSGL_FATAL, "[main] " MSGTR_NEMDB);
+    gmp_msg(MSGT_GPLAYER, MSGL_FATAL, "[main] " MSGTR_GUI_MSG_MemoryErrorWindow);
     mplayer(MPLAYER_EXIT_GUI, EXIT_ERROR, 0);
   }