return TRUE;
}
- g_printerr ("Keybinding unsuccessful. Reverting to original key\n");
+ g_printerr (_("Bind key '%s' failed. Reverting to original keybinding\n"), self->key);
/* Not successful, so rebind the old key, and return FALSE */
if (self->key != NULL && strcmp("",self->key) != 0)
/* Check that it went ok */
if (!ret)
- g_printerr ("Unable to bind original key as well! Oh shit...\n");
+ g_printerr (_("Unable to re-bind original key '%s'. Oh shit...\n"), self->key);
}
else
- g_printerr ("No original key to revert to!\n");
+ g_printerr (_("No original key to revert to!\n"));
return FALSE;
}
/* Do other stuff here. The object is ready to go now, and all
* ctor properties have been set.
- *
- * TODO: This is the place to do DBus-init */
+ */
self = TILDA_WINDOW(obj);
/* Register this object with DBus */
/* Install all of the properties */
pspec = g_param_spec_int ("number",
- "Window number",
- "Set window's number",
+ _("Window number"),
+ NULL,
0, // min value
INT_MAX, // max value
0, // def value
pspec);
pspec = g_param_spec_string ("key",
- "Window's drop-down keybinding",
+ _("Window's drop-down keybinding"),
NULL,
NULL,
G_PARAM_READWRITE);
pspec);
pspec = g_param_spec_int ("height",
- "Window's height",
+ _("Window's height"),
NULL,
0,
INT_MAX,
pspec);
pspec = g_param_spec_int ("width",
- "Window's width",
+ _("Window's width"),
NULL,
0,
INT_MAX,
pspec);
pspec = g_param_spec_int ("x-position",
- "Window's x position",
+ _("Window's x position"),
NULL,
0,
INT_MAX,
pspec);
pspec = g_param_spec_int ("y-position",
- "Window's y position",
+ _("Window's y position"),
NULL,
0,
INT_MAX,
pspec);
pspec = g_param_spec_int ("tab-position",
- "Window's tab position",
+ _("Position of window's tab bar"),
NULL,
0,
INT_MAX,
pspec);
pspec = g_param_spec_int ("animation-orientation",
- "Window's animation orientation",
+ _("Window's animation orientation"),
NULL,
0,
INT_MAX,
pspec);
pspec = g_param_spec_int ("animation-delay",
- "Amount of time in milliseconds between animation intervals",
+ _("Amount of time in milliseconds between animation intervals"),
NULL,
0,
INT_MAX,
pspec);
pspec = g_param_spec_boolean ("keep-above",
- "Keep this window above all others",
+ _("Keep this window above all others"),
NULL,
FALSE,
G_PARAM_READWRITE);
pspec);
pspec = g_param_spec_boolean ("skip-taskbar-hint",
- "Hide this window in the taskbar if TRUE",
+ _("Hide this window in the taskbar if TRUE"),
NULL,
FALSE,
G_PARAM_READWRITE);
pspec);
pspec = g_param_spec_boolean ("stick",
- "Display this window on all workspaces",
+ _("Display this window on all workspaces"),
NULL,
FALSE,
G_PARAM_READWRITE);
pspec);
pspec = g_param_spec_boolean ("hidden-at-start",
- "Hide the window when it is first created",
+ _("Hide the window when it is first created"),
NULL,
FALSE,
G_PARAM_READWRITE);
pspec);
pspec = g_param_spec_boolean ("centered-horizontally",
- "Center the window horizontally",
+ _("Center the window horizontally"),
NULL,
FALSE,
G_PARAM_READWRITE);
pspec);
pspec = g_param_spec_boolean ("centered-vertically",
- "Center the window vertically",
+ _("Center the window vertically"),
NULL,
FALSE,
G_PARAM_READWRITE);