Skip to content

Commit

Permalink
Merge pull request #1114 from publishpress/release-2.12.2
Browse files Browse the repository at this point in the history
French translation of Upgrade banner breaks html structure of plugin screens
  • Loading branch information
agapetry authored Feb 6, 2024
2 parents fe917d3 + e230147 commit b8fcb40
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
5 changes: 2 additions & 3 deletions capsman-enhanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: PublishPress Capabilities
* Plugin URI: https://publishpress.com/capability-manager/
* Description: Manage WordPress role definitions, per-site or network-wide. Organizes post capabilities by post type and operation.
* Version: 2.12.1-rc5
* Version: 2.12.2
* Author: PublishPress
* Author URI: https://publishpress.com/
* Text Domain: capability-manager-enhanced
Expand Down Expand Up @@ -69,7 +69,7 @@
add_action('plugins_loaded', function () {

if (!defined('CAPSMAN_VERSION')) {
define('CAPSMAN_VERSION', '2.12.1');
define('CAPSMAN_VERSION', '2.12.2');
define('CAPSMAN_ENH_VERSION', CAPSMAN_VERSION);
define('PUBLISHPRESS_CAPS_VERSION', CAPSMAN_VERSION);
}
Expand Down Expand Up @@ -142,7 +142,6 @@ function ($links, $file) {
}

if (is_admin()) {

// @todo: refactor
require_once (dirname(__FILE__) . '/includes/functions-admin.php');

Expand Down
Binary file modified languages/capability-manager-enhanced-fr_FR.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion languages/capability-manager-enhanced-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ msgid ""
"features and support. %sUpgrade to Pro%s"
msgstr ""
"Vous utilisez la version gratuite de PublishPress Capabilities. La version "
"Pro offre plus de fonctionnalités et de support. Passer en version Pro%s"
"Pro offre plus de fonctionnalités et de support. %sPasser en version Pro%s"

#: includes-core/CoreAdmin.php:76 includes/functions-admin.php:466
#: includes/roles/class/class-pp-roles-admin.php:644
Expand Down
4 changes: 2 additions & 2 deletions languages/capability-manager-enhanced.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPLv3.
msgid ""
msgstr ""
"Project-Id-Version: PublishPress Capabilities 2.12.1-rc5\n"
"Project-Id-Version: PublishPress Capabilities 2.12.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/project\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-01-30T05:19:17+00:00\n"
"POT-Creation-Date: 2024-02-06T18:24:45+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: capability-manager-enhanced\n"
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Tags: capabilities, permissions, admin menus, user roles, user role editor, acce
Requires at least: 5.5
Requires PHP: 7.2.5
Tested up to: 6.4
Stable tag: 2.12.1
Stable tag: 2.12.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -410,6 +410,9 @@ Fixed : Security issue. Please update.

== Changelog ==

= 2.12.2 - 6 Feb 2024 =
* Fixed : French translation caused "Upgrade to Pro" banner to be rendered incorrectly

= 2.12.1 - 30 Jan 2024 =
* Change : Improved use of screen space on Capabilties tab panels
* Change : In mobile view, scroll to panel for clicked Capabilities tab
Expand Down

0 comments on commit b8fcb40

Please sign in to comment.