1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-28 11:55:08 +03:00

[SEV-0013] Change global const for words VPN and SoftEther and others. (#14)

* Change language files.

* Replace the most of word related to VPN.

* Disable About and change operation mode menu.

* Remove buttons and fix text position.

* Add PenCore solution to edit resources.
This commit is contained in:
mskorokhod 2022-06-05 16:14:43 +03:00 committed by GitHub
parent e7b1770099
commit 4809047501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 7811 additions and 7660 deletions

View File

@ -4581,13 +4581,13 @@ void CmShowTrayMenu(HWND hWnd)
} }
// Version information // Version information
MsAppendMenu(h, MF_ENABLED | MF_STRING, CMD_ABOUT, _UU("CM_TRAY_MENU_ABOUT")); //MsAppendMenu(h, MF_ENABLED | MF_STRING, CMD_ABOUT, _UU("CM_TRAY_MENU_ABOUT"));
// Separator // Separator
MsAppendMenu(h, MF_SEPARATOR, 10001, NULL); MsAppendMenu(h, MF_SEPARATOR, 10001, NULL);
// Change the operating mode // Change the operating mode
MsAppendMenu(h, MF_ENABLED | MF_STRING, CMD_CM_SETTING, _UU("CM_TRAY_MENU_SETTING")); //MsAppendMenu(h, MF_ENABLED | MF_STRING, CMD_CM_SETTING, _UU("CM_TRAY_MENU_SETTING"));
// Separator // Separator
MsAppendMenu(h, MF_SEPARATOR, 10001, NULL); MsAppendMenu(h, MF_SEPARATOR, 10001, NULL);

View File

@ -13,20 +13,20 @@
//// Basic Variables //// Basic Variables
#define CEDAR_PRODUCT_STR "SoftEther" #define CEDAR_PRODUCT_STR "Unite Gaming"
#define CEDAR_PRODUCT_STR_W L"SoftEther" #define CEDAR_PRODUCT_STR_W L"Unite Gaming"
#define CEDAR_SERVER_STR "SoftEther VPN Server Developer Edition" #define CEDAR_SERVER_STR "Unite Gaming Game Server"
#define CEDAR_BRIDGE_STR "SoftEther VPN Bridge Developer Edition" #define CEDAR_BRIDGE_STR "Unite Gaming Game Bridge"
#define CEDAR_BETA_SERVER "SoftEther VPN Server Pre Release Developer Edition" #define CEDAR_BETA_SERVER "Unite Gaming Game Server"
#define CEDAR_MANAGER_STR "SoftEther VPN Server Manager Developer Edition" #define CEDAR_MANAGER_STR "Unite Gaming Game Server Manager"
#define CEDAR_CUI_STR "SoftEther VPN Command-Line Admin Tool" #define CEDAR_CUI_STR "Unite Gaming Game Command-Line Admin Tool"
#define CEDAR_ELOG "SoftEther EtherLogger Developer Edition" #define CEDAR_ELOG "Unite Gaming EtherLogger"
#define CEDAR_CLIENT_STR "SoftEther VPN Client Developer Edition" #define CEDAR_CLIENT_STR "Unite Gaming Game Client Developer Edition"
#define CEDAR_CLIENT_MANAGER_STR "SoftEther VPN Client Connection Manager Developer Edition" #define CEDAR_CLIENT_MANAGER_STR "Unite Gaming Game Client Connection Manager Developer Edition"
#define CEDAR_ROUTER_STR "SoftEther VPN User-mode Router Developer Edition" #define CEDAR_ROUTER_STR "Unite Gaming Game User-mode Router"
#define CEDAR_SERVER_LINK_STR "SoftEther VPN Server Developer Edition (Cascade Mode)" #define CEDAR_SERVER_LINK_STR "Unite Gaming Game Server (Cascade Mode)"
#define CEDAR_BRIDGE_LINK_STR "SoftEther VPN Bridge Developer Edition (Cascade Mode)" #define CEDAR_BRIDGE_LINK_STR "Unite Gaming Game Bridge (Cascade Mode)"
#define CEDAR_SERVER_FARM_STR "SoftEther VPN Server Developer Edition (Cluster RPC Mode)" #define CEDAR_SERVER_FARM_STR "Unite Gaming Game Server (Cluster RPC Mode)"
@ -47,21 +47,21 @@
//// Registry //// Registry
#define GC_REG_COMPANY_NAME "SoftEther VPN Developer Edition" #define GC_REG_COMPANY_NAME "Unite Gaming Game"
//// Setup Wizard //// Setup Wizard
#define GC_SW_UIHELPER_REGVALUE "SoftEther VPN Client UI Helper Developer Edition" #define GC_SW_UIHELPER_REGVALUE "Unite Gaming Game Client UI Helper Developer Edition"
#define GC_SW_SOFTETHER_PREFIX "sedev" #define GC_SW_SOFTETHER_PREFIX "ug"
#define GC_SW_SOFTETHER_PREFIX_W L"sedev" #define GC_SW_SOFTETHER_PREFIX_W L"ug"
//// VPN UI Components //// VPN UI Components
#define GC_UI_APPID_CM L"SoftEther.SoftEther VPN Client Developer Edition" #define GC_UI_APPID_CM L"UniteGaming.Unite Gaming Game Client"
#endif // GLOBAL_CONST_H #endif // GLOBAL_CONST_H

