1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01: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

@@ -334,12 +334,11 @@ void AddEffectMenuItems(
group = wxEmptyString;
}
if (!group.empty())
{
group += wxT(": ");
}
groupNames.push_back(group + name);
groupNames.push_back(
group.empty()
? name
: wxString::Format(_("%s: %s"), group, name)
);
vHasDialog.push_back(hasDialog);
groupPlugs.push_back(plug->GetID());
groupFlags.push_back(