mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- Fixed counting parameters which have formats in response strings
- Almost finished porting localized string keys as methods - Compiles
This commit is contained in:
@@ -72,10 +72,10 @@ namespace NadekoBot.Modules.Gambling
|
||||
string potSizeStr = Format.Bold(potSize == 0
|
||||
? "∞" + CurrencySign
|
||||
: potSize.ToString() + CurrencySign);
|
||||
return GetText(strs.new_reaction_event,
|
||||
CurrencySign,
|
||||
Format.Bold(amount + CurrencySign),
|
||||
potSizeStr);
|
||||
return GetText(strs.new_reaction_event(
|
||||
CurrencySign,
|
||||
Format.Bold(amount + CurrencySign),
|
||||
potSizeStr));
|
||||
}
|
||||
|
||||
private string GetGameStatusDescription(long amount, long potSize)
|
||||
@@ -83,10 +83,10 @@ namespace NadekoBot.Modules.Gambling
|
||||
string potSizeStr = Format.Bold(potSize == 0
|
||||
? "∞" + CurrencySign
|
||||
: potSize.ToString() + CurrencySign);
|
||||
return GetText(strs.new_gamestatus_event,
|
||||
CurrencySign,
|
||||
Format.Bold(amount + CurrencySign),
|
||||
potSizeStr);
|
||||
return GetText(strs.new_gamestatus_event(
|
||||
CurrencySign,
|
||||
Format.Bold(amount + CurrencySign),
|
||||
potSizeStr));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user