Remove plural on ^spelltypeidsand ^spelltypenames

This commit is contained in:
nytmyr
2024-12-30 22:54:00 -06:00
parent 85dbdb7f2c
commit 61a3987d25
+2 -4
View File
@@ -2143,7 +2143,6 @@ void SendSpellTypeWindow(Client* c, const Seperator* sep) {
std::string fillerLine = "-----------"; std::string fillerLine = "-----------";
std::string spellTypeField = "Spell Type"; std::string spellTypeField = "Spell Type";
std::string pluralS = "s";
std::string idField = "ID"; std::string idField = "ID";
std::string shortnameField = "Short Name"; std::string shortnameField = "Short Name";
@@ -2185,9 +2184,8 @@ void SendSpellTypeWindow(Client* c, const Seperator* sep) {
popup_text += DialogueWindow::TableRow( popup_text += DialogueWindow::TableRow(
DialogueWindow::TableCell( DialogueWindow::TableCell(
fmt::format( fmt::format(
"{}{}", "{}",
DialogueWindow::ColorMessage(forest_green, c->GetSpellTypeNameByID(i)), DialogueWindow::ColorMessage(forest_green, c->GetSpellTypeNameByID(i))
DialogueWindow::ColorMessage(forest_green, pluralS)
) )
) + ) +
DialogueWindow::TableCell( DialogueWindow::TableCell(