Audacity  2.2.2
Classes | Functions
LangChoice.cpp File Reference
#include "Audacity.h"
#include <wx/defs.h>
#include <wx/button.h>
#include <wx/choice.h>
#include <wx/intl.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include "LangChoice.h"
#include "Languages.h"
#include "ShuttleGui.h"
#include "widgets/wxPanelWrapper.h"
#include "widgets/ErrorDialog.h"
#include "Internat.h"

Go to the source code of this file.

Classes

class  LangChoiceDialog
 A dialog used (at start up) to present the user with a choice of languages for Audacity. More...
 

Functions

wxString ChooseLanguage (wxWindow *parent)
 

Function Documentation

wxString ChooseLanguage ( wxWindow *  parent)

Definition at line 55 of file LangChoice.cpp.

References _(), and LangChoiceDialog::GetLang().

56 {
57  wxString returnVal;
58 
59  /* i18n-hint: Title on a dialog indicating that this is the first
60  * time Audacity has been run. */
61  LangChoiceDialog dlog(parent, -1, _("Audacity First Run"));
62  dlog.CentreOnParent();
63  dlog.ShowModal();
64  returnVal = dlog.GetLang();
65 
66  return returnVal;
67 }
A dialog used (at start up) to present the user with a choice of languages for Audacity.
Definition: LangChoice.cpp:34
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown"))), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop"))), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom"))), OnMoveTrack) void TrackMenuTable::OnSetName(wxCommandEvent &)