Version Description
*
Download this release
Release Info
Developer | hannanstd |
Plugin | Persian Woocommerce |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.4.1
- include/function-rtl.php +5 -5
- include/persian-woocommerce.php +2 -2
- include/{RTL → style_admin}/css/admin-ps.css +0 -0
- include/{RTL → style_admin}/css/admin-woo.css +0 -0
- include/{RTL → style_admin}/css/dashboard.css +0 -0
- include/{RTL → style_admin}/css/menu.css +0 -0
- include/{RTL → style_admin}/css/reports-print.css +0 -0
- include/{RTL → style_admin}/fonts/WooCommerce.eot +0 -0
- include/{RTL → style_admin}/fonts/WooCommerce.svg +0 -0
- include/{RTL → style_admin}/fonts/WooCommerce.ttf +0 -0
- include/{RTL → style_admin}/fonts/WooCommerce.woff +0 -0
- include/{RTL → style_admin}/fonts/star.eot +0 -0
- include/{RTL → style_admin}/fonts/star.svg +0 -0
- include/{RTL → style_admin}/fonts/star.ttf +0 -0
- include/{RTL → style_admin}/fonts/star.woff +0 -0
- include/{RTL → style_admin}/images/chosen-sprite.png +0 -0
- include/{RTL → style_admin}/images/chosen-sprite@2x.png +0 -0
- include/{RTL → style_admin}/images/icons/loader.svg +0 -0
- include/{RTL → style_admin}/images/select2-spinner.gif +0 -0
- include/{RTL → style_admin}/images/select2.png +0 -0
- include/{RTL → style_admin}/images/select2x2.png +0 -0
- include/{RTL → style_admin}/images/storefront-bg.jpg +0 -0
- readme.txt +4 -0
- woocommerce-persian.php +2 -2
include/function-rtl.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
// menu.css
|
17 |
wp_dequeue_style( 'woocommerce_admin_menu_styles' );
|
18 |
wp_dequeue_style( 'woocommerce_admin_menu_styles_rtl' );
|
19 |
-
wp_enqueue_style( 'woocommerce_admin_menu_styles_rtl', plugins_url('/
|
20 |
|
21 |
$screen = get_current_screen();
|
22 |
|
@@ -26,22 +26,22 @@
|
|
26 |
if ( in_array( $screen->id, wc_get_screen_ids() ) ) {
|
27 |
wp_dequeue_style( 'woocommerce_admin_styles' );
|
28 |
wp_dequeue_style( 'woocommerce_admin_styles_rtl' );
|
29 |
-
wp_enqueue_style( 'woocommerce_admin_styles_rtl', plugins_url('/
|
30 |
-
wp_enqueue_style( 'persian_woo_rtl_admin_styles', plugins_url('/
|
31 |
}
|
32 |
}
|
33 |
// dashboard.css
|
34 |
if ( in_array( $screen->id, array( 'dashboard' ) ) ) {
|
35 |
wp_dequeue_style( 'woocommerce_admin_dashboard_styles' );
|
36 |
wp_dequeue_style( 'woocommerce_admin_dashboard_styles_rtl' );
|
37 |
-
wp_enqueue_style( 'woocommerce_admin_dashboard_styles_rtl', plugins_url('/
|
38 |
}
|
39 |
|
40 |
// reports-print.css
|
41 |
if ( in_array( $screen->id, array( 'woocommerce_page_wc-reports' ) ) ) {
|
42 |
wp_dequeue_style( 'woocommerce_admin_dashboard_styles' );
|
43 |
wp_dequeue_style( 'woocommerce_admin_print_reports_styles_rtl' );
|
44 |
-
wp_enqueue_style( 'woocommerce_admin_print_reports_styles_rtl', plugins_url('/
|
45 |
}
|
46 |
|
47 |
}
|
16 |
// menu.css
|
17 |
wp_dequeue_style( 'woocommerce_admin_menu_styles' );
|
18 |
wp_dequeue_style( 'woocommerce_admin_menu_styles_rtl' );
|
19 |
+
wp_enqueue_style( 'woocommerce_admin_menu_styles_rtl', plugins_url('/style_admin/css/menu.css',__FILE__), array(), $version );
|
20 |
|
21 |
$screen = get_current_screen();
|
22 |
|
26 |
if ( in_array( $screen->id, wc_get_screen_ids() ) ) {
|
27 |
wp_dequeue_style( 'woocommerce_admin_styles' );
|
28 |
wp_dequeue_style( 'woocommerce_admin_styles_rtl' );
|
29 |
+
wp_enqueue_style( 'woocommerce_admin_styles_rtl', plugins_url('/style_admin/css/admin-woo.css',__FILE__), array(), $version );
|
30 |
+
wp_enqueue_style( 'persian_woo_rtl_admin_styles', plugins_url('/style_admin/css/admin-ps.css',__FILE__), array(), $version );
|
31 |
}
|
32 |
}
|
33 |
// dashboard.css
|
34 |
if ( in_array( $screen->id, array( 'dashboard' ) ) ) {
|
35 |
wp_dequeue_style( 'woocommerce_admin_dashboard_styles' );
|
36 |
wp_dequeue_style( 'woocommerce_admin_dashboard_styles_rtl' );
|
37 |
+
wp_enqueue_style( 'woocommerce_admin_dashboard_styles_rtl', plugins_url('/style_admin/css/dashboard.css',__FILE__), array(), $version );
|
38 |
}
|
39 |
|
40 |
// reports-print.css
|
41 |
if ( in_array( $screen->id, array( 'woocommerce_page_wc-reports' ) ) ) {
|
42 |
wp_dequeue_style( 'woocommerce_admin_dashboard_styles' );
|
43 |
wp_dequeue_style( 'woocommerce_admin_print_reports_styles_rtl' );
|
44 |
+
wp_enqueue_style( 'woocommerce_admin_print_reports_styles_rtl', plugins_url('/style_admin/css/reports-print.css',__FILE__), array(), $version, 'print' );
|
45 |
}
|
46 |
|
47 |
}
|
include/persian-woocommerce.php
CHANGED
@@ -94,9 +94,9 @@
|
|
94 |
if ( $this->is_persian || strtolower($curLang) == 'fa' ) {
|
95 |
|
96 |
if ( is_admin() )
|
97 |
-
load_textdomain( 'woocommerce', $dir . '/include/languages/admin-fa_IR.mo' );
|
98 |
|
99 |
-
load_textdomain( 'woocommerce', $dir . '/include/languages/fa_IR.mo' );
|
100 |
}
|
101 |
|
102 |
$this->plugin_version = WOO_PERSIAN_VERSION;
|
94 |
if ( $this->is_persian || strtolower($curLang) == 'fa' ) {
|
95 |
|
96 |
if ( is_admin() )
|
97 |
+
load_textdomain( 'woocommerce', false, $dir . '/include/languages/admin-fa_IR.mo' );
|
98 |
|
99 |
+
load_textdomain( 'woocommerce', false, $dir . '/include/languages/fa_IR.mo' );
|
100 |
}
|
101 |
|
102 |
$this->plugin_version = WOO_PERSIAN_VERSION;
|
include/{RTL → style_admin}/css/admin-ps.css
RENAMED
File without changes
|
include/{RTL → style_admin}/css/admin-woo.css
RENAMED
File without changes
|
include/{RTL → style_admin}/css/dashboard.css
RENAMED
File without changes
|
include/{RTL → style_admin}/css/menu.css
RENAMED
File without changes
|
include/{RTL → style_admin}/css/reports-print.css
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/WooCommerce.eot
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/WooCommerce.svg
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/WooCommerce.ttf
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/WooCommerce.woff
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/star.eot
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/star.svg
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/star.ttf
RENAMED
File without changes
|
include/{RTL → style_admin}/fonts/star.woff
RENAMED
File without changes
|
include/{RTL → style_admin}/images/chosen-sprite.png
RENAMED
File without changes
|
include/{RTL → style_admin}/images/chosen-sprite@2x.png
RENAMED
File without changes
|
include/{RTL → style_admin}/images/icons/loader.svg
RENAMED
File without changes
|
include/{RTL → style_admin}/images/select2-spinner.gif
RENAMED
File without changes
|
include/{RTL → style_admin}/images/select2.png
RENAMED
File without changes
|
include/{RTL → style_admin}/images/select2x2.png
RENAMED
File without changes
|
include/{RTL → style_admin}/images/storefront-bg.jpg
RENAMED
File without changes
|
readme.txt
CHANGED
@@ -50,6 +50,8 @@ You can read complete documentations on the [woocommerce.ir](http://www.woocomme
|
|
50 |
|
51 |
|
52 |
== Changelog ==
|
|
|
|
|
53 |
= 2.4.0 =
|
54 |
* بهینه سازی کامل و باز نویسی و سازگاری با آخرین نسخه
|
55 |
= 2.3.9.2 =
|
@@ -76,6 +78,8 @@ You can read complete documentations on the [woocommerce.ir](http://www.woocomme
|
|
76 |
* نسخه اولیه
|
77 |
|
78 |
== Upgrade Notice ==
|
|
|
|
|
79 |
= 2.4.0 =
|
80 |
* بهینه سازی کامل و باز نویسی و سازگاری با آخرین نسخه
|
81 |
= 2.3.9.2 =
|
50 |
|
51 |
|
52 |
== Changelog ==
|
53 |
+
= 2.4.1 =
|
54 |
+
* رفع باگ
|
55 |
= 2.4.0 =
|
56 |
* بهینه سازی کامل و باز نویسی و سازگاری با آخرین نسخه
|
57 |
= 2.3.9.2 =
|
78 |
* نسخه اولیه
|
79 |
|
80 |
== Upgrade Notice ==
|
81 |
+
= 2.4.1 =
|
82 |
+
* رفع باگ
|
83 |
= 2.4.0 =
|
84 |
* بهینه سازی کامل و باز نویسی و سازگاری با آخرین نسخه
|
85 |
= 2.3.9.2 =
|
woocommerce-persian.php
CHANGED
@@ -4,14 +4,14 @@ Contributors: Persianscript, hannanstd, MahdiY
|
|
4 |
Plugin Name: ووکامرس پارسی
|
5 |
Plugin URI: http://woocommerce.ir
|
6 |
Description: بسته فارسی ساز ووکامرس پارسی به راحتی سیستم فروشگاه ساز ووکامرس را فارسی می کند. با فعال سازی افزونه ، واحد پولی ریال و تومان ایران و همچنین لیست استان های ایران به افزونه افزوده می شوند. پشتیبانی در <a href="http://www.woocommerce.ir/" target="_blank">ووکامرس پارسی</a>.
|
7 |
-
Version: 2.4.
|
8 |
Requires at least: 4.0
|
9 |
Author: ووکامرس فارسی
|
10 |
Author URI: http://www.woocommerce.ir
|
11 |
*/
|
12 |
|
13 |
if ( !defined( 'WOO_PERSIAN_VERSION' ) )
|
14 |
-
define( 'WOO_PERSIAN_VERSION' , '2.4.
|
15 |
|
16 |
require_once ( dirname(__FILE__) .'/include/persian-woocommerce.php');
|
17 |
require_once ( dirname(__FILE__) .'/include/function-currency.php');
|
4 |
Plugin Name: ووکامرس پارسی
|
5 |
Plugin URI: http://woocommerce.ir
|
6 |
Description: بسته فارسی ساز ووکامرس پارسی به راحتی سیستم فروشگاه ساز ووکامرس را فارسی می کند. با فعال سازی افزونه ، واحد پولی ریال و تومان ایران و همچنین لیست استان های ایران به افزونه افزوده می شوند. پشتیبانی در <a href="http://www.woocommerce.ir/" target="_blank">ووکامرس پارسی</a>.
|
7 |
+
Version: 2.4.1
|
8 |
Requires at least: 4.0
|
9 |
Author: ووکامرس فارسی
|
10 |
Author URI: http://www.woocommerce.ir
|
11 |
*/
|
12 |
|
13 |
if ( !defined( 'WOO_PERSIAN_VERSION' ) )
|
14 |
+
define( 'WOO_PERSIAN_VERSION' , '2.4.1' );
|
15 |
|
16 |
require_once ( dirname(__FILE__) .'/include/persian-woocommerce.php');
|
17 |
require_once ( dirname(__FILE__) .'/include/function-currency.php');
|