1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-20 16:55:46 +01:00

WINGs: add missing source files for translation

As pointed by the new check script, many source files were not in the list
used for translation.

Took opportunity to make translatable a few messages that could help user.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2015-01-20 22:03:50 +01:00
committed by Carlos R. Mafra
parent b266808331
commit 6000af3828
7 changed files with 68 additions and 13 deletions

View File

@@ -1,6 +1,8 @@
#include <X11/Xmd.h>
#include "wconfig.h"
#include "WINGsP.h"
#include "GNUstep.h"
@@ -155,7 +157,7 @@ static void setWindowTitle(WMWindow * win, const char *title)
result = XmbTextListToTextProperty(scr->display, (char **)&title, 1, XStdICCTextStyle, &property);
if (result == XNoMemory || result == XLocaleNotSupported) {
wwarning("window title conversion error... using STRING encoding");
wwarning(_("window title conversion error... using STRING encoding"));
XStoreName(scr->display, win->view->window, title);
} else {
XSetWMName(scr->display, win->view->window, &property);
@@ -176,7 +178,7 @@ static void setMiniwindowTitle(WMWindow * win, const char *title)
result = XmbTextListToTextProperty(scr->display, (char **)&title, 1, XStdICCTextStyle, &property);
if (result == XNoMemory || result == XLocaleNotSupported) {
wwarning("icon title conversion error..using STRING encoding");
wwarning(_("icon title conversion error... using STRING encoding"));
XSetIconName(scr->display, win->view->window, title);
} else {
XSetWMIconName(scr->display, win->view->window, &property);