Changeset 605


Ignore:
Timestamp:
01/28/2011 12:10:10 AM (16 months ago)
Author:
ofer
Message:

fix for regression causing the on post not to trigger translation in some cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/core/parser.php

    r604 r605  
    104104    /** @var boolean Contains the fact that this language is the default one (only parse other lanaguage spans) */ 
    105105    public $default_lang = false; 
    106     /** @var string Contains the iso of the source language - if a lang attribute is found */ 
    107     public $srclang; 
     106    /** @var string Contains the iso of the source language - if a lang attribute is found, assumed to be en by default */ 
     107    public $srclang = 'en'; 
    108108    private $inbody = false; 
    109109    /** @var hold fact that we are in select or other similar elements */ 
Note: See TracChangeset for help on using the changeset viewer.