WordPress.org

Plugin Directory

Changeset 609205


Ignore:
Timestamp:
10/07/12 16:33:43 (19 months ago)
Author:
Chouby
Message:

0.9.2.4

Location:
polylang/trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • polylang/trunk/include/admin-filters.php

    r607182 r609205  
    460460        elseif (isset($_GET['new_lang'])) 
    461461            $this->set_post_language($post_id, $_GET['new_lang']); 
     462        elseif (isset($_REQUEST['action']) && in_array($_REQUEST['action'], array('post-quickpress-save', 'post-quickpress-publish'))) 
     463            $this->set_post_language($post_id, $this->get_default_language()); // default language for QuickPress 
    462464        elseif ($this->get_post_language($post_id)) 
    463465            {} // avoids breaking the language if post is updated outside the edit post page (thanks to Gonçalo Peres) 
  • polylang/trunk/include/api.php

    r582366 r609205  
    4949    _e($string, 'pll_string'); 
    5050} 
     51 
     52// compatibility with WPML string translation API 
     53if (!function_exists('icl_register_string') && !function_exists('icl_t')) { 
     54    function icl_register_string($context, $name, $string) { 
     55        return pll_register_string($name, $string); 
     56 
     57    function icl_t($context, $name, $string) { 
     58        return pll__($string); 
     59    } 
     60} 
    5161?> 
  • polylang/trunk/polylang.php

    r608640 r609205  
    33Plugin Name: Polylang 
    44Plugin URI: http://wordpress.org/extend/plugins/polylang/ 
    5 Version: 0.9.2.3 
     5Version: 0.9.2.4 
    66Author: F. Demarle 
    77Description: Adds multilingual capability to Wordpress 
     
    2525*/ 
    2626 
    27 define('POLYLANG_VERSION', '0.9.2.3'); 
     27define('POLYLANG_VERSION', '0.9.2.4'); 
    2828define('PLL_MIN_WP_VERSION', '3.1'); 
    2929 
  • polylang/trunk/readme.txt

    r608640 r609205  
    2222* As a bonus, each user can set the WordPress admin language in its profile 
    2323 
    24 The plugin admin interface is currently available in 16 languages: English, French, German contributed by [Christian Ries](http://www.singbyfoot.lu), Russian contributed by [yoyurec](http://yoyurec.in.ua), Greek contributed by [theodotos](http://www.ubuntucy.org), Dutch contributed by [AlbertGn](http://wordpress.org/support/profile/albertgn), Hebrew contributed by [ArielK](http://www.arielk.net), Polish contributed by [Peter Paciorkiewicz](http://www.paciorkiewicz.pl), Latvian contributed by [@AndyDeGroo](http://twitter.com/AndyDeGroo), Italian contributed by [Luca Barbetti](http://wordpress.org/support/profile/lucabarbetti), Danish contributed by [Compute](http://wordpress.org/support/profile/compute), Spanish contributed by Curro, Portuguese contributed by [Vitor Carvalho](http://vcarvalho.com/), Lithuanian contributed by [Naglis Jonaitis](http://najo.lt/), Turkish contributed by [darchws](http://darch.ws/), Finnish contributed by [Jani Alha](http://www.wysiwyg.fi) 
     24The plugin admin interface is currently available in 17 languages: English, French, German contributed by [Christian Ries](http://www.singbyfoot.lu), Russian contributed by [yoyurec](http://yoyurec.in.ua), Greek contributed by [theodotos](http://www.ubuntucy.org), Dutch contributed by [AlbertGn](http://wordpress.org/support/profile/albertgn), Hebrew contributed by [ArielK](http://www.arielk.net), Polish contributed by [Peter Paciorkiewicz](http://www.paciorkiewicz.pl), Latvian contributed by [@AndyDeGroo](http://twitter.com/AndyDeGroo), Italian contributed by [Luca Barbetti](http://wordpress.org/support/profile/lucabarbetti), Danish contributed by [Compute](http://wordpress.org/support/profile/compute), Spanish contributed by Curro, Portuguese contributed by [Vitor Carvalho](http://vcarvalho.com/), Lithuanian contributed by [Naglis Jonaitis](http://najo.lt/), Turkish contributed by [darchws](http://darch.ws/), Finnish contributed by [Jani Alha](http://www.wysiwyg.fi), Bulgarian contributed by [pavelsof](http://wordpress.org/support/profile/pavelsof) 
    2525 
    2626 
     
    8181= Translate the admin interface = 
    8282 
    83 Polylang is already available in 16 languages. It's very easy to add a new one ! Download [poedit](http://www.poedit.net/download.php) (available for Windows, Mac OS X and Linux). Rename the file polylang.pot found in the polylang/languages directory into something like polylang-your_locale.po. Open the file with poedit and start translating (keeping strange codes such as %s, %1$s as is). Once done, just save and you will get two files polylang-your_locale.po and polylang-your_locale.mo that you can send to the author. The translation will be included with the next release. 
     83Polylang is already available in 17 languages. It's very easy to add a new one ! Download [poedit](http://www.poedit.net/download.php) (available for Windows, Mac OS X and Linux). Rename the file polylang.pot found in the polylang/languages directory into something like polylang-your_locale.po. Open the file with poedit and start translating (keeping strange codes such as %s, %1$s as is). Once done, just save and you will get two files polylang-your_locale.po and polylang-your_locale.mo that you can send to the author. The translation will be included with the next release. 
    8484 
    8585= Communicate = 
     
    9595= 0.9.3 = 
    9696 
     97* Add Bulgarian translation contributed by [pavelsof](http://wordpress.org/support/profile/pavelsof) 
     98* Add compatibility with WPML API for strings translations 
    9799* Bug correction: dates are not translated (introduced in 0.9.2) 
    98100* Bug correction: the language is lost when keeping - No change - for language in bulk edit 
Note: See TracChangeset for help on using the changeset viewer.