mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-29 21:32:41 +00:00
Don't display "syncing metadata (0 tracks processed)"... instead, just
display "syncing metadata..."
This commit is contained in:
parent
26bee45a45
commit
60ce7d1b81
@ -53,8 +53,15 @@ using namespace cursespp;
|
||||
|
||||
static void updateSyncingText(TextLabel* label, int updates) {
|
||||
try {
|
||||
label->SetText(boost::str(boost::format(
|
||||
_TSTR("main_syncing_banner")) % updates), cursespp::text::AlignCenter);
|
||||
if (updates <= 0) {
|
||||
label->SetText(
|
||||
_TSTR("main_syncing_banner_start"),
|
||||
cursespp::text::AlignCenter);
|
||||
}
|
||||
else {
|
||||
label->SetText(boost::str(boost::format(
|
||||
_TSTR("main_syncing_banner")) % updates), cursespp::text::AlignCenter);
|
||||
}
|
||||
}
|
||||
catch (...) {
|
||||
/* swallow. incomplete locale. don't crash. */
|
||||
|
@ -95,6 +95,7 @@
|
||||
|
||||
"tracklist_unknown_album": "[unknown album]",
|
||||
|
||||
"main_syncing_banner_start": "syncing metadata...",
|
||||
"main_syncing_banner": "syncing metadata (%d tracks processed)"
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user