Audacity  2.2.2
Functions
Internat.cpp File Reference
#include <wx/log.h>
#include <wx/intl.h>
#include <wx/filename.h>
#include <locale.h>
#include <math.h>
#include "Experimental.h"
#include "FileNames.h"
#include "widgets/ErrorDialog.h"
#include "Internat.h"
#include "../include/audacity/IdentInterface.h"

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)
 
wxArrayString LocalizedStrings (const IdentInterfaceSymbol strings[], size_t nStrings)
 

Function Documentation

AUDACITY_DLL_API const wxString& GetCustomSubstitution ( const wxString &  str1)

Definition at line 67 of file Internat.cpp.

Referenced by GetCustomTranslation().

68 {
69  return str1 ;
70 }
AUDACITY_DLL_API const wxString& GetCustomTranslation ( const wxString &  str1)

Definition at line 75 of file Internat.cpp.

References GetCustomSubstitution().

Referenced by MacroCommands::GetNamesOfDefaultMacros(), gettext(), MacroCommandsCatalog::MacroCommandsCatalog(), MacroCommands::RestoreMacro(), and IdentInterfaceSymbol::Translation().

76 {
77  const wxString& str2 = wxGetTranslation( str1 );
78  return GetCustomSubstitution( str2 );
79 }
AUDACITY_DLL_API const wxString & GetCustomSubstitution(const wxString &str1)
Definition: Internat.cpp:67
wxArrayString LocalizedStrings ( const IdentInterfaceSymbol  strings[],
size_t  nStrings 
)