Add the ability to suggest items for someone else without pledging for it (#29)

* add suggest button to wishlist

* make suggest button work

* remove delete-on-unpledge logic
This commit is contained in:
Wingy 2022-10-03 11:32:25 -04:00 committed by GitHub
parent 0e6420f714
commit b94afc3579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -168,6 +168,7 @@ module.exports.strings = {
WISHLIST_REMOVE_GUARD: 'Not correct user',
WISHLIST_REMOVE_MISSING: 'Failed to find item',
WISHLIST_REMOVE_SUCCESS: 'Successfully removed from wishlist',
WISHLIST_SUGGEST: 'Suggest item',
WISHLIST_TITLE: name => `${_CC.config.siteTitle} - Wishlist - ${name}`,
WISHLIST_UNPLEDGE_GUARD: 'You did not pledge for this', // should never happen unless someone makes their own http requests
WISHLIST_UNPLEDGE_MISSING: 'Failed to find item',