fix: Fixes bad localized messages (#1722)
### Summary - Apparently affixes and other old packets do not support unicode, so we can't translate them. On OSI they use English for quite a bit.
This commit is contained in:
parent
6cb18f87fa
commit
c63bf84ad4
2 changed files with 3 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ public partial class SnowStatueDeed : Item
|
|||
AddBackground(0, 0, 360, 225, 0xA28);
|
||||
|
||||
AddPage(1);
|
||||
AddLabel(45, 15, 0, Localization.GetText(1156487, from.Language)); // Select One:
|
||||
AddHtmlLocalized(45, 15, 200, 20, 1156487); // Select One:
|
||||
|
||||
AddItem(35, 75, 0x456E);
|
||||
AddButton(65, 50, 0x845, 0x846, 1);
|
||||
|
|
|
|||
|
|
@ -48,9 +48,9 @@ public class CreateFoodSpell : MagerySpell
|
|||
|
||||
if (Caster.NetState != null)
|
||||
{
|
||||
var foodName = Localization.GetText(food.LabelNumber, Caster.Language);
|
||||
// Not translated to the casters language because affixes are ascii only
|
||||
var foodName = Localization.GetText(food.LabelNumber);
|
||||
|
||||
// Note: On OSI, the food name is not localized.
|
||||
// You magically create food in your backpack:
|
||||
Caster.SendLocalizedMessage(1042695, true, $" {foodName}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue