Audacity  3.0.3
Functions
Internat.cpp File Reference
#include "Internat.h"
#include "MemoryX.h"
#include <wx/log.h>
#include <wx/intl.h>
#include <wx/filename.h>
#include <locale.h>
#include <math.h>
#include "../include/audacity/ComponentInterface.h"
#include "audacity/Types.h"
Include dependency graph for Internat.cpp:

Go to the source code of this file.

Functions

AUDACITY_DLL_API const wxString & GetCustomSubstitution (const wxString &str1)
 
AUDACITY_DLL_API const wxString & GetCustomTranslation (const wxString &str1)
 
TranslatableStrings Msgids (const EnumValueSymbol strings[], size_t nStrings)
 
TranslatableStrings Msgids (const std::vector< EnumValueSymbol > &strings)
 

Function Documentation

◆ GetCustomSubstitution()

AUDACITY_DLL_API const wxString& GetCustomSubstitution ( const wxString &  str1)

Definition at line 68 of file Internat.cpp.

69 {
70  return str1 ;
71 }

Referenced by GetCustomTranslation().

Here is the caller graph for this function:

◆ GetCustomTranslation()

AUDACITY_DLL_API const wxString& GetCustomTranslation ( const wxString &  str1)

Definition at line 76 of file Internat.cpp.

77 {
78  const wxString& str2 = wxGetTranslation( str1 );
79  return GetCustomSubstitution( str2 );
80 }

References GetCustomSubstitution().

Referenced by gettext().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Msgids() [1/2]

TranslatableStrings Msgids ( const EnumValueSymbol  strings[],
size_t  nStrings 
)

◆ Msgids() [2/2]

TranslatableStrings Msgids ( const std::vector< EnumValueSymbol > &  strings)

Definition at line 276 of file Internat.cpp.

277 {
278  return Msgids( strings.data(), strings.size() );
279 }

References Msgids().

Here is the call graph for this function:
ComponentInterfaceSymbol::Msgid
const TranslatableString & Msgid() const
Definition: ComponentInterface.h:89
GetCustomSubstitution
AUDACITY_DLL_API const wxString & GetCustomSubstitution(const wxString &str1)
Definition: Internat.cpp:68
Msgids
TranslatableStrings Msgids(const EnumValueSymbol strings[], size_t nStrings)
Definition: Internat.cpp:267