This commit is contained in:
Paul 2001-08-09 22:12:44 +00:00
parent ab43637ad8
commit b0d4c77404
2 changed files with 4 additions and 2 deletions

View file

@ -506,7 +506,7 @@ void CShopScene::renderUi()
char buf[100];
cost=s_shopItems[m_currentlySelectedItem].m_cost;
available=CGameSlotManager::getSlotData()->getNumberOfKelpTokensHeld();
sprintf(buf,TranslationDatabase::getString(STR__SHOP_SCREEN__CANNOT_AFFORD_PURCHASE),cost,available);
sprintf(buf,TranslationDatabase::getString(available!=1?STR__SHOP_SCREEN__CANNOT_AFFORD_PURCHASE:STR__SHOP_SCREEN__CANNOT_AFFORD_PURCHASE_SINGULAR),cost,available);
m_font->print((SHOP_QUERY_UI_W-20)/2,0,buf);
m_guiCannotAffordFrame->render();
}