1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: reorganize localized documentation, each in a dedicated folder. Adapt installers and documentation URL logic.

Now we have 3 folders under html directory:en, ru, zh-cn. Similar separation exist in online version:
https://veracrypt.fr/en
https://veracrypt.fr/ru
https://veracrypt.fr/zh-cn
This commit is contained in:
Mounir IDRASSI
2025-04-27 23:33:08 +09:00
parent 7c13d21d96
commit 07b53541e0
446 changed files with 1282 additions and 14438 deletions

View File

@@ -2634,6 +2634,14 @@ EXTERN_C UINT STDAPICALLTYPE VC_CustomAction_PostInstall(MSIHANDLE hInstaller)
FindClose (h);
}
// remove legacy folder "docs\en\ru" if present in installation directory
{
wchar_t folder[TC_MAX_PATH];
// since we've done SetCurrentDirectory(szDestDir), a relative path will be resolved correctly
StringCbCopyW(folder, sizeof(folder), L"docs\\html\\en\\ru");
StatRemoveDirectory(folder);
}
// remove language XML files from previous version if any
h = FindFirstFile (L"Language*.xml", &f);