[MPlayer-translations] r33552 - in trunk: gui/wm/ws.c help/help_mp-bg.h help/help_mp-cs.h help/help_mp-de.h help/help_mp-en.h help/help_mp-es.h help/help_mp-fr.h help/help_mp-hu.h help/help_mp-it.h help/help_mp-pl.h help...

ib subversion at mplayerhq.hu
Fri Jun 3 16:35:48 CEST 2011


Author: ib
Date: Fri Jun  3 16:35:44 2011
New Revision: 33552

Log:
Remove useless code.

mDisplay is always set, otherwise the GUI wouldn't have been called.
Thus, there is neither a need to call XOpenDisplay() nor to check for error.

Modified:
   trunk/help/help_mp-bg.h
   trunk/help/help_mp-cs.h
   trunk/help/help_mp-de.h
   trunk/help/help_mp-es.h
   trunk/help/help_mp-fr.h
   trunk/help/help_mp-hu.h
   trunk/help/help_mp-it.h
   trunk/help/help_mp-pl.h
   trunk/help/help_mp-ru.h
   trunk/help/help_mp-tr.h
   trunk/help/help_mp-uk.h
   trunk/help/help_mp-zh_CN.h
   trunk/help/help_mp-zh_TW.h

Changes in other areas also in this revision:
Modified:
   trunk/gui/wm/ws.c
   trunk/help/help_mp-en.h

Modified: trunk/help/help_mp-bg.h
==============================================================================
--- trunk/help/help_mp-bg.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-bg.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -812,7 +812,6 @@ static const char help_text[]=
 
 // ws.c
 
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Не може да бъде отворен DISPLAY.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Отдалечен дисплей, изключване на  XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] За съжаление вашата система не поддържа разширението на X за споделена памет.\n"
 #define MSGTR_WS_NoXshape "[ws] За съжаление вашата система не поддържа разширението XShape.\n"

Modified: trunk/help/help_mp-cs.h
==============================================================================
--- trunk/help/help_mp-cs.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-cs.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -784,7 +784,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "Toto nevypadá jako soubor: %s !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Nelze otevřít display.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Vzdálený display, vypínám XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Promiňte, ale váš systém nepodporuje rozšíření X shared memory.\n"
 #define MSGTR_WS_NoXshape "[ws] Promiňte, ale váš systém nepodporuje rozšíření XShape.\n"

Modified: trunk/help/help_mp-de.h
==============================================================================
--- trunk/help/help_mp-de.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-de.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -1016,7 +1016,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "Dies scheint keine Datei zu sein: %s !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Konnte das Display nicht öffnen.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Ferngesteuertes Display, deaktiviere XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Sorry, dein System unterstützt die Shared-Memory-Erweiterung von X nicht.\n"
 #define MSGTR_WS_NoXshape "[ws] Sorry, dein System unterstützt die XShape-Erweiterung nicht.\n"

Modified: trunk/help/help_mp-es.h
==============================================================================
--- trunk/help/help_mp-es.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-es.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -800,7 +800,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "Esto no parece ser un archivo: %s !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] No puede abrir el display.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Display remoto, desactivando XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Lo lamento, su sistema no soporta la extensión de memoria compartida X.\n"
 #define MSGTR_WS_NoXshape "[ws] Lo lamento, su sistema no soporta la extensión XShape.\n"

Modified: trunk/help/help_mp-fr.h
==============================================================================
--- trunk/help/help_mp-fr.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-fr.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -967,7 +967,6 @@ static const char help_text[]=
 
 // ws.c
 
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Impossible d'ouvrir l'affichage.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Affichage à distance, désactive XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Désolé, votre système ne supporte pas l'extension de mémoire partagée X.\n"
 #define MSGTR_WS_NoXshape "[ws] Désolé, votre système ne supporte pas l'extension XShape.\n"

Modified: trunk/help/help_mp-hu.h
==============================================================================
--- trunk/help/help_mp-hu.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-hu.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -797,7 +797,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "Úgy tűnik, hogy ez nem fájl: %s !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] A képernyő nem nyitható meg.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Távoli képernyő, XMITSHM kikapcsolva.\n"
 #define MSGTR_WS_NoXshm "[ws] Bocs, a rendszered nem támogatja az X osztott memória kiterjesztést.\n"
 #define MSGTR_WS_NoXshape "[ws] Bocs, a rendszered nem támogatja az XShape kiterjesztést.\n"

