1
Translations And Language Packs / Translation of LangPack_fr_5.9.5_Build2805_BETA
« on: February 23, 2016, 21:17:37 »
Attached is the last translation of the MC_LangPack_fr_5.9.5_Build2805_BETA.
MultiCommander v14.1 is released!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
// 191.236.128.229 = live.sysinternals.com
// Return Only wants "num"
@var $ProcExpOnlineVersion, $ProcExpLocalVersion;
@var $ProcExpOnlinePath, $ProcExpLocalPath;
@var $ExecutableName = "procexp.exe";
@var $ExeRegName = "Process Explorer";
@var $l, $o;
function GetOnlineVersion($ExecutableName)
{
@var $Result
$ProcExpOnlinePath = '\\191.236.128.229\Tools' ^ $ExecutableName;
$ProcExpOnlineVersion = GetFileProp($ProcExpOnlinePath , "ExtendedProp.prodVersion");
$Result= StrReplace($ProcExpOnlineVersion , "." , "" );
return $Result;
}
function GetLocalVersion($ExeRegName)
{
@var $Result
@var $exists = RegKeyExists("HKCU","Software\\Sysinternals\\" + $ExeRegName );
if( $exists == 1 )
{
$ProcExpLocalPath = RegValueGetSZ("HKCU","Software\\Sysinternals\\" + $ExeRegName, "OriginalPath");
$ProcExpLocalVersion= GetFileProp($ProcExpLocalPath , "ExtendedProp.prodVersion");
$Result= StrReplace($ProcExpLocalVersion, "." , "" );
return $Result;
}
else
{
$ProcExpLocalPath = "C:\\Temp" ^ $ExecutableName;
return 0;
}
}
function CopySysTool()
{
CopyFile( $ProcExpLocalPath , $ProcExpOnlinePath , "NODIALOG, OVERWRITE_ALL");
}
$o = GetOnlineVersion($ExecutableName);
$l = GetLocalVersion($ExeRegName);
if( StrCompareNoCase($l , "0" ) == 0 )
{
CopySysTool();
}
else
{
if($o > $l)
{
CopySysTool();
}
}