Rename saved wishlists

This commit is contained in:
grandeljay 2022-06-21 08:23:43 +02:00
parent 5901efacb8
commit d15cca047c
4 changed files with 6 additions and 5 deletions

View file

@ -402,8 +402,8 @@ class Page
calendar_pm : '<?= _x('PM', 'Calendar') ?>', calendar_pm : '<?= _x('PM', 'Calendar') ?>',
calendar_week_no : '<?= _x('Week', 'Calendar') ?>', calendar_week_no : '<?= _x('Week', 'Calendar') ?>',
button_wishlist_save : '<?= __('Save') ?>', button_wishlist_save : '<?= __('Remember list') ?>',
button_wishlist_saved : '<?= __('Saved') ?>', button_wishlist_saved : '<?= __('Remembered') ?>',
}; };
</script> </script>
@ -508,7 +508,7 @@ class Page
'icon' => 'list', 'icon' => 'list',
), ),
array( array(
'text' => __('Saved lists'), 'text' => __('Remembered lists'),
'url' => Page::PAGE_WISHLISTS_SAVED, 'url' => Page::PAGE_WISHLISTS_SAVED,
'icon' => 'heart', 'icon' => 'heart',
), ),

View file

@ -57,6 +57,7 @@ $page->navigation();
<ul> <ul>
<li><?= __('Changelog is now a page instead of a downloadable markdown file') ?></li> <li><?= __('Changelog is now a page instead of a downloadable markdown file') ?></li>
<li><?= __('Wishes can be edited from the wishlist now, without loading another page') ?></li> <li><?= __('Wishes can be edited from the wishlist now, without loading another page') ?></li>
<li><?= __('"Saved wishlists" has been renamed to "Remember lists"') ?></li>
</ul> </ul>
<h3 class="ui header"><?= __('Fixed') ?></h3> <h3 class="ui header"><?= __('Fixed') ?></h3>

View file

@ -30,7 +30,7 @@ $page->navigation();
<?php if ($user->isLoggedIn() && $user->id !== intval($wishlist->user)) { ?> <?php if ($user->isLoggedIn() && $user->id !== intval($wishlist->user)) { ?>
<button class="ui white small basic labeled icon button save disabled loading"> <button class="ui white small basic labeled icon button save disabled loading">
<i class="heart icon"></i> <i class="heart icon"></i>
<span><?= __('Save list') ?></span> <span><?= __('Remember list') ?></span>
</button> </button>
<?php } ?> <?php } ?>

View file

@ -8,7 +8,7 @@
namespace wishthis; namespace wishthis;
$page = new Page(__FILE__, __('Saved lists')); $page = new Page(__FILE__, __('Remembered lists'));
$page->header(); $page->header();
$page->bodyStart(); $page->bodyStart();
$page->navigation(); $page->navigation();