Parsi Date - Version 1.3.3

Version Description

  • editor problems fixed
Download this release

Release Info

Developer lord_viper
Plugin Icon Parsi Date
Version 1.3.3
Comparing to
See all releases

Code changes from version 1.3.2 to 1.3.3

css/editor.css CHANGED
@@ -4,5 +4,5 @@ body{
4
  }
5
  #tinymce{
6
  font-family: tahoma;
7
- direction: rtl;
8
  }
4
  }
5
  #tinymce{
6
  font-family: tahoma;
7
+ font-size:12px;
8
  }
languages/admin-fa_IR.mo CHANGED
Binary file
languages/admin-fa_IR.po CHANGED
@@ -2,12 +2,12 @@
2
  # This file is distributed under the same license as the Administration package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Wordpress Persian Project\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
  "POT-Creation-Date: 2014-04-16 18:11:20+00:00\n"
8
- "PO-Revision-Date: 2014-04-19 12:15+0330\n"
9
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
10
- "Language-Team: WP-Persian <info@wp-persian.com>\n"
11
  "Language: fa_IR\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -3219,7 +3219,7 @@ msgstr "رفتن به آخرین صفحه"
3219
  #: wp-admin/update-core.php:228 wp-admin/update-core.php:235
3220
  #: wp-admin/update-core.php:306 wp-admin/update-core.php:313
3221
  msgid "Select All"
3222
- msgstr "گزینش %s"
3223
 
3224
  #: wp-admin/includes/class-wp-media-list-table.php:57
3225
  msgctxt "uploaded files"
2
  # This file is distributed under the same license as the Administration package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Persian Wordpress Project\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
  "POT-Creation-Date: 2014-04-16 18:11:20+00:00\n"
8
+ "PO-Revision-Date: 2014-05-22 11:09+0330\n"
9
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
10
+ "Language-Team: WP-Parsi <info@wp-parsi.com>\n"
11
  "Language: fa_IR\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
3219
  #: wp-admin/update-core.php:228 wp-admin/update-core.php:235
3220
  #: wp-admin/update-core.php:306 wp-admin/update-core.php:313
3221
  msgid "Select All"
3222
+ msgstr "انتخاب همه"
3223
 
3224
  #: wp-admin/includes/class-wp-media-list-table.php:57
3225
  msgctxt "uploaded files"
languages/admin-network-fa_IR.mo CHANGED
Binary file
languages/admin-network-fa_IR.po CHANGED
@@ -2,12 +2,12 @@
2
  # This file is distributed under the same license as the Network Admin package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Wordpress Persian Project\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
  "POT-Creation-Date: 2014-03-29 19:32:23+00:00\n"
8
- "PO-Revision-Date: 2014-04-19 09:40+0330\n"
9
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
10
- "Language-Team: WP-Persian <info@wp-persian.com>\n"
11
  "Language: fa_IR\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
2
  # This file is distributed under the same license as the Network Admin package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Persian Wordpress Project\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
  "POT-Creation-Date: 2014-03-29 19:32:23+00:00\n"
8
+ "PO-Revision-Date: 2014-05-22 11:07+0330\n"
9
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
10
+ "Language-Team: WP-Parsi <info@wp-parsi.com>\n"
11
  "Language: fa_IR\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
languages/continents-cities-fa_IR.mo CHANGED
Binary file
languages/continents-cities-fa_IR.po CHANGED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Wordpress countries and cities\n"
4
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
5
  "POT-Creation-Date: 2014-03-18 17:11:37+00:00\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
8
- "Language-Team: WP-Persian <info@wp-persian.com>\n"
9
  "Language: fa_IR\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Persian Wordpress Project\n"
4
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
5
  "POT-Creation-Date: 2014-03-18 17:11:37+00:00\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
8
+ "Language-Team: WP-Parsi <info@wp-parsi.com>\n"
9
  "Language: fa_IR\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
languages/fa_IR.mo CHANGED
Binary file
languages/fa_IR.po CHANGED
@@ -2,12 +2,12 @@
2
  # This file is distributed under the same license as the Development (trunk) package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Wordpress Persian Project\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
  "POT-Creation-Date: 2014-04-16 18:11:01+00:00\n"
8
- "PO-Revision-Date: 2014-04-19 10:59+0330\n"
9
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
10
- "Language-Team: WP-Persian <info@wp-persian.com>\n"
11
  "Language: fa_IR\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
2
  # This file is distributed under the same license as the Development (trunk) package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Persian Wordpress Project\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
  "POT-Creation-Date: 2014-04-16 18:11:01+00:00\n"
8
+ "PO-Revision-Date: 2014-05-22 11:07+0330\n"
9
  "Last-Translator: Morteza Geransayeh <man4toman@gmail.com>\n"
