Mark all video backend names for translation

This commit is contained in:
Techjar
2018-06-30 04:53:24 -04:00
parent e22c5333ab
commit dc2f22516c
5 changed files with 15 additions and 6 deletions

View File

@ -38,6 +38,7 @@ Make AA apply instantly during gameplay if possible
#include <string>
#include <vector>
#include "Common/Common.h"
#include "Common/GL/GLInterfaceBase.h"
#include "Common/GL/GLUtil.h"
#include "Common/MsgHandler.h"
@ -66,9 +67,9 @@ std::string VideoBackend::GetName() const
std::string VideoBackend::GetDisplayName() const
{
if (GLInterface != nullptr && GLInterface->GetMode() == GLInterfaceMode::MODE_OPENGLES3)
return "OpenGLES";
return _trans("OpenGL ES");
else
return "OpenGL";
return _trans("OpenGL");
}
void VideoBackend::InitBackendInfo()