Changeset 656 for trunk/Modules/Translation
- Timestamp:
- Dec 16, 2013, 2:14:02 PM (11 years ago)
- Location:
- trunk/Modules/Translation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/Save.php
r584 r656 112 112 $Columns = '`Entry`, `VersionStart`, `VersionEnd`, `Language`, `User`, `Take`, `ModifyTime`'; 113 113 $Values = $EnglishFound['Entry'].', '.$EnglishFound['VersionStart'].', '. 114 $EnglishFound['VersionEnd'].', '.$Language.', '.$this->System->User->Id.', '.$ SourceText['ID'].', NOW()';114 $EnglishFound['VersionEnd'].', '.$Language.', '.$this->System->User->Id.', '.$EnglishFound['ID'].', NOW()'; 115 115 116 116 $CompleteParts = 0; -
trunk/Modules/Translation/TranslationList.php
r636 r656 38 38 else $Selected = ''; 39 39 $Output .= '<option value="4"'.$Selected.'>Anglické</option>'; 40 if($Filter['State'] == 5) $Selected = ' selected="selected"'; 41 else $Selected = ''; 42 $Output .= '<option value="5"'.$Selected.'>Rozpracované-Nepřeložené</option>'; 40 43 $Output .= '</select></td>'; 41 44 … … 162 165 ') AND (`T`.`Complete` = 0)'; 163 166 else if($Filter['State'] == 4) $Filter['SQL'] .= $VersionFilter.' AND (`T`.`Language` = '.$this->System->Config['OriginalLanguage'].')'; 167 else if($Filter['State'] == 5) $Filter['SQL'] .= $UserFilter.$VersionFilter.' AND (`T`.`Language` != '.$this->System->Config['OriginalLanguage']. 168 ') AND (`T`.`Complete` = 0)'. 169 'AND NOT EXISTS(SELECT 1 FROM `'.$Table.'` AS `Sub` WHERE '. 170 '(`Sub`.`Language` <> '.$this->System->Config['OriginalLanguage'].')'.$LanguageFilter. 171 ' AND (`Sub`.`Entry` = `T`.`Entry`) AND (`Sub`.`Complete` = 1) AND '. 172 '(`Sub`.`VersionStart` = `T`.`VersionStart`) AND (`Sub`.`VersionEnd` = `T`.`VersionEnd`))'; 164 173 } 165 174
Note:
See TracChangeset
for help on using the changeset viewer.