Skip to content

Commit

Permalink
Published 2.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Whitlock committed Apr 10, 2017
1 parent 815f17a commit 251a6e8
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 18 deletions.
4 changes: 2 additions & 2 deletions languages/loco.pot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-07 18:17+0000\n"
"POT-Creation-Date: 2017-04-10 10:35+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -91,7 +91,7 @@ msgstr ""
msgid "XML supplied is empty"
msgstr ""

#: src/data/Permissions.php:152
#: src/data/Permissions.php:161
msgctxt "User role"
msgid "Translator"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions loco.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://wordpress.org/plugins/loco-translate/
Description: Translate themes and plugins directly in WordPress
Author: Tim Whitlock
Version: 2.0.13-dev
Version: 2.0.13
Author URI: https://localise.biz/wordpress/plugin
Text Domain: loco
Domain Path: /languages/
Expand Down Expand Up @@ -45,7 +45,7 @@ function loco_plugin_file(){
* @return string
*/
function loco_plugin_version(){
return '2.0.13-dev';
return '2.0.13';
}


Expand Down
2 changes: 1 addition & 1 deletion pub/css/admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/css/editor.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pub/css/poview.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pub/css/skins/blue.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pub/css/skins/coffee.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pub/css/skins/ectoplasm.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pub/css/skins/light.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pub/css/skins/midnight.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pub/css/skins/ocean.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pub/css/skins/sunrise.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: timwhitlock
Tags: translation, translators, localization, localisation, l10n, i18n, Gettext, PO, MO, productivity, multilingual
Requires at least: 4.1
Tested up to: 4.7.3
Stable tag: 2.0.12
Stable tag: 2.0.13
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -85,11 +85,11 @@ Help is provided via the [plugin support forum](https://wordpress.org/support/pl

== Changelog ==

= 2.0.13-dev
= 2.0.13
* CSS conflict fixes
* Added option for UTF-8 byte order mark
* Printf highlighting observes no-php-format flag
* Fixed issue with translator role getting locked out
* Fixed issue with translator role losing “read” permission

= 2.0.12
* Minor fix for root path configs
Expand Down
1 change: 0 additions & 1 deletion src/admin/config/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public function init(){
$this->set( 'dflt', Loco_data_Settings::create() );

// roles and capabilities
Loco_data_Permissions::init();
$perms = new Loco_data_Permissions;

// handle save action
Expand Down
9 changes: 9 additions & 0 deletions src/data/Permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ public static function init(){



/**
* @internal
*/
public function __construct(){
self::init();
}



/**
* @return array<WP_Role>
*/
Expand Down

0 comments on commit 251a6e8

Please sign in to comment.