Changeset 359


Ignore:
Timestamp:
01/15/2010 02:59:05 AM (2 years ago)
Author:
ofer
Message:

Change <%VERSION%> to just %VERSION% to avoid strange stuff in debug modes in IE6

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

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/build.sh

    r350 r359  
    5757  echo "Adding .php files (without logging)" 
    5858  for file in `find . -maxdepth 4 -iname '*.php'`; do  
    59     sed "s/logger.*;//;s/require_once.*(\"core.logging.*//;s/require_once.*(\'logging.*//;s/require_once.*(\"logging.*//;s/<%VERSION%>/$VERSION/;" $file > $TRANSPOSH_DIR/$file 
     59    sed "s/logger.*;//;s/require_once.*(\"core.logging.*//;s/require_once.*(\'logging.*//;s/require_once.*(\"logging.*//;s/%VERSION%/$VERSION/;" $file > $TRANSPOSH_DIR/$file 
    6060    echo "added $file" 
    6161  done; 
     
    7272#fixing version in readme.txt 
    7373# 
    74 sed "s/<%VERSION%>/$VERSION/;" readme.txt > $TRANSPOSH_DIR/readme.txt 
     74sed "s/%VERSION%/$VERSION/;" readme.txt > $TRANSPOSH_DIR/readme.txt 
    7575echo "fixing version in readme.txt to $VERSION" 
    7676 
  • trunk/WordPress/plugin/transposh/core/constants.php

    r346 r359  
    9797define("TRANSLATOR", 'translator'); 
    9898 
    99 define("TRANSPOSH_PLUGIN_VER",'<%VERSION%>'); 
     99define("TRANSPOSH_PLUGIN_VER",'%VERSION%'); 
    100100 
    101101//Define segment id prefix, will be included in span tag. also used as class identifier 
  • trunk/WordPress/plugin/transposh/readme.txt

    r356 r359  
    55Requires at least: 2.7 
    66Tested up to: 2.9.1 
    7 Stable tag: <%VERSION%> 
     7Stable tag: %VERSION% 
    88 
    99Transposh filter allows in context quick translation of websites, it allows you to crowd-source the translation to your users 
  • trunk/WordPress/plugin/transposh/transposh.php

    r355 r359  
    55        Description: Translation filter for WordPress, After enabling please set languages at the <a href="options-general.php?page=transposh">the options page</a> Want to help? visit our development site at <a href="http://trac.transposh.org/">trac.transposh.org</a>. 
    66        Author: Team Transposh 
    7         Version: <%VERSION%> 
     7        Version: %VERSION% 
    88        Author URI: http://transposh.org/ 
    99        License: GPL (http://www.gnu.org/licenses/gpl.txt) 
     
    128128     */ 
    129129    function is_special_page($url) { 
    130         return (stripos($url,'/wp-login.php') !== FALSE || 
     130        return ( stripos($url,'/wp-login.php') !== FALSE || 
    131131                        stripos($url,'/wp-admin/') !== FALSE || 
    132132                        stripos($url,'/xmlrpc.php') !== FALSE); 
Note: See TracChangeset for help on using the changeset viewer.