fix ngettext issue
This commit is contained in:
parent
4e18bb7ee9
commit
972346d22d
3 changed files with 12 additions and 1 deletions
|
|
@ -1406,8 +1406,13 @@ void FurnaceGUI::drawSettings() {
|
|||
TAAudioDesc& audioWant=e->getAudioDescWant();
|
||||
TAAudioDesc& audioGot=e->getAudioDescGot();
|
||||
|
||||
#ifdef HAVE_LOCALE
|
||||
ImGui::Text(ngettext("want: %d samples @ %.0fHz (%d channel)","want: %d samples @ %.0fHz (%d channels)",audioWant.outChans),audioWant.bufsize,audioWant.rate,audioWant.outChans);
|
||||
ImGui::Text(ngettext("got: %d samples @ %.0fHz (%d channel)","got: %d samples @ %.0fHz (%d channels)",audioGot.outChans),audioGot.bufsize,audioGot.rate,audioGot.outChans);
|
||||
#else
|
||||
ImGui::Text(_GN("want: %d samples @ %.0fHz (%d channel)","want: %d samples @ %.0fHz (%d channels)",audioWant.outChans),audioWant.bufsize,audioWant.rate,audioWant.outChans);
|
||||
ImGui::Text(_GN("got: %d samples @ %.0fHz (%d channel)","got: %d samples @ %.0fHz (%d channels)",audioGot.outChans),audioGot.bufsize,audioGot.rate,audioGot.outChans);
|
||||
#endif
|
||||
|
||||
// SUBSECTION MIXING
|
||||
CONFIG_SUBSECTION(_("Mixing"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue