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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user