diff options
author | Max Kellermann <max@duempel.org> | 2009-01-06 18:19:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-06 18:19:29 +0100 |
commit | cc9502576b1fb669b71ddf3f772a567d55789928 (patch) | |
tree | 4ec4749754870a06e92c7b5d92b96f459f47b83d /src/command.c | |
parent | bdb3382cc7190a0ff8ddddf32e7998d4582e590c (diff) | |
download | mpd-cc9502576b1fb669b71ddf3f772a567d55789928.tar.gz mpd-cc9502576b1fb669b71ddf3f772a567d55789928.tar.xz mpd-cc9502576b1fb669b71ddf3f772a567d55789928.zip |
removed newline from translatable strings
Don't make translators deal with newlines.
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/command.c b/src/command.c index 685fa7056..2f3bafd85 100644 --- a/src/command.c +++ b/src/command.c @@ -482,16 +482,18 @@ check_key_bindings(command_definition_t *cp, char *buf, size_t bufsize) (cmd = find_key_command(cp[i].keys[j],cp)) != cp[i].command) { if (buf) { g_snprintf(buf, bufsize, - _("Key %s assigned to %s and %s\n"), + _("Key %s assigned to %s and %s"), key2str(cp[i].keys[j]), get_key_command_name(cp[i].command), get_key_command_name(cmd)); - } else + } else { fprintf(stderr, - _("Key %s assigned to %s and %s\n"), + _("Key %s assigned to %s and %s"), key2str(cp[i].keys[j]), get_key_command_name(cp[i].command), get_key_command_name(cmd)); + fputc('\n', stderr); + } cp[i].flags |= COMMAND_KEY_CONFLICT; set_key_flags(cp, cmd, COMMAND_KEY_CONFLICT); retval = -1; |