Skip to content

Commit

Permalink
Coupon Creator 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseeproductions committed Aug 29, 2016
1 parent 8aa04c9 commit 26508a3
Show file tree
Hide file tree
Showing 11 changed files with 777 additions and 9 deletions.
4 changes: 2 additions & 2 deletions coupon_creator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: Coupon Creator
Description: This plugin creates a custom post type for coupons with a shortcode to display it on website and a single view template for printing.
Version: 2.3
Version: 2.3.1
Author: Brian Jessee
Author URI: http://couponcreatorplugin.com
Text Domain: coupon-creator
Expand All @@ -21,7 +21,7 @@
if (!defined('CCTOR_MIN_PHP_VERSION')) define( 'CCTOR_MIN_PHP_VERSION', '5.2');
if (!defined('CCTOR_MIN_WP_VERSION')) define( 'CCTOR_MIN_WP_VERSION', '4.0');
if (!defined('CCTOR_VERSION_KEY')) define( 'CCTOR_VERSION_KEY', 'cctor_coupon_version');
if (!defined('CCTOR_VERSION_NUM')) define( 'CCTOR_VERSION_NUM', '2.3');
if (!defined('CCTOR_VERSION_NUM')) define( 'CCTOR_VERSION_NUM', '2.3.1');

/*
* Coupon Creator License
Expand Down
5 changes: 3 additions & 2 deletions includes/cctor-coupon-class.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ protected function cctor_Load_Template_Functions() {

public static function i18n() {

$cctor_local_path = CCTOR_URL . '/languages/';
load_plugin_textdomain('coupon-creator', false, $cctor_local_path );
$cctor_local_path = dirname( dirname( plugin_basename( __FILE__ ) ) ) .'/languages';

load_plugin_textdomain( 'coupon-creator' , false, $cctor_local_path );

}
/***************************************************************************/
Expand Down
4 changes: 2 additions & 2 deletions languages/coupon-creator-es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Coupon Creator\n"
"POT-Creation-Date: 2016-06-08 09:53-0400\n"
"PO-Revision-Date: 2016-06-08 09:54-0400\n"
"PO-Revision-Date: 2016-08-09 07:53-0400\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es_ES\n"
Expand Down Expand Up @@ -712,7 +712,7 @@ msgstr "Haga Clic en Para Abrir la Vista de Impresión"

#: public/template-functions/cctor-function-links.php:52
msgid "Click to Print"
msgstr "Haga Cic Para Imprimir"
msgstr "Haga Clic Para Imprimir"

#. Plugin Name of the plugin/theme
msgid "Coupon Creator"
Expand Down
Loading

0 comments on commit 26508a3

Please sign in to comment.