Changeset 105
- Timestamp:
- 03/26/2009 04:15:19 PM (3 years ago)
- Location:
- trunk/WordPress/plugin/transposh
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
transposh_widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/readme.txt
r97 r105 71 71 harnessed to get your message out to more people. Future versions will give more focus on preventing spammers from defacing sites 72 72 73 = I have installed the plugin - automatic translation is on but nothing happens = 74 75 The current implementation of automatic translation only works for people that have a privilege for translation, if you have 76 enabled it for everyone (allowed anonymous translation) it will always work, Do remember that the results of translations 77 that were made in a higher privilege level will be shown to lower priviledge levels. 78 79 This comes from our view that auto-translation serves as a helper for real translation, at the future we might change this 80 behavior 81 73 82 == Screenshots == 74 83 … … 81 90 == Release notes == 82 91 92 * 2009/03/26 - 0.1.2 93 * Made sure our code passes w3c validation 94 * Added missing flags for two languages 83 95 * 2009/03/24 - 0.1.1 84 * Fixed compat ability issues with other scripts (thanks [Eike](http://spotterblog.de/))96 * Fixed compatibility issues with other scripts (thanks [Eike](http://spotterblog.de/)) 85 97 * Fixed minor issues with encoding some strings 86 98 * Verify UTF charset and collation upon database creation 87 * Some CSS improv ments99 * Some CSS improvements 88 100 * 2009/03/22 - 0.1.0 89 101 * Enabled automatic translation for site readers -
trunk/WordPress/plugin/transposh/transposh_widget.php
r103 r105 114 114 //Only show languages which are viewable or (editable and the user is a translator) 115 115 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) 117 118 { 118 119 $page_url2 = rewrite_url_lang_param($page_url, $code, $is_edit); 120 if (get_option(DEFAULT_LANG) == $code) { 121 $page_url2 = $page_url; 122 } 119 123 120 124 echo "<a href=\"" . $page_url2 . "\">". … … 143 147 //Only show languages which are viewable or (editable and the user is a translator) 144 148 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) 146 151 { 147 152 $is_selected = ($lang == $code ? "selected=\"selected\"" : "" );
Note: See TracChangeset
for help on using the changeset viewer.
