mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Changed: Only display filename because path can be too long for UI
--HG-- branch : develop
This commit is contained in:
parent
dc95c97a2f
commit
3e02d29050
1 changed files with 2 additions and 2 deletions
|
@ -1793,7 +1793,7 @@ void CPatchManager::MyPatchingCB::progress(float f)
|
|||
{
|
||||
CPatchManager *pPM = CPatchManager::getInstance();
|
||||
double p = 100.0*f;
|
||||
ucstring sTranslate = CI18N::get("uiApplyingDelta") + toString(" %s (%5.02f %%)", patchFilename.c_str(), p);
|
||||
ucstring sTranslate = CI18N::get("uiApplyingDelta") + toString(" %s (%5.02f %%)", CFile::getFilename(patchFilename).c_str(), p);
|
||||
pPM->setState(false, sTranslate);
|
||||
}
|
||||
|
||||
|
@ -2711,7 +2711,7 @@ void CPatchThread::processFile (CPatchManager::SFileToPatch &rFTP)
|
|||
|
||||
string OutFilename = pPM->ClientPatchPath + rFTP.FileName + ".tmp__" + toString(j);
|
||||
|
||||
sTranslate = CI18N::get("uiApplyingDelta") + " " + PatchName;
|
||||
sTranslate = CI18N::get("uiApplyingDelta") + " " + CFile::getFilename(PatchName);
|
||||
pPM->setState(true, sTranslate);
|
||||
|
||||
xDeltaPatch(PatchName, SourceNameXD, OutFilename);
|
||||
|
|
Loading…
Reference in a new issue