Changeset 105


Ignore:
Timestamp:
03/26/2009 04:15:19 PM (3 years ago)
Author:
ofer
Message:

Getting ready for 0.1.2

Location:
trunk/WordPress/plugin/transposh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/readme.txt

    r97 r105  
    7171harnessed to get your message out to more people. Future versions will give more focus on preventing spammers from defacing sites 
    7272 
     73= I have installed the plugin - automatic translation is on but nothing happens = 
     74 
     75The current implementation of automatic translation only works for people that have a privilege for translation, if you have 
     76enabled it for everyone (allowed anonymous translation) it will always work, Do remember that the results of translations 
     77that were made in a higher privilege level will be shown to lower priviledge levels. 
     78 
     79This comes from our view that auto-translation serves as a helper for real translation, at the future we might change this 
     80behavior  
     81 
    7382== Screenshots == 
    7483 
     
    8190== Release notes == 
    8291 
     92* 2009/03/26 - 0.1.2 
     93 * Made sure our code passes w3c validation 
     94 * Added missing flags for two languages 
    8395* 2009/03/24 - 0.1.1 
    84  * Fixed compatability issues with other scripts (thanks [Eike](http://spotterblog.de/)) 
     96 * Fixed compatibility issues with other scripts (thanks [Eike](http://spotterblog.de/)) 
    8597 * Fixed minor issues with encoding some strings 
    8698 * Verify UTF charset and collation upon database creation 
    87  * Some CSS improvments 
     99 * Some CSS improvements 
    88100* 2009/03/22 - 0.1.0 
    89101 * Enabled automatic translation for site readers 
  • trunk/WordPress/plugin/transposh/transposh_widget.php

    r103 r105  
    114114                                //Only show languages which are viewable or (editable and the user is a translator) 
    115115                                if(strstr($viewable_langs, $code) || 
    116                                    ($is_translator && strstr($editable_langs, $code))) 
     116                                   ($is_translator && strstr($editable_langs, $code)) || 
     117                                   get_option(DEFAULT_LANG) == $code) 
    117118                                { 
    118119                                $page_url2 = rewrite_url_lang_param($page_url, $code, $is_edit); 
     120                                if (get_option(DEFAULT_LANG) == $code) { 
     121                                        $page_url2 = $page_url; 
     122                                } 
    119123 
    120124                                        echo "<a href=\"" . $page_url2 . "\">". 
     
    143147                //Only show languages which are viewable or (editable and the user is a translator) 
    144148                                if(strstr($viewable_langs, $code) || 
    145                                    ($is_translator && strstr($editable_langs, $code))) 
     149                                   ($is_translator && strstr($editable_langs, $code)) || 
     150                                   get_option(DEFAULT_LANG) == $code) 
    146151                                { 
    147152                                        $is_selected = ($lang == $code ? "selected=\"selected\"" : "" ); 
Note: See TracChangeset for help on using the changeset viewer.