summaryrefslogtreecommitdiff
path: root/openbox/mouse.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-23 17:56:35 +0000
committerDana Jansens <danakj@orodu.net>2007-04-23 17:56:35 +0000
commit2442cdfd85e5229c7ee4ac49ca66a7d55ffcb919 (patch)
treef651e82bc6e640e21e12f7eb7a2f84870850382e /openbox/mouse.c
parentea088eb88d7c29558fa59563a934545bc122d5eb (diff)
1) translate all of openbox's output
2) update copyrights. 3) make release. ok that part not quite yet.
Diffstat (limited to 'openbox/mouse.c')
-rw-r--r--openbox/mouse.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c
index 81eccfb8..27172d52 100644
--- a/openbox/mouse.c
+++ b/openbox/mouse.c
@@ -2,7 +2,7 @@
mouse.c for the Openbox window manager
Copyright (c) 2006 Mikael Magnusson
- Copyright (c) 2003 Ben Jansens
+ Copyright (c) 2003-2007 Dana Jansens
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -28,6 +28,8 @@
#include "frame.h"
#include "translate.h"
#include "mouse.h"
+#include "gettext.h"
+
#include <glib.h>
typedef struct {
@@ -309,13 +311,13 @@ gboolean mouse_bind(const gchar *buttonstr, const gchar *contextstr,
GSList *it;
if (!translate_button(buttonstr, &state, &button)) {
- g_warning("invalid button '%s'", buttonstr);
+ g_message(_("Invalid button '%s' in pointer binding"), buttonstr);
return FALSE;
}
context = frame_context_from_string(contextstr);
if (!context) {
- g_warning("invalid context '%s'", contextstr);
+ g_message(_("Invalid context '%s' in pointer binding"), contextstr);
return FALSE;
}