From 18a1c113c84b4562597531cdf15a202cf1212255 Mon Sep 17 00:00:00 2001 From: Wingy Date: Mon, 6 Dec 2021 13:17:29 -0500 Subject: [PATCH] forgot to use translations for pledge button --- views/wishlist.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/wishlist.pug b/views/wishlist.pug index a9c6512..b605325 100644 --- a/views/wishlist.pug +++ b/views/wishlist.pug @@ -106,12 +106,12 @@ block content form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/pledge/${item.id}`) .field.inline .control.inline - input.inline.button.is-primary(type='submit' value='Pledge') + input.inline.button.is-primary(type='submit' value=lang('WISHLIST_PLEDGE')) if item.pledgedBy === req.user._id form.inline(method='POST', action=`${_CC.config.base}wishlist/${req.params.user}/unpledge/${item.id}`) .field.inline .control.inline - input.inline.button(type='submit' value='Unpledge') + input.inline.button(type='submit' value=lang('WISHLIST_UNPLEDGE')) if item.pledgedBy && item.pledgedBy !== req.user._id span.ugc=lang('WISHLIST_PLEDGED', item.pledgedBy) td(data-label='Delete Item')