Skip to content

Commit

Permalink
Merge pull request #97 from phpbb-extensions/release-2.1.0
Browse files Browse the repository at this point in the history
Release 2.1.0
  • Loading branch information
iMattPro committed Jan 12, 2024
2 parents dd2ff00 + 6858a79 commit 42007ff
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 2.1.0 - 2023-10-23

- Breaking change, this version requires phpBB 3.3.11 or newer.
- Fixed styling issues related to the positioning of the collapsible buttons in Prosilver.
- Removed unused code.
- Added style support for:
- SE Gamer Dark
- DVGFX2
- Added language packs for:
- Serbian

## 2.0.1 - 2022-06-18

- Allow extensions to change the text of the collapse button tooltip
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "An extension for phpBB that allows visitors to collapse and minimise forum categories with a simple click.",
"homepage": "https://www.phpbb.com/customise/db/extension/collapsible_forum_categories/",
"version": "2.0.1",
"version": "2.1.0",
"license": "GPL-2.0-only",
"authors": [
{
Expand Down
45 changes: 45 additions & 0 deletions language/sr/collapsiblecategories.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
/**
*
* Collapsible Categories extension for the phpBB Forum Software package.
*
* @copyright (c) 2015 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
'COLLAPSIBLE_CATEGORIES_TITLE' => array(
0 => 'Sakrij kategoriju',
1 => 'Prikaži kategoriju',
),
));
14 changes: 14 additions & 0 deletions styles/DVGFX2/theme/collapsiblecategories.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* Import base collapsible categories stylesheet */
@import url("../../all/theme/collapsiblecategories.css");

/* Styling overrides for DVGFX2 theme */

/* Collapse button */
.collapse-btn {
margin-top: -26px;
padding-right: 6px;
}

.rtl .collapse-btn {
padding-left: 6px;
}
1 change: 0 additions & 1 deletion styles/Violaceous/theme/collapsiblecategories.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

/* Collapse button */
.collapse-btn {
margin-top: -20px;
padding-right: 5px;
}

Expand Down

0 comments on commit 42007ff

Please sign in to comment.