BIN
src/PenCore/PenCore.aps Normal file

Binary file not shown.

View File

@ -3725,13 +3725,11 @@ CAPTION "@D_CM_EASY"
FONT 9, "MS Shell Dlg", 400, 0, 0x80 FONT 9, "MS Shell Dlg", 400, 0, 0x80
BEGIN BEGIN
CONTROL ICO_TRAY1,IDC_STATIC,"Static",SS_BITMAP,0,0,308,46 CONTROL ICO_TRAY1,IDC_STATIC,"Static",SS_BITMAP,0,0,308,46
LTEXT "@S_TITLE",S_TITLE,32,52,267,17 LTEXT "@S_TITLE",S_TITLE,12,52,267,17
ICON ICO_VPN,IDC_STATIC,7,51,20,18
CONTROL "",L_ACCOUNT,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_AUTOARRANGE | LVS_EDITLABELS | LVS_NOCOLUMNHEADER | WS_BORDER | WS_TABSTOP,7,88,293,82 CONTROL "",L_ACCOUNT,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_AUTOARRANGE | LVS_EDITLABELS | LVS_NOCOLUMNHEADER | WS_BORDER | WS_TABSTOP,7,88,293,82
PUSHBUTTON "--BUTTON--",IDOK,92,173,123,21 PUSHBUTTON "--BUTTON--",IDOK,92,173,123,21
LTEXT "--INFO--",S_INFO,12,72,288,14 LTEXT "--INFO--",S_INFO,12,72,288,14
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,198,294,1 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,198,294,1
PUSHBUTTON "@B_MODE",B_MODE,7,203,84,16
PUSHBUTTON "@IDCANCEL",IDCANCEL,247,203,53,16 PUSHBUTTON "@IDCANCEL",IDCANCEL,247,203,53,16
PUSHBUTTON "@B_STATUS",B_STATUS,216,176,84,16 PUSHBUTTON "@B_STATUS",B_STATUS,216,176,84,16
PUSHBUTTON "@B_VGC",B_VGC,112,203,84,16 PUSHBUTTON "@B_VGC",B_VGC,112,203,84,16

View File

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32526.322
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PenCoreRes", "PenCoreRes.vcxproj", "{598EA8A5-2E5D-4AFF-9F84-DB3513351272}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Debug|x64.ActiveCfg = Debug|x64
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Debug|x64.Build.0 = Debug|x64
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Debug|x86.ActiveCfg = Debug|Win32
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Debug|x86.Build.0 = Debug|Win32
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Release|x64.ActiveCfg = Release|x64
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Release|x64.Build.0 = Release|x64
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Release|x86.ActiveCfg = Release|Win32
{598EA8A5-2E5D-4AFF-9F84-DB3513351272}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {698B39C3-1B06-42A3-A365-FEA4FC5DBFCF}
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>17.0</VCProjectVersion>
<ProjectGuid>{598EA8A5-2E5D-4AFF-9F84-DB3513351272}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="out\build\x64-debug\cmakefiles\3.22.22040401-msvc_2\compileridcxx\CMakeCXXCompilerId.cpp" />
<ClCompile Include="out\build\x64-debug\cmakefiles\3.22.22040401-msvc_2\compileridc\CMakeCCompilerId.c" />
<ClCompile Include="out\build\x64-debug\cmakefiles\showincludes\main.c" />
<ClCompile Include="PenCore.c" />
</ItemGroup>
<ItemGroup>
<None Include="Dummy.bin" />
<None Include="out\build\x64-debug\cmakefiles\3.22.22040401-msvc_2\CMakeDetermineCompilerABI_C.bin" />
<None Include="out\build\x64-debug\cmakefiles\3.22.22040401-msvc_2\CMakeDetermineCompilerABI_CXX.bin" />
<None Include="PenCore.def" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="out\build\x64-debug\cmakefiles\showincludes\foo.h" />
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="PenCore.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff