Add missing messages to gettext

This commit is contained in:
Jeong YunWon
2018-06-09 23:45:51 +09:00
parent 15ddf72e43
commit 99f28877e8
+4 -4
View File
@@ -161,15 +161,15 @@ var Path = {
var currentBagCapacity = 0; var currentBagCapacity = 0;
// Add the non-craftables to the craftables // Add the non-craftables to the craftables
var carryable = $.extend({ var carryable = $.extend({
'cured meat': { type: 'tool', desc: 'restores '+ World.MEAT_HEAL + ' hp' }, 'cured meat': { type: 'tool', desc: _('restores') + ' ' + World.MEAT_HEAL + ' ' + _('hp') },
'bullets': { type: 'tool', desc: 'use with rifle' }, 'bullets': { type: 'tool', desc: _('use with rifle') },
'grenade': {type: 'weapon' }, 'grenade': {type: 'weapon' },
'bolas': {type: 'weapon' }, 'bolas': {type: 'weapon' },
'laser rifle': {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' }, 'bayonet': {type: 'weapon' },
'charm': {type: 'tool'}, 'charm': {type: 'tool'},
'medicine': {type: 'tool', desc: 'restores ' + World.MEDS_HEAL + ' hp' } 'medicine': {type: 'tool', desc: _('restores') + ' ' + World.MEDS_HEAL + ' ' + _('hp') }
}, Room.Craftables); }, Room.Craftables);
for(var k in carryable) { for(var k in carryable) {