diff options
author | Max Kellermann <max@duempel.org> | 2008-12-25 23:41:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-25 23:41:09 +0100 |
commit | 5a7177e0337b40804f4aaf59630ef7df36b4b998 (patch) | |
tree | 1b45a1a6f232041c0a9e019a3116e238d1b419dd /src/screen_file.c | |
parent | b8997d1dd6f5bde7f0ef7f55328f2f41b7af6c5a (diff) | |
download | mpd-5a7177e0337b40804f4aaf59630ef7df36b4b998.tar.gz mpd-5a7177e0337b40804f4aaf59630ef7df36b4b998.tar.xz mpd-5a7177e0337b40804f4aaf59630ef7df36b4b998.zip |
added comments for translators
Give translators hints about the meaning of some difficult messages.
Diffstat (limited to 'src/screen_file.c')
-rw-r--r-- | src/screen_file.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index d10434167..827f16b05 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -121,6 +121,9 @@ handle_delete(mpdclient_t *c) entity = entry->entity; if( entity->type!=MPD_INFO_ENTITY_TYPE_PLAYLISTFILE ) { + /* translators: the "delete" command is only possible + for playlists; the user attempted to delete a song + or a directory or something else */ screen_status_printf(_("Deleting this item is not possible")); screen_bell(); return -1; @@ -133,6 +136,7 @@ handle_delete(mpdclient_t *c) key = tolower(screen_getch(screen.status_window.w, buf)); g_free(buf); if( key != YES[0] ) { + /* translators: a dialog was aborted by the user */ screen_status_printf(_("Aborted")); return 0; } @@ -140,6 +144,8 @@ handle_delete(mpdclient_t *c) if( mpdclient_cmd_delete_playlist(c, plf->path) ) return -1; + /* translators: MPD deleted the playlist, as requested by the + user */ screen_status_printf(_("Playlist deleted")); return 0; } |