mirror of
https://github.com/alexkay/spek.git
synced 2025-04-22 03:10:29 +03:00
Correct decoding error message
This commit is contained in:
parent
16947a74c9
commit
7648eea61a
@ -91,8 +91,12 @@ wxString spek_audio_desc(const struct spek_audio_properties *properties)
|
||||
break;
|
||||
}
|
||||
|
||||
// TRANSLATORS: first %s is the error message, second %s is stream description.
|
||||
desc = wxString::Format(_("%s: %s"), error.c_str(), desc.c_str());
|
||||
if (desc.IsEmpty()) {
|
||||
desc = error;
|
||||
} else {
|
||||
// TRANSLATORS: first %s is the error message, second %s is stream description.
|
||||
desc = wxString::Format(_("%s: %s"), error.c_str(), desc.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
return desc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user