1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-10 16:27:50 +02:00

TranslatableString for tooltips and status bar messages

This commit is contained in:
Paul Licameli
2019-12-08 16:24:20 -05:00
parent 2007346551
commit 49cab86fc1
45 changed files with 156 additions and 165 deletions

View File

@@ -1224,7 +1224,7 @@ void ProjectWindow::UpdateStatusWidths()
function( mProject, static_cast< StatusBarField >( ii ) );
for ( const auto &string : results.first ) {
int w;
statusBar->GetTextExtent(string, &w, nullptr);
statusBar->GetTextExtent(string.Translation(), &w, nullptr);
width = std::max<int>( width, w + results.second );
}
}