aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-04-11 18:48:04 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-05 04:46:04 +0300
commit7e923d47ba9891856b86bc9f718cf2f1f773bdf6 (patch)
treee4636c6b5209ed93b240dc1c23c58745f33fd1e8 /src/ui_interface.h
parent917ca93553917251e0fd59717a347c63cdfd8a14 (diff)
Make InitError bilingual
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r--src/ui_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h
index 9e4290ae95..132866cc5a 100644
--- a/src/ui_interface.h
+++ b/src/ui_interface.h
@@ -120,10 +120,11 @@ public:
};
/** Show warning message **/
+// TODO: InitWarning() should take a bilingual_str parameter.
void InitWarning(const std::string& str);
/** Show error message **/
-bool InitError(const std::string& str);
+bool InitError(const bilingual_str& str);
extern CClientUIInterface uiInterface;