From c1e5d8b5730e092770d1b8eba61201f8cf8b72cf Mon Sep 17 00:00:00 2001 From: Alys Date: Fri, 7 Jul 2017 06:23:20 +1000 Subject: [PATCH] add missing string for mountNowOwned error message (#8843) --- website/common/locales/en/pets.json | 1 + website/server/controllers/api-v3/user.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/website/common/locales/en/pets.json b/website/common/locales/en/pets.json index 343f063260..8706eed3f1 100644 --- a/website/common/locales/en/pets.json +++ b/website/common/locales/en/pets.json @@ -71,6 +71,7 @@ "displayNow": "Display Now", "displayLater": "Display Later", "petNotOwned": "You do not own this pet.", + "mountNotOwned": "You do not own this mount.", "earnedCompanion": "With all your productivity, you've earned a new companion. Feed it to make it grow!", "feedPet": "Feed <%= article %><%= text %> to your <%= name %>?", "useSaddle": "Saddle <%= pet %>?", diff --git a/website/server/controllers/api-v3/user.js b/website/server/controllers/api-v3/user.js index ae339ca71f..7337c4d39b 100644 --- a/website/server/controllers/api-v3/user.js +++ b/website/server/controllers/api-v3/user.js @@ -1099,7 +1099,7 @@ api.hatch = { * @apiErrorExample {json} Item not owned or doesn't exist. * {"success":false,"error":"NotFound","message":"You do not own this item."} * {"success":false,"error":"NotFound","message":"You do not own this pet."} - * {"success":false,"error":"NotFound","message":"String 'mountNotOwned' not found."} + * {"success":false,"error":"NotFound","message":"You do not own this mount."} * */ api.equip = {