Skip to content

Commit

Permalink
Bump version 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
fxbenard committed Sep 15, 2016
1 parent d920f4e commit b07e0e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
10 changes: 7 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== WPT transifex Updater ===
Contributors: WP-Translations Team
Tags: i18n, Internationalization, transifex
Requires at least: 3.7.0
Tested up to: 4.5.2
Stable tag: 1.0.5
Requires at least: 4.1
Tested up to: 4.6.1
Stable tag: 1.0.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -13,6 +13,10 @@ Easily update translations from transifex.com

== Changelog ==

=1.0.6 =
* Code revamping
* Add functionality for de_DE_formal

= 1.0.5 =
* Changed Custom Post Type logo

Expand Down
7 changes: 3 additions & 4 deletions wpt-tx-updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
* @wordpress-plugin
* Plugin Name: WPT transifex Updater
* Plugin URI: http://wp-translations.org/
* Description: A powerful WordPress plugin that let you use your own translation .mo files. Simple as that.
* Description: Easily update translations from transifex.com
* Version: 1.0.6
* Author: WP-Translations Team
* Author URI: http://wp-translations.org/
Expand All @@ -24,7 +23,7 @@

defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' );

define( 'WPTXU_VERSION', '1.0.5' );
define( 'WPTXU_VERSION', '1.0.6' );
define( 'WPTXU_STORE_URL', 'http://sadler-jerome.fr' );
define( 'WPTXU_SLUG', 'wpt-tx-updater' );
define( 'WPTXU_NICE_NAME', 'WPT transifex Updater' );
Expand Down Expand Up @@ -125,7 +124,7 @@ function wptxu_load_textdomain() {

foreach ( $domains as $domain ) {
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );

unload_textdomain( $domain );
load_textdomain( $domain, WPTXU_CONTENT_PATH . '/' . $domain . '/' . $locale . '/' . $domain . '-' . $locale . '.mo' );
}
Expand Down

0 comments on commit b07e0e3

Please sign in to comment.