aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_keydef.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-25 21:03:28 +0100
committerMax Kellermann <max@duempel.org>2008-11-25 21:03:28 +0100
commit01388b0ea33e583358562d864cd0e481b2465308 (patch)
treec4e4e20e493ee9546b01a835bff4ea094343363c /src/screen_keydef.c
parent00098d8e42ffd4fb86c521a216460bcd2c921a29 (diff)
downloadmpd-01388b0ea33e583358562d864cd0e481b2465308.tar.gz
mpd-01388b0ea33e583358562d864cd0e481b2465308.tar.xz
mpd-01388b0ea33e583358562d864cd0e481b2465308.zip
po: improved translatable strings for easier translation
Remove exclamation marks and other markup from the strings.
Diffstat (limited to '')
-rw-r--r--src/screen_keydef.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index d55d4c0d2..02ef177d8 100644
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
@@ -66,7 +66,7 @@ apply_keys(void)
size_t size = command_list_length * sizeof(command_definition_t);
memcpy(orginal_cmds, cmds, size);
- screen_status_printf(_("You have new key bindings!"));
+ screen_status_printf(_("You have new key bindings"));
} else
screen_status_printf(_("Keybindings unchanged."));
}
@@ -159,7 +159,7 @@ assign_new_key(WINDOW *w, int cmd_index, int key_index)
g_free(buf);
if (key==ERR) {
- screen_status_printf(_("Aborted!"));
+ screen_status_printf(_("Aborted"));
return;
}
@@ -212,7 +212,8 @@ list_callback(unsigned idx, int *highlight, G_GNUC_UNUSED void *data)
cmds[subcmd].keys[idx]);
return buf;
} else if (idx == subcmd_addpos) {
- g_snprintf(buf, BUFSIZE, _("%d. Add new key "), idx + 1);
+ g_snprintf(buf, BUFSIZE, "%d. %s",
+ idx + 1, _("Add new key"));
return buf;
}
}
@@ -258,7 +259,6 @@ keydef_open(G_GNUC_UNUSED mpdclient_t *c)
cmds = g_malloc0(cmds_size);
memcpy(cmds, current_cmds, cmds_size);
command_list_length += STATIC_ITEMS;
- screen_status_printf(_("Welcome to the key editor!"));
}
subcmd = -1;