Plugin Directory

Changeset 804521


Ignore:
Timestamp:
11/14/2013 08:03:51 PM (11 years ago)
Author:
boyfa
Message:

2.9 vers

Location:
persian-world
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • persian-world/trunk/persian-world.php

    r804497 r804521  
    44Plugin URI: http://wordpress.org/extend/plugins/persian-world/
    55Description: It will turn WordPress , bbPress and BuddyPress into Persian ! and also enables awesome features ! <a href="http://codev.ir">This plugin is part of Code Development Projects </a>
    6 Version: 2.8
     6Version: 2.9
    77Author: Danial Hatami
    88Author URI: http://codev.ir
     
    2424*/
    2525
     26require_once ( dirname(__FILE__) .'/caption.php');
    2627
    2728// fixed memory limit
     
    6869}
    6970add_action('plugins_loaded', 'buddypress_init');
    70 
    71 // captions
    72 
    73 function persian_wordpress_gettext( $text ) {
    74     static $replace, $keys;
    75 
    76     if ( !is_array($replace) ) {
    77         $replace = array(
    78 
    79             'Widget' => 'ابزارک',
    80             'Widegts' => 'ابزارک‌ها',
    81             'Uopload/Insert' => 'بارگذاری/گذاشتن',
    82             'Unattached' => 'پیوست‌نشده',
    83             'Attached to' => 'پیوست به',
    84             'دسته‌جمعی' => 'گروهی',
    85             'تقویم' => 'ماه‌نگار',
    86             'برچسب‌ها' => 'آويزه‌ها',
    87             'برچسب‌' => 'آويزه',
    88             'Inactive' => 'غیرفعال',
    89             'All' => 'همه',
    90             'Update Available' => 'آماده بروزرسانی',
    91             'items' => 'مورد',
    92             'item' => 'مورد',
    93             'WordPress Blog ' => 'وبگاه وردپرس',
    94             'Other WordPress News ' => 'از دنیای وردپرس',
    95             'Spam' => 'هرزنامه',
    96             'Trash' => 'زباله‌دان',
    97             'Pending' => 'در انتظار بررسی',
    98             'Theme' => 'پوسته',
    99             'خصوصیات' => 'ویژگی‌ها',
    100             'جفنگ' => 'هرزنامه',
    101             'وردپرس فارسی' => 'وردپرس',
    102             'حاشیه' => 'نوشتک',
    103             'صافی' => 'پالایه',
    104             'پروتکل' => 'درگاه',
    105             'شناسنامه' => 'نمایه',
    106             'ایمیل' => 'پست‌الکترونیک',
    107             'قوی' => 'مستحکم',
    108         );
    109         $keys = array_keys( $replace );
    110     }
    111 
    112     return str_replace( $keys, $replace, $text );
    113 }
    114 
    115 add_filter( 'gettext', 'persian_wordpress_gettext' );
    116 add_filter( 'gettext_with_context', 'persian_wordpress_gettext' );
    117 add_filter( 'ngettext', 'persian_wordpress_gettext' );
    118 add_filter( 'ngettext_with_context', 'persian_wordpress_gettext' );
    119 
    12071
    12172// tinymce
  • persian-world/trunk/readme.txt

    r804499 r804521  
    55Requires at least: 3.2
    66Tested up to: 3.7
    7 Stable tag: 2.8
     7Stable tag: 2.9
    88
    99It will turn WordPress , bbPress and BuddyPress into Persian !
     
    2525
    2626*   It Translates **All Part of WordPress** , **bbPress** and **BuddyPress**
    27 *   Enables **Word Captions** (!) [ you need to edit codes ]
     27*   Enables Word Captions (!) [ you need to edit codes ]
    2828*   Enables **RTL and LTR buttons** [TinyMCE editor]
    2929*   Enables **Create Username containing Persian characters** [Default Wordpress does not allow to use persian characters in usernames]
     
    7878== Changelog ==
    7979
     80= 2.9 =
     81* Added : caption.php
     82
    8083= 2.8 =
    8184* Fixed : Some crashes
Note: See TracChangeset for help on using the changeset viewer.