use a LocalizedString instead of depending on CommonMetrics
This commit is contained in:
@@ -1694,6 +1694,7 @@ SetVideoMode failed:=SetVideoMode failed:
|
||||
Prompt=Prompt
|
||||
OK=OK
|
||||
&Don't display this message again=&Don't display this message again
|
||||
Error=Error
|
||||
|
||||
[Dialog-Uninstall Old Packages]
|
||||
Uninstall Old Packages=Uninstall Old Packages
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "DialogDriver_Win32.h"
|
||||
#include "RageUtil.h"
|
||||
#if !defined(SMPACKAGE)
|
||||
#include "CommonMetrics.h"
|
||||
#include "LocalizedString.h"
|
||||
#endif
|
||||
#include "ThemeManager.h"
|
||||
#include "ProductInfo.h"
|
||||
@@ -90,9 +90,10 @@ static HWND GetHwnd()
|
||||
#endif
|
||||
|
||||
#if !defined(SMPACKAGE)
|
||||
static LocalizedString ERROR_WINDOW_TITLE("Dialog-Prompt", "Error");
|
||||
static RString GetWindowTitle()
|
||||
{
|
||||
RString s = CommonMetrics::WINDOW_TITLE.GetValue();
|
||||
RString s = ERROR_WINDOW_TITLE.GetValue();
|
||||
return s;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user