changeset 34481:887c198b5b78

Add size to ICONERROR warning message.
author ib
date Sat, 14 Jan 2012 16:30:03 +0000 (2012-01-14)
parents 6c6fb701fa8e
children 3c51a42da09c
files gui/ui/widgets.c help/help_mp-de.h help/help_mp-en.h help/help_mp-zh_CN.h
diffstat 4 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/widgets.c	Sat Jan 14 16:08:16 2012 +0000
+++ b/gui/ui/widgets.c	Sat Jan 14 16:30:03 2012 +0000
@@ -105,7 +105,7 @@
 
         g_object_unref(pixbuf);
     } else
-        mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_ICONERROR, GUI_ICON_NAME);
+        mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_ICONERROR, GUI_ICON_NAME, size);
 
     // start up GTK which realizes the pixmaps
     gtk_main_iteration_do(FALSE);
--- a/help/help_mp-de.h	Sat Jan 14 16:08:16 2012 +0000
+++ b/help/help_mp-de.h	Sat Jan 14 16:30:03 2012 +0000
@@ -756,7 +756,7 @@
 #define MSGTR_NEMFMR "Sorry, nicht genug Speicher f端r Men端-Rendering."
 #define MSGTR_IDFGCVD "Sorry, es wurde kein GUI-kompatibler Ausgabetreiber gefunden.\n"
 #define MSGTR_NEEDLAVC "Sorry, du versuchst, Nicht-MPEG Dateien ohne erneute Encodierung abzuspielen.\nBitte aktiviere lavc in der DXR3/H+-Konfigurationsbox."
-#define MSGTR_ICONERROR "Icon '%s' wurde nicht gefunden oder das Format wird nicht unterst端tzt.\n"
+#define MSGTR_ICONERROR "Icon '%s' (Gr旦�e %d) wurde nicht gefunden oder das Format wird nicht unterst端tzt.\n"
 
 // --- skin loader error messages
 #define MSGTR_SKIN_ERRORMESSAGE "Fehler in Skin-Konfigurationsdatei in Zeile %d: %s"
--- a/help/help_mp-en.h	Sat Jan 14 16:08:16 2012 +0000
+++ b/help/help_mp-en.h	Sat Jan 14 16:30:03 2012 +0000
@@ -562,7 +562,7 @@
 #define MSGTR_NEMFMR "Sorry, not enough memory for menu rendering."
 #define MSGTR_IDFGCVD "Sorry, no GUI-compatible video output driver found.\n"
 #define MSGTR_NEEDLAVC "Sorry, you cannot play non-MPEG files with your DXR3/H+ device without reencoding.\nPlease enable lavc in the DXR3/H+ configuration box."
-#define MSGTR_ICONERROR "Icon '%s' not found or unsupported format.\n"
+#define MSGTR_ICONERROR "Icon '%s' (size %d) not found or unsupported format.\n"
 
 // --- skin loader error messages
 #define MSGTR_SKIN_ERRORMESSAGE "Error in skin config file on line %d: %s"
--- a/help/help_mp-zh_CN.h	Sat Jan 14 16:08:16 2012 +0000
+++ b/help/help_mp-zh_CN.h	Sat Jan 14 16:30:03 2012 +0000
@@ -562,7 +562,6 @@
 #define MSGTR_NEMFMR "�掩�鐚�羃≧��莇喝�����絖��������羝我����"
 #define MSGTR_IDFGCVD "�掩�鐚����上�遺� GUI �弱���茹�蘂�莨��咲�����\n"
 #define MSGTR_NEEDLAVC "�掩�鐚������亥�������羈������ DXR3/H+ 莅上��㊥�冗�� MPEG ��篁吟��\n莚桁���� DXR3/H+ ��臀���筝㊦�� lavc 膽�茹g������"
-#define MSGTR_ICONERROR "�丈����%s�����上�井���弱�筝�������\n"
 
 // --- skin loader error messages
 #define MSGTR_SKIN_ERRORMESSAGE "���√�茹���臀���篁狗��莚��茵� %d鐚�%s"