FIX: show plugin version in about dialog

Change-Id: I8bf5c42fad5131e21d6b3cd0f5636e1e5e40bc14
Jira: none
This commit is contained in:
chunmao.guo
2023-10-07 12:09:53 +08:00
committed by Lane.Wei
parent eb1d7247f7
commit d7778359ad
2 changed files with 9 additions and 2 deletions

View File

@@ -299,7 +299,7 @@ public:
memDc.DrawLabel(m_constant_text.version, version_rect, wxALIGN_LEFT | wxALIGN_BOTTOM);
#if BBL_INTERNAL_TESTING
wxString versionText = BBL_INTERNAL_TESTING == 1 ? "Internal Version" : "Beta Version";
wxString versionText = BBL_INTERNAL_TESTING == 1 ? _L("Internal Version") : _L("Beta Version");
wxSize text_rect = memDc.GetTextExtent(versionText);
int start_x = (title_rect.GetLeft() + version_rect.GetRight()) / 2 - text_rect.GetWidth();
int start_y = version_rect.GetBottom() + 10;