mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
Define and use function Verbatim...
... in cases of "TranslatableString" that are not really translated. This makes it easier to scan the code for such unusual constructions of TranslatableString, distinct from mere mentions of the TranslatableString type.
This commit is contained in:
@@ -59,9 +59,9 @@ bool XMLFileReader::Parse(XMLTagHandler *baseHandler,
|
||||
// We could make a table of XOs if we wanted so that it could
|
||||
// If we do, uncomment the second constructor argument so it's not
|
||||
// a verbatim string
|
||||
mLibraryErrorStr = TranslatableString{
|
||||
mLibraryErrorStr = Verbatim(
|
||||
XML_ErrorString(XML_GetErrorCode(mParser)) // , {}
|
||||
};
|
||||
);
|
||||
|
||||
mErrorStr = XO("Error: %s at line %lu").Format(
|
||||
mLibraryErrorStr,
|
||||
|
||||
Reference in New Issue
Block a user