From: RĂ©mi Denis-Courmont Date: Wed, 12 May 2010 19:27:11 +0000 (+0300) Subject: XCB/window: fix xgettext comments X-Git-Tag: 1.2.0-pre1~6666 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=82afaa7160855901690f1ae9667904ff1a03e6a1;p=vlc XCB/window: fix xgettext comments --- diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c index 9d79df08b8..dc1c708111 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,