NetPlayDiag: Make the window title translateable
This commit is contained in:
parent
71d8165a86
commit
5891266e67
|
@ -47,7 +47,6 @@
|
||||||
#include "DolphinWX/NetWindow.h"
|
#include "DolphinWX/NetWindow.h"
|
||||||
#include "DolphinWX/WxUtils.h"
|
#include "DolphinWX/WxUtils.h"
|
||||||
|
|
||||||
#define NETPLAY_TITLEBAR "Dolphin NetPlay"
|
|
||||||
#define INITIAL_PAD_BUFFER_SIZE 5
|
#define INITIAL_PAD_BUFFER_SIZE 5
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(NetPlayDiag, wxFrame)
|
BEGIN_EVENT_TABLE(NetPlayDiag, wxFrame)
|
||||||
|
@ -78,7 +77,7 @@ static void FillWithGameNames(wxListBox* game_lbox, const CGameListCtrl& game_li
|
||||||
}
|
}
|
||||||
|
|
||||||
NetPlaySetupDiag::NetPlaySetupDiag(wxWindow* const parent, const CGameListCtrl* const game_list)
|
NetPlaySetupDiag::NetPlaySetupDiag(wxWindow* const parent, const CGameListCtrl* const game_list)
|
||||||
: wxFrame(parent, wxID_ANY, NETPLAY_TITLEBAR)
|
: wxFrame(parent, wxID_ANY, _("Dolphin NetPlay Setup"))
|
||||||
, m_game_list(game_list)
|
, m_game_list(game_list)
|
||||||
{
|
{
|
||||||
IniFile inifile;
|
IniFile inifile;
|
||||||
|
@ -305,7 +304,7 @@ void NetPlaySetupDiag::OnQuit(wxCommandEvent&)
|
||||||
|
|
||||||
NetPlayDiag::NetPlayDiag(wxWindow* const parent, const CGameListCtrl* const game_list,
|
NetPlayDiag::NetPlayDiag(wxWindow* const parent, const CGameListCtrl* const game_list,
|
||||||
const std::string& game, const bool is_hosting)
|
const std::string& game, const bool is_hosting)
|
||||||
: wxFrame(parent, wxID_ANY, NETPLAY_TITLEBAR)
|
: wxFrame(parent, wxID_ANY, _("Dolphin NetPlay"))
|
||||||
, m_selected_game(game)
|
, m_selected_game(game)
|
||||||
, m_start_btn(nullptr)
|
, m_start_btn(nullptr)
|
||||||
, m_game_list(game_list)
|
, m_game_list(game_list)
|
||||||
|
|
Loading…
Reference in New Issue