[vlc-commits] commit: XCB/window: fix xgettext comments ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed May 12 21:35:15 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 12 22:27:11 2010 +0300| [ee5b45c29a118eb0e180631744896a11cdbe0044] | committer: Rémi Denis-Courmont 

XCB/window: fix xgettext comments

(cherry picked from commit 82afaa7160855901690f1ae9667904ff1a03e6a1)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=ee5b45c29a118eb0e180631744896a11cdbe0044
---

 modules/video_output/xcb/window.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 9d79df0..dc1c708 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -279,17 +279,17 @@ static int Open (vlc_object_t *obj)
 
     /* ICCCM
      * No cut&paste nor drag&drop, only Window Manager communication. */
-    /* xgettext:
-       Plain ASCII of "VLC media player" for the ICCCM window name.
-       This must be ASCII. The limitation is partially with ICCCM
-       and partially with VLC.
+    set_ascii_prop (conn, window, XA_WM_NAME,
+    /* xgettext: This is a plain ASCII spelling of "VLC media player"
+       for the ICCCM window name. This must be pure ASCII.
+       The limitation is partially with ICCCM and partially with VLC.
        For Latin script languages, you may need to strip accents.
        For other scripts, you will need to transliterate into Latin. */
-    set_ascii_prop (conn, window, XA_WM_NAME,
-                  vlc_pgettext ("ASCII", "VLC media player"));
-    /* xgettext:
-       Plain ASCII of "VLC" for the ICCCM window name. */
+                    vlc_pgettext ("ASCII", "VLC media player"));
+
     set_ascii_prop (conn, window, XA_WM_ICON_NAME,
+    /* xgettext: This is a plain ASCII spelling of "VLC"
+       for the ICCCM window name. This must be pure ASCII. */
                     vlc_pgettext ("ASCII", "VLC"));
     set_wm_hints (conn, window);
     xcb_change_property (conn, XCB_PROP_MODE_REPLACE, window, XA_WM_CLASS,



More information about the vlc-commits mailing list