diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 083d19c543..96c100c236 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -13123,7 +13123,7 @@ api.wrap = function(user, main) { if (user.balance < (item.value / 4)) { return typeof cb === "function" ? cb({ code: 401, - message: 'Not enough gems.' + message: i18n.t('notEnoughGems', req.language) }) : void 0; } if (!user.items[type][key]) { @@ -13149,7 +13149,7 @@ api.wrap = function(user, main) { if (user.stats.gp < item.value) { return typeof cb === "function" ? cb({ code: 401, - message: 'Not enough gold.' + message: i18n.t('notEnoughGems', req.language) }) : void 0; } if (item.key === 'potion') { @@ -13160,9 +13160,11 @@ api.wrap = function(user, main) { } else { user.items.gear.equipped[item.type] = item.key; user.items.gear.owned[item.key] = true; - message = user.fns.handleTwoHanded(item); + message = user.fns.handleTwoHanded(item, null, req); if (message == null) { - message = "Bought " + (item.text()) + "."; + message = i18n.t('messageBought', { + itemText: item.text + }, req.language); } if (!user.achievements.ultimateGear && item.last) { user.fns.ultimateGear(); @@ -13208,10 +13210,12 @@ api.wrap = function(user, main) { item = content.gear.flat[key]; if (user.items.gear[type][item.type] === key) { user.items.gear[type][item.type] = "" + item.type + "_base_0"; - message = "" + item.text + " un-equipped."; + message = i18n.t('messageBought', { + itemText: item.text + }, req.language); } else { user.items.gear[type][item.type] = item.key; - message = user.fns.handleTwoHanded(item, type); + message = user.fns.handleTwoHanded(item, type, req); } } return typeof cb === "function" ? cb((message ? { @@ -13231,14 +13235,14 @@ api.wrap = function(user, main) { if (!(user.items.eggs[egg] > 0 && user.items.hatchingPotions[hatchingPotion] > 0)) { return typeof cb === "function" ? cb({ code: 401, - message: "You're missing either that egg or that potion" + message: i18n.t('messageMissingEggPotion', req.language) }) : void 0; } pet = "" + egg + "-" + hatchingPotion; if (user.items.pets[pet] && user.items.pets[pet] > 0) { return typeof cb === "function" ? cb({ code: 401, - message: "You already have that pet. Try hatching a different combination!" + message: i18n.t('messageAlreadyPet', req.language) }) : void 0; } user.items.pets[pet] = 5; @@ -13246,7 +13250,7 @@ api.wrap = function(user, main) { user.items.hatchingPotions[hatchingPotion]--; return typeof cb === "function" ? cb({ code: 200, - message: "Your egg hatched! Visit your stable to equip your pet." + message: i18n.t('messageHatched', req.language) }, user.items) : void 0; }, unlock: function(req, cb, ga) { @@ -13258,7 +13262,7 @@ api.wrap = function(user, main) { if (user.balance < cost && !alreadyOwns) { return typeof cb === "function" ? cb({ code: 401, - message: "Not enough gems" + message: i18n.t('notEnoughGems', req.language) }) : void 0; } if (fullSet) { @@ -13313,7 +13317,7 @@ api.wrap = function(user, main) { if (!(user.balance >= .75)) { return typeof cb === "function" ? cb({ code: 401, - message: "Not enough gems" + message: i18n.t('notEnoughGems', req.language) }) : void 0; } user.balance -= .75; @@ -13383,7 +13387,7 @@ api.wrap = function(user, main) { if (task.value > stats.gp && task.type === 'reward') { return typeof cb === "function" ? cb({ code: 401, - message: 'Not enough Gold' + message: i18n.t('messageNotEnoughGold', req.language) }) : void 0; } delta = 0; @@ -13520,13 +13524,13 @@ api.wrap = function(user, main) { stats.gp = 0; } } - user.fns.updateStats(stats); + user.fns.updateStats(stats, req); if (typeof window === 'undefined') { if (direction === 'up') { user.fns.randomDrop({ task: task, delta: delta - }); + }, req); } } if (typeof cb === "function") { @@ -13545,18 +13549,22 @@ api.wrap = function(user, main) { } return item; }, - handleTwoHanded: function(item, type) { + handleTwoHanded: function(item, type, req) { var message, weapon, _ref; if (type == null) { type = 'equipped'; } if (item.type === "shield" && ((_ref = (weapon = content.gear.flat[user.items.gear[type].weapon])) != null ? _ref.twoHanded : void 0)) { user.items.gear[type].weapon = 'weapon_base_0'; - message = "" + (weapon.text()) + " is two-handed"; + message = i18n.t('messageTwoHandled', { + gearText: weapon.text + }, req.language); } if (item.twoHanded) { user.items.gear[type].shield = "shield_base_0"; - message = "" + (item.text()) + " is two-handed"; + message = i18n.t('messageTwoHandled', { + gearText: item.text + }, req.language); } return message; }, @@ -13629,7 +13637,7 @@ api.wrap = function(user, main) { }; })(this)), user); }, - randomDrop: function(modifiers) { + randomDrop: function(modifiers, req) { var acceptableDrops, chance, drop, dropK, quest, rarity, task, _base, _base1, _base2, _name, _name1, _name2, _ref, _ref1; task = modifiers.task; chance = _.min([Math.abs(task.value - 21.27), 37.5]) / 150 + .02; @@ -13661,7 +13669,11 @@ api.wrap = function(user, main) { } user.items.food[drop.key] += 1; drop.type = 'Food'; - drop.dialog = "You've found " + drop.article + (drop.text()) + "! " + (drop.notes()); + drop.dialog = i18n.t('messageDropFood', { + dropArticle: drop.article, + dropText: drop.text, + dropNotes: drop.notes + }, req.language); } else if (rarity > .3) { drop = user.fns.randomVal(_.where(content.eggs, { canBuy: true @@ -13671,7 +13683,10 @@ api.wrap = function(user, main) { } user.items.eggs[drop.key]++; drop.type = 'Egg'; - drop.dialog = "You've found a " + (drop.text()) + " Egg! " + (drop.notes()); + drop.dialog = i18n.t('messageDropEgg', { + dropText: drop.text, + dropNotes: drop.notes + }, req.language); } else { acceptableDrops = rarity < .02 ? ['Golden'] : rarity < .09 ? ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] : rarity < .18 ? ['Red', 'Shade', 'Skeleton'] : ['Base', 'White', 'Desert']; drop = user.fns.randomVal(_.pick(content.hatchingPotions, (function(v, k) { @@ -13682,7 +13697,10 @@ api.wrap = function(user, main) { } user.items.hatchingPotions[drop.key]++; drop.type = 'HatchingPotion'; - drop.dialog = "You've found a " + (drop.text()) + " Hatching Potion! " + (drop.notes()); + drop.dialog = i18n.t('messageDropPotion', { + dropText: drop.text, + dropNotes: drop.notes + }, req.language); } user._tmp.drop = drop; user.items.lastDrop.date = +(new Date); @@ -13741,7 +13759,7 @@ api.wrap = function(user, main) { } })()]++; }, - updateStats: function(stats) { + updateStats: function(stats, req) { var tnl, _base, _base1, _ref; if (stats.hp <= 0) { return user.stats.hp = 0; @@ -13826,7 +13844,9 @@ api.wrap = function(user, main) { ======= user._tmp.drop = _.defaults(content.quests.vice1, { type: 'Quest', - dialog: "You've found the quest \"" + (content.quests.vice1.text()) + "\"!" + dialog: i18n.t('messageFoundQuest', { + questText: content.quests.vice1.text + }, req.language) }); } if (!user.flags.rebirthEnabled && (user.stats.lvl >= 50 || user.achievements.ultimateGear || user.achievements.beastMaster)) { diff --git a/locales/de/messages.json b/locales/de/messages.json index 0d7767eec7..c2e7e7a30f 100644 --- a/locales/de/messages.json +++ b/locales/de/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Du hast dieses Reittier bereits. Füttere lieber ein anderes Haustier.", "messageEvolve": "<%= egg %> wurde gezähmt, es ist an der Zeit aufzusitzen!", "messageLikesFood": "<%= egg %> ist begeistert. <%= foodText() %> ist seine Lieblingsspeise!", - "messageDontEnjoyFood": "<%= egg %> ist nicht gerade begeistert. <%= foodText() %> schmeckt Deinem Haustier überhaupt nicht." + "messageDontEnjoyFood": "<%= egg %> ist nicht gerade begeistert. <%= foodText() %> schmeckt Deinem Haustier überhaupt nicht.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/es/messages.json b/locales/es/messages.json index 4b2be8dbdd..acb35c6eed 100644 --- a/locales/es/messages.json +++ b/locales/es/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Ya tienes esa montura. Intenta alimentar a otra mascota.", "messageEvolve": "Has dominado a <%= egg %>, ¡vamos a dar una vuelta!", "messageLikesFood": "¡A <%= egg %> le encanta <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> se comió <%= foodText() %> pero no parece que le guste." + "messageDontEnjoyFood": "<%= egg %> se comió <%= foodText() %> pero no parece que le guste.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/fr/messages.json b/locales/fr/messages.json index c332b678e2..d845bc5cb0 100644 --- a/locales/fr/messages.json +++ b/locales/fr/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Vous avez déjà cette monture. Essayez de nourrir un autre familier.", "messageEvolve": "Vous avez domptez <%= egg %>, allez faire un tour !", "messageLikesFood": "<%= egg %> apprécie vraiment le/la <%= foodText() %> !", - "messageDontEnjoyFood": "<%= egg %> mange le/la <%= foodText() %> mais il n'a pas l'air d'aimer ça." + "messageDontEnjoyFood": "<%= egg %> mange le/la <%= foodText() %> mais il n'a pas l'air d'aimer ça.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/it/messages.json b/locales/it/messages.json index 5d7d4150a7..b8b1520ac9 100644 --- a/locales/it/messages.json +++ b/locales/it/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Possiedi già quella cavalcatura. Prova a dare da mangiare ad un altro animale.", "messageEvolve": "Hai appena addomesticato <%= egg %>, andiamo a farci un giro!", "messageLikesFood": "<%= egg %> apprezza <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> mangia <%= foodText() %>, ma non sembra piacergli molto." + "messageDontEnjoyFood": "<%= egg %> mangia <%= foodText() %>, ma non sembra piacergli molto.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/nl/messages.json b/locales/nl/messages.json index e4fea3ae7b..801b01edba 100644 --- a/locales/nl/messages.json +++ b/locales/nl/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Je hebt dat rijdier al. Probeer een ander dier te voeren.", "messageEvolve": "Je hebt <%= egg %> getemd, laten we op weg gaan!", "messageLikesFood": "<%= egg %> houdt echt van de <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> eet de <%= foodText() %> maar lijkt er niet echt van te genieten." + "messageDontEnjoyFood": "<%= egg %> eet de <%= foodText() %> maar lijkt er niet echt van te genieten.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/pl/messages.json b/locales/pl/messages.json index 1a255d9a68..bfe08c85f6 100644 --- a/locales/pl/messages.json +++ b/locales/pl/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Już masz tego wierzchowca. Spróbuj nakarmić innego chowańca.", "messageEvolve": "Oswoiłeś <%= egg %>, chodźmy na przejażdżkę!", "messageLikesFood": "<%= egg %> bardzo lubi <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> zjada <%= foodText() %>, ale raczej mu nie smakuje." + "messageDontEnjoyFood": "<%= egg %> zjada <%= foodText() %>, ale raczej mu nie smakuje.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/pt/messages.json b/locales/pt/messages.json index 467754a62e..4df2a36c2e 100644 --- a/locales/pt/messages.json +++ b/locales/pt/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Você já possui essa montaria. Tente alimentar outro mascote.", "messageEvolve": "Você domou <%= egg %>, vamos dar um passeio.", "messageLikesFood": "<%= egg %> gostou muito de <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> comeu <%= foodText() %>, mas parece não gostar muito." + "messageDontEnjoyFood": "<%= egg %> comeu <%= foodText() %>, mas parece não gostar muito.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/ru/character.json b/locales/ru/character.json index aaf4cae7e4..b25bf5c56f 100644 --- a/locales/ru/character.json +++ b/locales/ru/character.json @@ -30,7 +30,7 @@ "bodyFacialHair": "Волосы на лице", "beard": "Борода", "mustache": "Усы", - "flower": "Flower", + "flower": "Цветок", "basicSkins": "Базовые цвета", "rainbowSkins": "Радужные цвета", "spookySkins": "Зловещие цвета", diff --git a/locales/ru/content.json b/locales/ru/content.json index 07e2ee5a02..efaa81acfd 100644 --- a/locales/ru/content.json +++ b/locales/ru/content.json @@ -29,8 +29,8 @@ "questEggHedgehogAdjective": "колючий", "questEggDeerText": "Олень", "questEggDeerAdjective": "элегантный", - "questEggEggText": "Egg", - "questEggEggAdjective": "colorful", + "questEggEggText": "в яйце", + "questEggEggAdjective": "красочный", "eggNotes": "Найдите инкубационный эликсир, чтобы полить это яйцо, и из него вылупится <%= eggAdjective() %> <%= eggText() %>.", "hatchingPotionBase": "Обыкновенный", "hatchingPotionWhite": "Белый", diff --git a/locales/ru/messages.json b/locales/ru/messages.json index d1b5059428..77bbeefa61 100644 --- a/locales/ru/messages.json +++ b/locales/ru/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "У вас уже есть этот скакун. Попробуйте покормить другого питомца.", "messageEvolve": "Вы приручили <%= egg %>, пора кататься!", "messageLikesFood": "<%= egg %> очень любит <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> съел <%= foodText() %>, но не похоже, что это ему действительно понравилось." + "messageDontEnjoyFood": "<%= egg %> съел <%= foodText() %>, но не похоже, что это ему действительно понравилось.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/sk/messages.json b/locales/sk/messages.json index db8d805bf3..e920b1afec 100644 --- a/locales/sk/messages.json +++ b/locales/sk/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "Takého tátoša už máš. Skús nakŕmiť iné zvieratko.", "messageEvolve": "Skrotil si si <%= egg %>, vezmi ho na jazdu!", "messageLikesFood": "<%= egg %> si pochutnalo na <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> zjedlo <%= foodText() %>, ale veľmi mu to nechutí." + "messageDontEnjoyFood": "<%= egg %> zjedlo <%= foodText() %>, ale veľmi mu to nechutí.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/sv/messages.json b/locales/sv/messages.json index f884ba2e5f..1c0d1792e8 100644 --- a/locales/sv/messages.json +++ b/locales/sv/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "You already have that mount. Try feeding another pet.", "messageEvolve": "You have tamed <%= egg %>, let's go for a ride!", "messageLikesFood": "<%= egg %> really likes the <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> eats the <%= foodText() %> but doesn't seem to enjoy it." + "messageDontEnjoyFood": "<%= egg %> eats the <%= foodText() %> but doesn't seem to enjoy it.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file diff --git a/locales/uk/messages.json b/locales/uk/messages.json index 7ea28fcc00..77590c1f02 100644 --- a/locales/uk/messages.json +++ b/locales/uk/messages.json @@ -8,5 +8,16 @@ "messageAlreadyMount": "У Вас уже є такий скакун. Погодуйте-но іншого улюбленця.", "messageEvolve": "Ви приборкали <%= egg %>, давайте кататися верхи!", "messageLikesFood": "<%= egg %> дуже смакує <%= foodText() %>!", - "messageDontEnjoyFood": "<%= egg %> якось їсть <%= foodText() %>, але без особливого задоволення." + "messageDontEnjoyFood": "<%= egg %> якось їсть <%= foodText() %>, але без особливого задоволення.", + "messageBought": "Bought <%= itemText() %>", + "messageUnEquipped": "<%= itemText() %> un-equipped.", + "messageMissingEggPotion": "You're missing either that egg or that potion", + "messageAlreadyPet": "You already have that pet. Try hatching a different combination!", + "messageHatched": "Your egg hatched! Visit your stable to equip your pet.", + "messageNotEnoughGold": "Not Enough Gold", + "messageTwoHandled": "<%= gearText() %> is two-handled", + "messageDropFood": "You've found <%= dropArticle %><%= dropText() %>! <%= dropNotes() %>", + "messageDropEgg": "You've found a <%= dropText() %> Egg! <%= dropNotes() %>", + "messageDropPotion": "You've found a <%= dropText() %> Hatching Potion! <%= dropNotes() %>", + "messageFoundQuest": "You've found the quest \"<%= questText() %>\"!" } \ No newline at end of file