Closed joomlapl-bot closed 1 year ago
PR w związku ze zmianą oryginału https://github.com/joomla/joomla-cms/pull/40078 Poniżej zmiany w oryginale:
PR w związku ze zmianą oryginału https://github.com/joomla/joomla-cms/pull/40078 Poniżej zmiany w oryginale:
Click to expand the diff!
```diff diff --git a/administrator/components/com_banners/src/Service/Html/Banner.php b/administrator/components/com_banners/src/Service/Html/Banner.php index 244ed7d0b31c..77314f24fd6f 100644 --- a/administrator/components/com_banners/src/Service/Html/Banner.php +++ b/administrator/components/com_banners/src/Service/Html/Banner.php @@ -104,7 +104,7 @@ public function pinned($value, $i, $enabled = true, $checkbox = 'cb') 1 => [ 'sticky_unpublish', 'COM_BANNERS_BANNERS_PINNED', - 'COM_BANNERS_BANNERS_HTML_PIN_BANNER', + 'COM_BANNERS_BANNERS_HTML_UNPIN_BANNER', 'COM_BANNERS_BANNERS_PINNED', true, 'publish', @@ -113,7 +113,7 @@ public function pinned($value, $i, $enabled = true, $checkbox = 'cb') 0 => [ 'sticky_publish', 'COM_BANNERS_BANNERS_UNPINNED', - 'COM_BANNERS_BANNERS_HTML_UNPIN_BANNER', + 'COM_BANNERS_BANNERS_HTML_PIN_BANNER', 'COM_BANNERS_BANNERS_UNPINNED', true, 'unpublish', diff --git a/administrator/language/en-GB/com_banners.ini b/administrator/language/en-GB/com_banners.ini index ff1796c7c014..da671eb417c1 100644 --- a/administrator/language/en-GB/com_banners.ini +++ b/administrator/language/en-GB/com_banners.ini @@ -10,8 +10,8 @@ COM_BANNERS_BANNER_NEW="New Banner" COM_BANNERS_BANNER_SAVE_SUCCESS="Banner saved." COM_BANNERS_BANNERS_FILTER_SEARCH_DESC="Search in banner name and alias. Prefix with ID: to search for a banner ID." COM_BANNERS_BANNERS_FILTER_SEARCH_LABEL="Search Banners" -COM_BANNERS_BANNERS_HTML_PIN_BANNER="Pinned banner" -COM_BANNERS_BANNERS_HTML_UNPIN_BANNER="Unpinned banner" +COM_BANNERS_BANNERS_HTML_PIN_BANNER="Pin banner" +COM_BANNERS_BANNERS_HTML_UNPIN_BANNER="Unpin banner" COM_BANNERS_BANNERS_N_ITEMS_ARCHIVED="%d banners archived." COM_BANNERS_BANNERS_N_ITEMS_ARCHIVED_1="Banner archived." COM_BANNERS_BANNERS_N_ITEMS_CHECKED_IN_1="Banner checked in." ```