1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Change XO to XXO in many more places, with no effects at all...

... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.

This commit makes ONLY such changes, and comments in Internat.h.  It is big
but quite harmless.

The intention is to introduce a type distinction in a later release, by defining
XXO differently.  XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
This commit is contained in:
Paul Licameli
2020-05-11 11:28:14 -04:00
parent 1b2d4e26ba
commit 4d09705a73
137 changed files with 788 additions and 782 deletions

View File

@@ -558,7 +558,7 @@ void VampEffect::PopulateOrExchange(ShuttleGui & S)
if (!programs.empty())
{
S.AddPrompt(XO("Program"));
S.AddPrompt(XXO("Program"));
S.Id(ID_Program);
mProgram = S.Name(XO("Program"))
@@ -600,7 +600,7 @@ void VampEffect::PopulateOrExchange(ShuttleGui & S)
}
/* i18n-hint: An item name introducing a value, which is not part of the string but
appears in a following text box window; translate with appropriate punctuation */
S.AddPrompt(XO("%s:").Format( labelText ));
S.AddPrompt(XXO("%s:").Format( labelText ));
if (mParameters[p].isQuantized &&
mParameters[p].quantizeStep == 1.0 &&