From e5b990f11190821239a0df3b14d8d5f65541f876 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 25 Oct 2024 12:25:44 +0500 Subject: upd: localization lines for store --- core/src/kz/ilotterytea/maxon/pets/PetWidget.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/src/kz/ilotterytea/maxon/pets') diff --git a/core/src/kz/ilotterytea/maxon/pets/PetWidget.java b/core/src/kz/ilotterytea/maxon/pets/PetWidget.java index 54b937b..399a72d 100644 --- a/core/src/kz/ilotterytea/maxon/pets/PetWidget.java +++ b/core/src/kz/ilotterytea/maxon/pets/PetWidget.java @@ -9,6 +9,8 @@ import com.badlogic.gdx.scenes.scene2d.ui.*; import com.badlogic.gdx.scenes.scene2d.utils.ClickListener; import com.badlogic.gdx.utils.Align; import kz.ilotterytea.maxon.MaxonConstants; +import kz.ilotterytea.maxon.MaxonGame; +import kz.ilotterytea.maxon.localization.LineId; import kz.ilotterytea.maxon.utils.OsUtils; import kz.ilotterytea.maxon.utils.formatters.NumberFormatter; @@ -136,7 +138,7 @@ public class PetWidget extends Table { if (isLocked) { color = Color.BLACK; name = "???"; - nameTooltipText = "Pet Maxon more to unlock it..."; + nameTooltipText = MaxonGame.getInstance().getLocale().getLine(LineId.StorePetlocked); this.priceLabel.setText("???"); this.priceLabel.clearListeners(); -- cgit v1.2.3