From e9a9b9141454fac1ac947d176f3500cf454a4db1 Mon Sep 17 00:00:00 2001 From: PeteS4 Date: Mon, 6 Dec 2021 16:03:26 +0100 Subject: [PATCH] fix: localized 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..6b2e5c1 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_ITEM')) 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')