NetPlayChatUI: Translate strings
This commit is contained in:
parent
bfde5b931e
commit
76b95f7fc9
|
@ -2,6 +2,8 @@
|
||||||
// Licensed under GPLv2+
|
// Licensed under GPLv2+
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#include "Common/MsgHandler.h"
|
||||||
|
|
||||||
#include "VideoCommon/NetPlayChatUI.h"
|
#include "VideoCommon/NetPlayChatUI.h"
|
||||||
|
|
||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
|
@ -27,7 +29,7 @@ void NetPlayChatUI::Display()
|
||||||
ImVec2(DEFAULT_WINDOW_WIDTH * scale, DEFAULT_WINDOW_HEIGHT * scale),
|
ImVec2(DEFAULT_WINDOW_WIDTH * scale, DEFAULT_WINDOW_HEIGHT * scale),
|
||||||
ImGui::GetIO().DisplaySize);
|
ImGui::GetIO().DisplaySize);
|
||||||
|
|
||||||
if (!ImGui::Begin("Chat", nullptr, ImGuiWindowFlags_None))
|
if (!ImGui::Begin(GetStringT("Chat").c_str(), nullptr, ImGuiWindowFlags_None))
|
||||||
{
|
{
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
|
@ -72,7 +74,7 @@ void NetPlayChatUI::Display()
|
||||||
|
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
|
||||||
if (ImGui::Button("Send"))
|
if (ImGui::Button(GetStringT("Send").c_str()))
|
||||||
SendMessage();
|
SendMessage();
|
||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
|
Loading…
Reference in New Issue