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

@ -4,6 +4,7 @@
#pragma once
#include "Common/Common.h"
#include "VideoCommon/VideoBackendBase.h"
namespace Null
@ -14,7 +15,11 @@ class VideoBackend : public VideoBackendBase
void Shutdown() override;
std::string GetName() const override { return "Null"; }
std::string GetDisplayName() const override { return "Null"; }
std::string GetDisplayName() const override
{
// i18n: Null is referring to the null video backend, which renders nothing
return _trans("Null");
}
void InitBackendInfo() override;
};
}