localize window names

This commit is contained in:
tildearrow 2024-05-27 17:53:46 -05:00
parent 5f16edd0df
commit 3197e73b2c
36 changed files with 44 additions and 44 deletions

View file

@ -28,7 +28,7 @@ void FurnaceGUI::drawStats() {
nextWindow=GUI_WINDOW_NOTHING;
}
if (!statsOpen) return;
if (ImGui::Begin("Statistics",&statsOpen,globalWinFlags)) {
if (ImGui::Begin("Statistics",&statsOpen,globalWinFlags,_("Statistics"))) {
size_t lastProcTime=e->processTime;
double maxGot=1000000000.0*(double)e->getAudioDescGot().bufsize/(double)e->getAudioDescGot().rate;
String procStr=fmt::sprintf("%.1f%%",100.0*((double)lastProcTime/(double)maxGot));