diff --git a/src/assets/js/wishlist.js b/src/assets/js/wishlist.js index 0a06ebfa..7f8bf4c0 100644 --- a/src/assets/js/wishlist.js +++ b/src/assets/js/wishlist.js @@ -33,25 +33,25 @@ $(function() { } /** - * Commit to Wish + * Fulfill wish */ - $(document).on('click', '.ui.button.commit', function() { + $(document).on('click', '.ui.button.fulfill', function() { var button = $(this); var card = button.closest('.ui.card'); var column = card.closest('.column'); $('body') .modal({ - title : text.modal_wish_commit_title, - content : text.modal_wish_commit, + title : text.modal_wish_fulfill_title, + content : text.modal_wish_fulfill, class : 'tiny', actions : [ { - text : text.modal_wish_commit_approve, + text : text.modal_wish_fulfill_approve, class: 'approve primary' }, { - text : text.modal_wish_commit_deny, + text : text.modal_wish_fulfill_deny, class: '' } ], diff --git a/src/classes/page.php b/src/classes/page.php index 66e49fec..49875365 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -245,10 +245,10 @@ class Page modal_wishlist_delete_approve : '= __('Yes, delete') ?>', modal_wishlist_delete_deny : '= __('No, keep') ?>', - modal_wish_commit_title : '= __('Really commit?') ?>', - modal_wish_commit : '= __('Would you really like to commit to this purchase? It will no longer appear in the wishlist for others anymore.') ?>', - modal_wish_commit_approve : '= __('Yes, commit') ?>', - modal_wish_commit_deny : '= __('Cancel') ?>', + modal_wish_fulfill_title : '= __('Really fulfill wish?') ?>', + modal_wish_fulfill : '= __('Would you really like to fulfill this wish? It will no longer appear in the wishlist for others anymore.') ?>', + modal_wish_fulfill_approve : '= __('Yes, fulfill wish') ?>', + modal_wish_fulfill_deny : '= __('Cancel') ?>', modal_wish_delete_title : '= __('Really delete?') ?>', modal_wish_delete : '= __('Would you really like to delete to this wish? It will be gone forever.') ?>', modal_wish_delete_approve : '= __('Yes, delete') ?>', diff --git a/src/classes/wish.php b/src/classes/wish.php index 33edffc4..a2b93967 100644 --- a/src/classes/wish.php +++ b/src/classes/wish.php @@ -157,9 +157,9 @@ class Wish