changeset 33062:be0848508395

Cosmetic: Rename error message. The renaming allows usage at other places without sounding strange there.
author ib
date Wed, 30 Mar 2011 10:07:15 +0000
parents 469a2b80a57a
children 39521b9a9ca5
files gui/skin/skin.c help/help_mp-de.h help/help_mp-en.h help/help_mp-zh_CN.h
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/skin.c	Tue Mar 29 19:42:05 2011 +0000
+++ b/gui/skin/skin.c	Wed Mar 30 10:07:15 2011 +0000
@@ -83,7 +83,7 @@
 static int in_window(char *name)
 {
     if (strcmp(currWinName, name) == 0) {
-        skin_error(MSGTR_SKIN_ERROR_IN_WINDOW, name);
+        skin_error(MSGTR_SKIN_ERROR_ITEM, name);
         return 1;
     }
 
@@ -168,7 +168,7 @@
         return 1;
 
     if (currWinName[0]) {
-        skin_error(MSGTR_SKIN_ERROR_IN_WINDOW, "window");
+        skin_error(MSGTR_SKIN_ERROR_ITEM, "window");
         return 1;
     }
 
--- a/help/help_mp-de.h	Tue Mar 29 19:42:05 2011 +0000
+++ b/help/help_mp-de.h	Wed Mar 30 10:07:15 2011 +0000
@@ -775,7 +775,7 @@
 #define MSGTR_SKIN_ERRORMESSAGE "Fehler in Skin-Konfigurationsdatei in Zeile %d: %s"
 #define MSGTR_SKIN_ERROR_SECTION "Für '%s' wurde kein Abschnitt angegeben.\n"
 #define MSGTR_SKIN_ERROR_WINDOW "Für '%s' wurde kein Fenster angegeben.\n"
-#define MSGTR_SKIN_ERROR_IN_WINDOW "Dieses Element wird in '%s' nicht unterstützt.\n"
+#define MSGTR_SKIN_ERROR_ITEM "Dieses Element wird in '%s' nicht unterstützt.\n"
 #define MSGTR_SKIN_SkinFileNotFound "Skin-Datei %s nicht gefunden.\n"
 #define MSGTR_SKIN_SkinFileNotReadable "Skin-Datei %s nicht lesbar.\n"
 #define MSGTR_SKIN_BITMAP_16bit  "Die Farbtiefe von %s beträgt 16 bpp oder weniger, was nicht unterstützt wird.\n"
--- a/help/help_mp-en.h	Tue Mar 29 19:42:05 2011 +0000
+++ b/help/help_mp-en.h	Wed Mar 30 10:07:15 2011 +0000
@@ -578,7 +578,7 @@
 #define MSGTR_SKIN_ERRORMESSAGE "Error in skin config file on line %d: %s"
 #define MSGTR_SKIN_ERROR_SECTION "No section specified for '%s'.\n"
 #define MSGTR_SKIN_ERROR_WINDOW "No window specified for '%s'.\n"
-#define MSGTR_SKIN_ERROR_IN_WINDOW "This item is not supported by '%s'.\n"
+#define MSGTR_SKIN_ERROR_ITEM "This item is not supported by '%s'.\n"
 #define MSGTR_SKIN_SkinFileNotFound "Skin file %s not found.\n"
 #define MSGTR_SKIN_SkinFileNotReadable "Skin file %s not readable.\n"
 #define MSGTR_SKIN_BITMAP_16bit  "Color depth of bitmap %s is 16 bits or less which is not supported.\n"
--- a/help/help_mp-zh_CN.h	Tue Mar 29 19:42:05 2011 +0000
+++ b/help/help_mp-zh_CN.h	Wed Mar 30 10:07:15 2011 +0000
@@ -562,7 +562,7 @@
 #define MSGTR_SKIN_ERRORMESSAGE "界面外观配置文件错误,行 %d:%s"
 #define MSGTR_SKIN_ERROR_SECTION "没有指定‘%s’的区域。\n"
 #define MSGTR_SKIN_ERROR_WINDOW "没有指定‘%s’的窗口。\n"
-#define MSGTR_SKIN_ERROR_IN_WINDOW "该项目‘%s’不支持。\n"
+#define MSGTR_SKIN_ERROR_ITEM "该项目‘%s’不支持。\n"
 #define MSGTR_SKIN_SkinFileNotFound "未找到界面外观文件 %s。\n"
 #define MSGTR_SKIN_SkinFileNotReadable "无法读取界面外观文件 %s。\n"
 #define MSGTR_SKIN_BITMAP_16bit  "不支持少于或等于 16 比特颜色精度的位图(%s)。\n"