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_lyrics.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_lyrics.c')
-rw-r--r-- | src/screen_lyrics.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index dd0553cb5..ce11b4473 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -100,6 +100,7 @@ screen_lyrics_callback(const GString *result, G_GNUC_UNUSED void *data) if (result != NULL) screen_lyrics_set(result); else + /* translators: no lyrics were found for the song */ screen_status_message (_("No lyrics")); plugin_stop(current.loader); @@ -199,7 +200,10 @@ lyrics_title(char *str, size_t size) { if (current.loader != NULL) { snprintf(str, size, "%s (%s)", - _("Lyrics"), _("loading...")); + _("Lyrics"), + /* translators: this message is displayed + while data is retrieved */ + _("loading...")); return str; } else if (current.artist != NULL && current.title != NULL && !screen_text_is_empty(&text)) { @@ -233,6 +237,7 @@ lyrics_cmd(mpdclient_t *c, command_t cmd) case CMD_ADD: if (current.loader == NULL && current.artist != NULL && current.title != NULL && store_lyr_hd() == 0) + /* lyrics for the song were saved on hard disk */ screen_status_message (_("Lyrics saved")); return true; case CMD_LYRICS_UPDATE: |