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