mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
IdentInterfaceSymbol to distinguish internal vs visible enum settings
This commit is contained in:
@@ -169,20 +169,9 @@ private:
|
||||
#define UTF8CTOWX(X) wxString((X), wxConvUTF8)
|
||||
#define LAT1CTOWX(X) wxString((X), wxConvISO8859_1)
|
||||
|
||||
inline wxArrayString LocalizedStrings(const wxString strings[], size_t nStrings)
|
||||
{
|
||||
wxArrayString results;
|
||||
std::transform( strings, strings + nStrings, std::back_inserter(results),
|
||||
GetCustomTranslation );
|
||||
return results;
|
||||
}
|
||||
|
||||
inline wxArrayString LocalizedStrings(const wxArrayString &strings)
|
||||
{
|
||||
if (strings.empty())
|
||||
return {};
|
||||
return LocalizedStrings( &strings[0], strings.size() );
|
||||
}
|
||||
class IdentInterfaceSymbol;
|
||||
wxArrayString LocalizedStrings(
|
||||
const IdentInterfaceSymbol strings[], size_t nStrings);
|
||||
|
||||
// This object pairs an internal string, maybe empty, with a translated string.
|
||||
// Any internal string may be written to configuration or other files and,
|
||||
|
||||
Reference in New Issue
Block a user