Modified: trunk/help/help_mp-it.h
==============================================================================
--- trunk/help/help_mp-it.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-it.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -794,7 +794,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "Questo non pare essere un file: %s !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Non posso aprire il display.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Display remoto, disabilito XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Spiacente, il tuo sistema non supporta l'estensione 'X shared memory'.\n"
 #define MSGTR_WS_NoXshape "[ws] Spiacente, il tuo sistema non supporta l'estensione XShape.\n"

Modified: trunk/help/help_mp-pl.h
==============================================================================
--- trunk/help/help_mp-pl.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-pl.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -938,7 +938,6 @@ static const char help_text[]=
 
 // ws.c
 
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Nie udało sie otworzyć ekranu.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Ekran zdalny, wyłączam XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Niestety Twój system nie obsługuje rozszerzeń dzielonej pamięci X.\n"
 #define MSGTR_WS_NoXshape "[ws] Niestety Twój system nie obsługuje rozszerzenia XShape.\n"

Modified: trunk/help/help_mp-ru.h
==============================================================================
--- trunk/help/help_mp-ru.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-ru.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -786,7 +786,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "Это не похоже на файл: '%s' !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Не могу открыть дисплей.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Удалённый дисплей, отключаю XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Извините, ваша система не поддерживает расширение разделяемой памяти X'ов.\n"
 #define MSGTR_WS_NoXshape "[ws] Извините, ваша система не поддерживает расширение XShape.\n"

Modified: trunk/help/help_mp-tr.h
==============================================================================
--- trunk/help/help_mp-tr.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-tr.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -981,7 +981,6 @@ static const char help_text[]=
 
 // ws.c
 
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Gösterge açılamadı.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] uzaktan kumanda göstergesi, XMITSHM devredışı bırakılıyor.\n"
 #define MSGTR_WS_NoXshm "[ws] Üzgünüm, sisteminiz X paylaşımlı bellek genişletmesini desteklemiyor.\n"
 #define MSGTR_WS_NoXshape "[ws] Üzgünüm, sisteminiz Xshape genişletmesini desteklemiyor.\n"

Modified: trunk/help/help_mp-uk.h
==============================================================================
--- trunk/help/help_mp-uk.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-uk.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -779,7 +779,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "Здається, це не файл: %s !\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] Не можу відкрити дисплей.\n"
 #define MSGTR_WS_RemoteDisplay "[ws] Віддалений дисплей, вимикаю XMITSHM.\n"
 #define MSGTR_WS_NoXshm "[ws] Вибачте, ваша система не підтримує розширення загальної пам'яті X.\n"
 #define MSGTR_WS_NoXshape "[ws] Вибачте, здається, ваша система не підтримує розширення XShape.\n"

Modified: trunk/help/help_mp-zh_CN.h
==============================================================================
--- trunk/help/help_mp-zh_CN.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-zh_CN.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -807,7 +807,6 @@ static const char help_text[]=
 #define MSGTR_NotAFile "这好像不是文件:%s!\n"
 
 // ws.c
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] 无法打开显示界面。\n"
 #define MSGTR_WS_RemoteDisplay "[ws] 远程显示界面,禁用 XMITSHM。\n"
 #define MSGTR_WS_NoXshm "[ws] 抱歉,你的系统不支持 X 共享内存扩展组件。\n"
 #define MSGTR_WS_NoXshape "[ws] 抱歉,你的系统不支持 XShape 扩展组件。\n"

Modified: trunk/help/help_mp-zh_TW.h
==============================================================================
--- trunk/help/help_mp-zh_TW.h	Fri Jun  3 16:31:13 2011	(r33551)
+++ trunk/help/help_mp-zh_TW.h	Fri Jun  3 16:35:44 2011	(r33552)
@@ -953,7 +953,6 @@ static const char help_text[]=
 
 // ws.c
 
-#define MSGTR_WS_CouldNotOpenDisplay "[ws] 打不開顯示。\n"
 #define MSGTR_WS_RemoteDisplay "[ws] 遠程顯示, 停用 XMITSHM。\n"
 #define MSGTR_WS_NoXshm "[ws] 抱歉, 你的係統不支持 X 共享内存擴展。\n"
 #define MSGTR_WS_NoXshape "[ws] 抱歉, 你的係統不支持 XShape 擴展。\n"


More information about the MPlayer-translations mailing list