Changeset 119865 in spip-zone
- Timestamp:
- Jan 20, 2020, 1:53:10 PM (13 months ago)
- Location:
- _plugins_/trad-lang/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/trad-lang/trunk
- Property subgit:lock:b4f7b430c76eca0422f42a172281242d1de92c81 deleted
-
Property
subgit:lock:056bb918d1d80216dcf3142e45cab3196d6c1116
set to
2020-01-20T15:00:35.498
-
_plugins_/trad-lang/trunk/salvatore/ecriveur.php
r119864 r119865 441 441 return $salvatore_status_file($dir_depots . $source['dir_checkout'], $files_list); 442 442 } 443 444 /*445 if ($row_module['limite_trad']==0){446 foreach ($liste_lang as $lang){447 passthru('svn add ' . _DIR_SALVATORE_TMP . $module . '/' . $module . "_$lang.php* 2> /dev/null") ? salvatore_log("$log\n") : '';448 }449 } elseif (!in_array($module, array('ecrire', 'spip', 'public'))) {450 salvatore_log('Limite trad = ' . $seuil_export);451 foreach ($liste_lang as $lang){452 if ((intval(($xml_infos[$lang]['traduits']/$count_trad_reference)*100)>$seuil_export)453 and (substr(exec('svn status ' . _DIR_SALVATORE_TMP . $module . '/' . $module . "_$lang.php"), 0, 1)=='?')){454 passthru('svn add ' . _DIR_SALVATORE_TMP . $module . '/' . $module . "_$lang.php* 2> /dev/null") ? salvatore_log("$log\n") : '';455 }456 }457 }458 */459 460 /*461 462 if (substr(exec('svn status ' . _DIR_SALVATORE_TMP . $module . '/' . $module . '_' . $lang . '.php'), 0, 1)=='?'){463 if ($row_module['limite_trad']==0){464 passthru('svn add ' . _DIR_SALVATORE_TMP . $module . '/' . $module . "_$lang.php 2> /dev/null") ? salvatore_log("$log\n") : '';465 } elseif (!in_array($module, array('ecrire', 'spip', 'public'))) {466 if ((intval(($xml_infos[$lang]['traduits']/$count_trad_reference)*100)>$seuil_export)){467 passthru('svn add ' . _DIR_SALVATORE_TMP . $module . '/' . $module . "_$lang.php* 2> /dev/null") ? salvatore_log("$log\n") : '';468 }469 }470 }471 472 473 */
Note: See TracChangeset
for help on using the changeset viewer.