10
+ "Language-Team: WP-Parsi <info@wp-parsi.com>\n"
11
  "Language: fa_IR\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://forum.wp-parsi.com/
4
  Tags: shamsi, wp-parsi, wpparsi, persian, parsi, farsi, jalali, date, calendar, i18n, l10n, Iran, Iranian, parsidate, rtl
5
  Requires at least: 3.6
6
  Tested up to: 3.9
7
- Stable tag: 1.3.2
8
 
9
  Persian package builder for WordPress, Full RTL and Shamsi(Jalali) date
10
 
@@ -38,6 +38,9 @@ List of some features:
38
  2. Widget of 'بایگانی تاریخ خورشیدی'
39
 
40
  == Changelog ==
 
 
 
41
  = 1.3.2 =
42
  * update language files
43
 
4
  Tags: shamsi, wp-parsi, wpparsi, persian, parsi, farsi, jalali, date, calendar, i18n, l10n, Iran, Iranian, parsidate, rtl
5
  Requires at least: 3.6
6
  Tested up to: 3.9
7
+ Stable tag: 1.3.3
8
 
9
  Persian package builder for WordPress, Full RTL and Shamsi(Jalali) date
10
 
38
  2. Widget of 'بایگانی تاریخ خورشیدی'
39
 
40
  == Changelog ==
41
+ = 1.3.3 =
42
+ * editor problems fixed
43
+
44
  = 1.3.2 =
45
  * update language files
46
 
wp-parsidate.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  Plugin Name: WP-Parsidate
5
- Version: 1.3.2
6
  Author: Mobin Ghasempoor
7
  Author URI: http://wp-parsi.com/
8
  Plugin URI: http://forum.wp-parsi.com/
@@ -11,7 +11,7 @@ Description: Persian package builder for WordPress, Full RTL and Shamsi(Jalali)
11
 
12
  /*
13
  Special thanks to :
14
- Wordpress Parsi admins and moderators (Parsa Kafi, Mohsen Ghiasi, Saeed Fard, Abdolmajed Shahbakhsh, Morteza Rocky and Mostafa Soufi)
15
  Wordpress Parsi forum members for great support(forum.wp-parsi.com)
16
  */
17
 
@@ -115,14 +115,14 @@ function theme_editor_add_init(){
115
  /*
116
  * fix tiny mce rtl
117
  */
118
- add_filter('tiny_mce_before_init', 'wpb_mce_set_direction',1000);
119
 
120
- function wpb_mce_set_direction($input)
121
  {
122
- $input['content_css']=plugins_url(basename(wp_parsipath).'/css/editor.css');
123
- return $input;
124
  }
125
 
 
126
  /*
127
  * hooks and filters for persian date
128
  */
@@ -532,7 +532,7 @@ function wppd_restrict_manage_posts()
532
  $m = isset( $_GET['mfa'] ) ? (int) $_GET['mfa'] : 0;
533
 
534
  echo '<select name="mfa">';
535
- echo "<option ".selected( $m, 0 ,false)." value='0'>".__( 'Show all dates','wp-persian' )."</option>\n";
536
  foreach ( $list as $date )
537
  {
538
  $date = parsidate('Ym',$date,'eng');
2
 
3
  /*
4
  Plugin Name: WP-Parsidate
5
+ Version: 1.3.3
6
  Author: Mobin Ghasempoor
7
  Author URI: http://wp-parsi.com/
8
  Plugin URI: http://forum.wp-parsi.com/
11
 
12
  /*
13
  Special thanks to :
14
+ Wordpress Parsi admins and moderators (Parsa Kafi, Mohsen Ghiasi, Saeed Fard, Abdolmajed Shahbakhsh, Morteza Rocky and Mostafa Soufi, Seyed Vahid Rezaei)
15
  Wordpress Parsi forum members for great support(forum.wp-parsi.com)
16
  */
17
 
115
  /*
116
  * fix tiny mce rtl
117
  */
118
+ add_filter('init', 'wpb_mce_set_font',1000);
119
 
120
+ function wpb_mce_set_font($input)
121
  {
122
+ add_editor_style( plugins_url(basename(wp_parsipath).'/css/editor.css') );
 
123
  }
124
 
125
+
126
  /*
127
  * hooks and filters for persian date
128
  */
532
  $m = isset( $_GET['mfa'] ) ? (int) $_GET['mfa'] : 0;
533
 
534
  echo '<select name="mfa">';
535
+ echo "<option ".selected( $m, 0 ,false)." value='0'>".__( 'دیدن همه تاریخ ها' )."</option>\n";
536
  foreach ( $list as $date )
537
  {
538
  $date = parsidate('Ym',$date,'eng');