summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00098d8)
raw | patch | inline | side by side (parent: 00098d8)
author | Max Kellermann <max@duempel.org> | |
Tue, 25 Nov 2008 20:03:28 +0000 (21:03 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 25 Nov 2008 20:03:28 +0000 (21:03 +0100) |
Remove exclamation marks and other markup from the strings.
src/colors.c | patch | blob | history | |
src/command.c | patch | blob | history | |
src/main.c | patch | blob | history | |
src/screen.c | patch | blob | history | |
src/screen_artist.c | patch | blob | history | |
src/screen_file.c | patch | blob | history | |
src/screen_keydef.c | patch | blob | history | |
src/screen_lyrics.c | patch | blob | history | |
src/screen_play.c | patch | blob | history |
diff --git a/src/colors.c b/src/colors.c
index 0bcf2782c8a76677122d32f3d6cfdd3af2bb426c..cc3ec50615ff7e09d312ba4b7759feb2c6ff787d 100644 (file)
--- a/src/colors.c
+++ b/src/colors.c
list = list->next;
}
} else if (color_definition_list && !can_change_color())
- fprintf(stderr, _("Terminal lacks support for changing colors!\n"));
+ fprintf(stderr, _("Terminal lacks support for changing colors\n"));
if (options.enable_colors) {
enum color i;
colors_update_pair(i);
}
} else if (options.enable_colors) {
- fprintf(stderr, _("Terminal lacks color capabilities!\n"));
+ fprintf(stderr, _("Terminal lacks color capabilities\n"));
options.enable_colors = 0;
}
diff --git a/src/command.c b/src/command.c
index 107167376e1db2162cbbc4c063f7dbb268615018..e04817fa1e08625579ec3880962210bb3ecb0ac9 100644 (file)
--- a/src/command.c
+++ b/src/command.c
get_key_names(CMD_SCREEN_KEYDEF,0));
#else
g_snprintf(buf, bufsize,
- _("Error: Key %s assigned to %s and %s !!!\n"),
+ _("Error: Key %s assigned to %s and %s\n"),
key2str(cp[i].keys[j]),
get_key_command_name(cp[i].command),
get_key_command_name(cmd));
#endif
} else
fprintf(stderr,
- _("Error: Key %s assigned to %s and %s !!!\n"),
+ _("Error: Key %s assigned to %s and %s\n"),
key2str(cp[i].keys[j]),
get_key_command_name(cp[i].command),
get_key_command_name(cmd));
diff --git a/src/main.c b/src/main.c
index ed76181f627a20fafb80057110782dc4d041e4d1..11f16acb842f57174986ffca34e4e7ddcd1c2769 100644 (file)
--- a/src/main.c
+++ b/src/main.c
#ifndef NCMPC_MINI
/* quit if mpd is pre 0.11.0 - song id not supported by mpd */
if (MPD_VERSION_LT(mpd, 0, 11, 0)) {
- screen_status_printf(_("Error: MPD version %d.%d.%d is to old (0.11.0 needed).\n"),
+ screen_status_printf(_("Error: MPD version %d.%d.%d is to old (%s needed)"),
mpd->connection->version[0],
mpd->connection->version[1],
- mpd->connection->version[2]);
+ mpd->connection->version[2],
+ "0.11.0");
mpdclient_disconnect(mpd);
doupdate();
}
#endif
- screen_status_printf(_("Connected to %s!"), options.host);
+ screen_status_printf(_("Connected to %s"), options.host);
doupdate();
connected = TRUE;
diff --git a/src/screen.c b/src/screen.c
index 25c05c64f656d00b6d17476beab77e331923c917..569df7a51022a615edeb209eecfb2e4b21fb7dde 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
{
if (COLS<SCREEN_MIN_COLS || LINES<SCREEN_MIN_ROWS) {
screen_exit();
- fprintf(stderr, _("Error: Screen to small!\n"));
+ fprintf(stderr, _("Error: Screen to small\n"));
exit(EXIT_FAILURE);
}
screen_init(mpdclient_t *c)
{
if (COLS < SCREEN_MIN_COLS || LINES < SCREEN_MIN_ROWS) {
- fprintf(stderr, _("Error: Screen to small!\n"));
+ fprintf(stderr, _("Error: Screen to small\n"));
exit(EXIT_FAILURE);
}
screen_status_printf(_("Crossfade %d seconds"), c->status->crossfade);
if (dbupdate && dbupdate != c->status->updatingDb) {
- screen_status_printf(_("Database updated!"));
+ screen_status_printf(_("Database updated"));
mpdclient_browse_callback(c, BROWSE_DB_UPDATED, NULL);
}
break;
case CMD_SHUFFLE:
if (mpdclient_cmd_shuffle(c) == 0)
- screen_status_message(_("Shuffled playlist!"));
+ screen_status_message(_("Shuffled playlist"));
break;
case CMD_CLEAR:
if (mpdclient_cmd_clear(c) == 0)
- screen_status_message(_("Cleared playlist!"));
+ screen_status_message(_("Cleared playlist"));
break;
case CMD_REPEAT:
mpdclient_cmd_repeat(c, !c->status->repeat);
case CMD_DB_UPDATE:
if (!c->status->updatingDb) {
if( mpdclient_cmd_db_update(c,NULL)==0 )
- screen_status_printf(_("Database update started!"));
+ screen_status_printf(_("Database update started"));
} else
screen_status_printf(_("Database update running..."));
break;
diff --git a/src/screen_artist.c b/src/screen_artist.c
index b3429fca92fd4bb495ec6b41a70a33047c942ef9..2c228834e4227dbcbd0fdf99c94d4c5774dc05ce 100644 (file)
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
/* continue and update... */
case CMD_SCREEN_UPDATE:
reload_lists(c);
- screen_status_printf(_("Screen updated!"));
return false;
case CMD_LIST_FIND:
diff --git a/src/screen_file.c b/src/screen_file.c
index b073b8710f439ab1499cb6e3d0faec21dc301e01..1f39395c9d839e1c96d896609ccf054e6f3d25ac 100644 (file)
--- a/src/screen_file.c
+++ b/src/screen_file.c
entity = entry->entity;
if( entity->type!=MPD_INFO_ENTITY_TYPE_PLAYLISTFILE ) {
- screen_status_printf(_("You can only delete playlists!"));
+ screen_status_printf(_("You can only delete playlists"));
screen_bell();
return -1;
}
key = tolower(screen_getch(screen.status_window.w, buf));
g_free(buf);
if( key != YES[0] ) {
- screen_status_printf(_("Aborted!"));
+ screen_status_printf(_("Aborted"));
return 0;
}
if( mpdclient_cmd_delete_playlist(c, plf->path) )
return -1;
- screen_status_printf(_("Playlist deleted!"));
+ screen_status_printf(_("Playlist deleted"));
return 0;
}
list_window_check_selected(browser.lw,
filelist_length(browser.filelist));
file_repaint();
-
- screen_status_printf(_("Screen updated!"));
return false;
case CMD_DB_UPDATE:
if (strcmp(browser.filelist->path, "")) {
char *path_locale =
utf8_to_locale(browser.filelist->path);
- screen_status_printf(_("Database update of %s started!"),
+ screen_status_printf(_("Database update of %s started"),
path_locale);
g_free(path_locale);
} else
- screen_status_printf(_("Database update started!"));
+ screen_status_printf(_("Database update started"));
/* set updatingDb to make shure the browse callback gets called
* even if the updated has finished before status is updated */
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index d55d4c0d2999313e7de38e472913410e4ccfdc65..02ef177d828cce17df35b5f707a411bcb44513db 100644 (file)
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
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."));
}
g_free(buf);
if (key==ERR) {
- screen_status_printf(_("Aborted!"));
+ screen_status_printf(_("Aborted"));
return;
}
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;
}
}
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;
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 2d61bc0924a1c14d7cdc397ee7c1ba29f1d8ded4..93a47cc8d3f3bae0b3a45094c5e7f7aa225e4a61 100644 (file)
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
case CMD_ADD:
if (current.loader == NULL && current.artist != NULL &&
current.title != NULL && store_lyr_hd() == 0)
- screen_status_message (_("Lyrics saved!"));
+ screen_status_message (_("Lyrics saved"));
return true;
case CMD_LYRICS_UPDATE:
if (c->song != NULL) {
diff --git a/src/screen_play.c b/src/screen_play.c
index 6fd586af952b79abfcae42e1f2457d4f046a00cb..b4fb15f574eb9f5679db3c3cd216e5f41c1052b6 100644 (file)
--- a/src/screen_play.c
+++ b/src/screen_play.c
return error;
}
- screen_status_printf(_("Aborted!"));
+ screen_status_printf(_("Aborted"));
}
g_free(filename);