From 99f28877e869118351e9eef46b501a5e22c4d7ea Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Sat, 9 Jun 2018 23:45:51 +0900 Subject: [PATCH] Add missing messages to gettext --- script/path.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/path.js b/script/path.js index 9aa7a8e..373a129 100644 --- a/script/path.js +++ b/script/path.js @@ -161,15 +161,15 @@ var Path = { var currentBagCapacity = 0; // Add the non-craftables to the craftables var carryable = $.extend({ - 'cured meat': { type: 'tool', desc: 'restores '+ World.MEAT_HEAL + ' hp' }, - 'bullets': { type: 'tool', desc: 'use with rifle' }, + 'cured meat': { type: 'tool', desc: _('restores') + ' ' + World.MEAT_HEAL + ' ' + _('hp') }, + 'bullets': { type: 'tool', desc: _('use with rifle') }, 'grenade': {type: 'weapon' }, 'bolas': {type: 'weapon' }, 'laser rifle': {type: 'weapon' }, - 'energy cell': {type: 'tool', desc: 'use with laser rifle' }, + 'energy cell': {type: 'tool', desc: _('use with laser rifle') }, 'bayonet': {type: 'weapon' }, 'charm': {type: 'tool'}, - 'medicine': {type: 'tool', desc: 'restores ' + World.MEDS_HEAL + ' hp' } + 'medicine': {type: 'tool', desc: _('restores') + ' ' + World.MEDS_HEAL + ' ' + _('hp') } }, Room.Craftables); for(var k in carryable) {