summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnObjDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/MsnObjDlg.cpp')
-rw-r--r--Stars45/MsnObjDlg.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/Stars45/MsnObjDlg.cpp b/Stars45/MsnObjDlg.cpp
index 3052495..3089c91 100644
--- a/Stars45/MsnObjDlg.cpp
+++ b/Stars45/MsnObjDlg.cpp
@@ -22,6 +22,7 @@
#include "StarSystem.h"
#include "Game.h"
+#include "ContentBundle.h"
#include "Mouse.h"
#include "Button.h"
#include "ComboBox.h"
@@ -141,7 +142,7 @@ MsnObjDlg::Show()
objectives->SetText("");
}
else {
- objectives->SetText(Game::GetInstance()->GetText("MsnDlg.no-mission"));
+ objectives->SetText(ContentBundle::GetInstance()->GetText("MsnDlg.no-mission"));
}
}
@@ -150,11 +151,11 @@ MsnObjDlg::Show()
if (mission->IsOK())
sitrep->SetText(mission->Situation());
else
- sitrep->SetText(Game::GetInstance()->GetText("MsnDlg.found-errors") +
+ sitrep->SetText(ContentBundle::GetInstance()->GetText("MsnDlg.found-errors") +
mission->ErrorMessage());
}
else {
- sitrep->SetText(Game::GetInstance()->GetText("MsnDlg.no-mission"));
+ sitrep->SetText(ContentBundle::GetInstance()->GetText("MsnDlg.no-mission"));
}
}
@@ -220,7 +221,7 @@ MsnObjDlg::Show()
if (cmb_skin && design && design->skins.size()) {
cmb_skin->Show();
- cmb_skin->AddItem(Game::GetInstance()->GetText("MsnDlg.default"));
+ cmb_skin->AddItem(ContentBundle::GetInstance()->GetText("MsnDlg.default"));
cmb_skin->SetSelection(0);
ListIter<Skin> iter = ((ShipDesign*) design)->skins;