mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 08:22:37 +01:00
wmaker: replaced old email address with the official one
In the crash handling dialog there was a reference to an old email address. This patch replaces it with the official one, taken from the 'configure.ac' definition so it will not need manual update anymore. The mail address is inserted in the string with a '%s' in order to not have it in the translation files (po) to ease the maintainer's task in case of future change. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
280615f8a1
commit
73420b3d2d
@@ -1628,9 +1628,11 @@ int wShowCrashingDialogPanel(int whatSig)
|
||||
WMResizeWidget(panel->note2L, PWIDTH - 20, 100);
|
||||
WMMoveWidget(panel->note2L, 10, 130);
|
||||
WMSetLabelTextAlignment(panel->note2L, WALeft);
|
||||
WMSetLabelText(panel->note2L,
|
||||
_(" This fatal error occured probably due to a bug."
|
||||
" Please fill the included BUGFORM and " "report it to bugs@windowmaker.info."));
|
||||
snprintf(buf, sizeof(buf), /* Comment for the PO file: the %s is an email address */
|
||||
_(" This fatal error occured probably due to a bug."
|
||||
" Please fill the included BUGFORM and report it to %s."),
|
||||
PACKAGE_BUGREPORT);
|
||||
WMSetLabelText(panel->note2L, buf);
|
||||
WMSetLabelWraps(panel->note2L, True);
|
||||
|
||||
panel->whatF = WMCreateFrame(panel->win);
|
||||
|
||||
@@ -13,10 +13,16 @@ Bool GetCommandForPid(int pid, char ***argv, int *argc)
|
||||
if (!notified) {
|
||||
struct utsname un;
|
||||
|
||||
/* The comment below is placed in the PO file by xgettext to help translator */
|
||||
if (uname(&un) != -1) {
|
||||
/*
|
||||
* 1st %s is a function name
|
||||
* 2nd %s is an email address
|
||||
* 3rd %s is the name of the operating system
|
||||
*/
|
||||
wwarning(_("%s is not implemented on this platform; "
|
||||
"tell wmaker-dev@windowmaker.org you are running "
|
||||
"%s release %s version %s"), __FUNCTION__,
|
||||
"tell %s you are running %s release %s version %s"),
|
||||
__FUNCTION__, PACKAGE_BUGREPORT,
|
||||
un.sysname, un.release, un.version);
|
||||
notified = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user