diff options
| author | ilotterytea <iltsu@alright.party> | 2024-10-25 12:25:44 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-10-25 12:25:44 +0500 |
| commit | e5b990f11190821239a0df3b14d8d5f65541f876 (patch) | |
| tree | 76dd448dd2ce6fa1e972a6d386021e9c42232520 /core/src/kz/ilotterytea/maxon/pets | |
| parent | 354e2876e93bf45ca6b748e9eb23093fe9bffaa6 (diff) | |
upd: localization lines for store
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/pets')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/pets/PetWidget.java | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |
