1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

Don't concatenate ":" onto user-visible strings...

... include it in the msgid intead, to get appropriate translations.  For
instance some locales use the same character but prefer to insert a space
before it.
This commit is contained in:
Paul Licameli
2019-12-04 15:56:48 -05:00
parent 674ac42de9
commit ca70cc940f
10 changed files with 28 additions and 29 deletions

View File

@@ -819,7 +819,8 @@ void WaveTrackMenuTable::OnSpectrogramSettings(wxCommandEvent &)
// (pTrack->GetDisplay() == WaveTrack::Spectrum) ? 1 :
0;
wxString title(pTrack->GetName() + wxT(": "));
/* i18n-hint: An item name followed by a value, with appropriate separating punctuation */
auto title = wxString::Format(_("%s: %s"), pTrack->GetName(), wxT(""));
ViewSettingsDialog dialog(mpData->pParent, title, factories, page);
if (0 != dialog.ShowModal()) {