OSDN Git Service

Fix issue #940: Replace slow (2)
[winmerge-jp/winmerge-jp.git] / Src / Constants.h
index 267972a..a2bebc1 100644 (file)
@@ -6,29 +6,31 @@
  */
 #pragma once
 
+#include "UnicodeString.h"
+
 /** @brief URL for hyperlink in About-dialog. */
-const TCHAR WinMergeURL[] = _T("http://winmerge.org/");
+const TCHAR WinMergeURL[] = _T("https://winmerge.org/");
 
 /**
  * @brief URL to help index in internet.
  * We use internet help when local help file is not found (not installed).
  */
-const TCHAR DocsURL[] = _T("http://manual.winmerge.org/index.html");
+const TCHAR DocsURL[] = _T("https://manual.winmerge.org/index.html");
 
 /** @brief URL to translations page in internet. */
-const TCHAR TranslationsUrl[] = _T("http://winmerge.org/translations/");
+const TCHAR TranslationsUrl[] = _T("https://winmerge.org/translations/");
 
 /** @brief URL of the GPL license. */
 const TCHAR LicenceUrl[] = _T("http://www.gnu.org/licenses/gpl-2.0.html");
 
 /** @brief Relative (to WinMerge executable ) path to local help file. */
-const TCHAR DocsPath[] = _T("Docs/WinMerge.chm");
+const TCHAR DocsPath[] = _T("Docs/WinMerge%s.chm");
 
 /** @brief Contributors list. */
 const TCHAR ContributorsPath[] = _T("contributors.txt");
 
 /** @brief Release notes in HTML format. */
-const TCHAR RelNotes[] = _T("\\Docs\\ReleaseNotes.html");
+const TCHAR RelNotes[] = _T("\\Docs\\ReleaseNotes%s.html");
 
 /** @brief GPL Licence local file name. */
 const TCHAR LicenseFile[] = _T("Copying");
@@ -43,11 +45,6 @@ const TCHAR WinMergeDocumentsFolder[] = _T("WinMerge");
  */
 const TCHAR DefaultRelativeFilterPath[] = _T("WinMerge/Filters");
 
-/** @brief Executable Filename for ANSI build. */
-const TCHAR ExecutableFilename[] = _T("WinMerge.exe");
-/** @brief Executable Filename for Unicode build. */
-const TCHAR ExecutableFilenameU[] = _T("WinMergeU.exe");
-
 /** @brief Temp folder name prefix for WinMerge temp folders. */
 const TCHAR TempFolderPrefix[] = _T("WinMerge_TEMP_");