[MPlayer-cvslog] r38091 - in trunk: gui/dialog/dialog.c gui/wm/wsxdnd.c help/help_mp-de.h help/help_mp-en.h

ib subversion at mplayerhq.hu
Fri Apr 13 16:48:20 EEST 2018


Author: ib
Date: Fri Apr 13 16:48:20 2018
New Revision: 38091

Log:
Make messages translatable.

Modified:
   trunk/gui/dialog/dialog.c
   trunk/gui/wm/wsxdnd.c

Changes in other areas also in this revision:
Modified:
   trunk/help/help_mp-de.h
   trunk/help/help_mp-en.h

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Fri Apr 13 15:49:37 2018	(r38090)
+++ trunk/gui/dialog/dialog.c	Fri Apr 13 16:48:20 2018	(r38091)
@@ -277,7 +277,7 @@ void gtkShow(int type, char *param)
             gtkSetLayer(SkinBrowser);
         } else {
             gtk_widget_destroy(SkinBrowser);
-            gtkMessageBox(MSGBOX_ERROR, "Skin dirs not found ... Please install skins.");
+            gtkMessageBox(MSGBOX_ERROR, MSGTR_GUI_MSG_SkinDirNotFound);
         }
 
         break;

Modified: trunk/gui/wm/wsxdnd.c
==============================================================================
--- trunk/gui/wm/wsxdnd.c	Fri Apr 13 15:49:37 2018	(r38090)
+++ trunk/gui/wm/wsxdnd.c	Fri Apr 13 16:48:20 2018	(r38091)
@@ -217,7 +217,7 @@ wsXDNDProcessClientMessage(XClientMessag
 
   if (event->message_type == XA_XdndDrop) {
     if ((Window) event->data.l[0] != XGetSelectionOwner(wsDisplay, XA_XdndSelection)){
-      puts("Weird selection owner... QT?");
+      mp_msg( MSGT_GPLAYER,MSGL_WARN,MSGTR_GUI_MSG_DragAndDropOwner );
     }
     if (atom_support != None) {
       XConvertSelection(wsDisplay, XA_XdndSelection, atom_support,


More information about the MPlayer-cvslog mailing list