mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-17 20:58:07 +02:00
Fix translation of bank names
This commit is contained in:
parent
638bc174c3
commit
e5739e49da
@ -144,7 +144,7 @@ void CBank::onHeroVisit(const CGHeroInstance * h) const
|
||||
bd.player = h->getOwner();
|
||||
bd.text.appendLocalString(EMetaText::ADVOB_TXT, 32);
|
||||
bd.components = getPopupComponents(h->getOwner());
|
||||
bd.text.replaceRawString(getObjectName());
|
||||
bd.text.replaceTextID(getObjectHandler()->getNameTextID());
|
||||
cb->showBlockingDialog(this, &bd);
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ void CBank::doVisit(const CGHeroInstance * hero) const
|
||||
if (!bankConfig)
|
||||
{
|
||||
iw.text.appendRawString(VLC->generaltexth->advobtxt[33]);// This was X, now is completely empty
|
||||
iw.text.replaceRawString(getObjectName());
|
||||
iw.text.replaceTextID(getObjectHandler()->getNameTextID());
|
||||
cb->showInfoDialog(&iw);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user