en improve

This commit is contained in:
chlbc 2024-08-01 13:42:39 +08:00
parent 373a9363b4
commit be10ec8a15

View File

@ -1,41 +1,41 @@
 
#define ALREADY_INJECTED L"already injected" #define ALREADY_INJECTED L"Already injected"
#define NEED_32_BIT L"architecture mismatch: only x86 can inject this process" #define NEED_32_BIT L"Architecture mismatch: only x86 can inject this process"
#define NEED_64_BIT L"architecture mismatch: only x64 can inject this process" #define NEED_64_BIT L"Architecture mismatch: only x64 can inject this process"
#define INJECT_FAILED L"couldn't inject" #define INJECT_FAILED L"Couldnt inject"
#define INVALID_CODEPAGE L"couldn't convert text (invalid codepage?)" #define INVALID_CODEPAGE L"Couldnt convert text (invalid codepage?)"
#define PIPE_CONNECTED u8"pipe connected" #define PIPE_CONNECTED u8"Pipe connected"
#define INSERTING_HOOK u8"inserting hook: %s %p" #define INSERTING_HOOK u8"Inserting hook: %s %p"
#define REMOVING_HOOK u8"removing hook: %s" #define REMOVING_HOOK u8"Removing hook: %s"
#define TOO_MANY_HOOKS u8"too many hooks: can't insert" #define TOO_MANY_HOOKS u8"Too many hooks: cant insert"
#define HOOK_SEARCH_STARTING u8"starting hook search" #define HOOK_SEARCH_STARTING u8"Starting hook search"
#define HOOK_SEARCH_INITIALIZING u8"initializing hook search (%f%%)" #define HOOK_SEARCH_INITIALIZING u8"Initializing hook search (%f%%)"
#define NOT_ENOUGH_TEXT u8"not enough text to search accurately" #define NOT_ENOUGH_TEXT u8"Not enough text to search accurately"
#define HOOK_SEARCH_INITIALIZED u8"initialized hook search with %zd hooks" #define HOOK_SEARCH_INITIALIZED u8"Initialized hook search with %zd hooks"
#define MAKE_GAME_PROCESS_TEXT u8"please click around in the game to force it to process text during the next %d seconds" #define MAKE_GAME_PROCESS_TEXT u8"Please click around in the game to force it to process text during the next %d seconds"
#define HOOK_SEARCH_FINISHED u8"hook search finished, %d results found" #define HOOK_SEARCH_FINISHED u8"Hook search finished, %d results found"
#define OUT_OF_RECORDS_RETRY u8"out of search records, please retry if results are poor (default record count increased)" #define OUT_OF_RECORDS_RETRY u8"Out of search records, please retry if results are poor (default record count increased)"
#define FUNC_MISSING u8"function not present" #define FUNC_MISSING u8"Function not present"
#define MODULE_MISSING u8"module not present" #define MODULE_MISSING u8"Module not present"
#define GARBAGE_MEMORY u8"memory inline constantly changing, useless to read" #define GARBAGE_MEMORY u8"Memory inline constantly changing, useless to read"
#define SEND_ERROR u8"Send ERROR (likely an unstable/incorrect H-code) in %s" #define SEND_ERROR u8"Send ERROR (likely an unstable/incorrect H-code) in %s"
#define READ_ERROR u8"Reader ERROR (likely an incorrect R-code) in %s" #define READ_ERROR u8"Reader ERROR (likely an incorrect R-code) in %s"
#define SearchForHooks_ERROR u8"SearchForHooks ERROR: out of memory, retrying to allocate %d" #define SearchForHooks_ERROR u8"SearchForHooks ERROR: out of memory, retrying to allocate %d"
#define ResultsNum u8"%d results processed" #define ResultsNum u8"%d results processed"
#define HIJACK_ERROR u8"Hijack ERROR" #define HIJACK_ERROR u8"Hijack ERROR"
#define COULD_NOT_FIND u8"could not find text" #define COULD_NOT_FIND u8"Could not find text"
#define CONSOLE L"Console" #define CONSOLE L"Console"
#define InvalidLength u8"something went very wrong (invalid length %d in %s)" #define InvalidLength u8"Something went very wrong (invalid length %d in %s)"
#define InsertHookFailed u8"failed to insert hook %s" #define InsertHookFailed u8"Failed to insert hook %s"
#define Match_Error u8"ERROR happened when matching engine %s " #define Match_Error u8"ERROR happened when matching engine %s "
#define Attach_Error u8"ERROR happened when attaching engine %s ERROR" #define Attach_Error u8"ERROR happened when attaching engine %s ERROR"
#define MatchedEngine u8"Matched engine %s" #define MatchedEngine u8"Matched engine %s"
#define ConfirmStop "Confirmed engine %s, stop checking" #define ConfirmStop "Confirmed engine %s, stop checking"
#define Attach_Stop "Attach engine %s success and stop" #define Attach_Stop "Attach engine %s success and stop"
#define ProcessRange "hijacking process located from 0x%p to 0x%p" #define ProcessRange "Hijacking process located from 0x%p to 0x%p"
#define WarningDummy "WARNING injected process is very small, possibly a dummy!" #define WarningDummy "WARNING injected process is very small, possibly a dummy!"
#define WndSelectProcess L"SelectProcess" #define WndSelectProcess L"SelectProcess"
#define WndLunaHostGui L"LunaHost Gui" #define WndLunaHostGui L"LunaHost GUI"
#define WndSetting L"Setting" #define WndSetting L"Setting"
#define WndPlugins L"Plugins" #define WndPlugins L"Plugins"
#define NotifyInvalidHookCode L"Invalid HookCode" #define NotifyInvalidHookCode L"Invalid HookCode"
@ -60,7 +60,7 @@
#define MenuCopyHookCode L"CopyHookCode" #define MenuCopyHookCode L"CopyHookCode"
#define MenuRemoveHook L"RemoveHook" #define MenuRemoveHook L"RemoveHook"
#define MenuDetachProcess L"DetachProcess" #define MenuDetachProcess L"DetachProcess"
#define MenuRemeberSelect L"Remeber Hook Selection" #define MenuRemeberSelect L"Remember Hook Selection"
#define MenuForgetSelect L"Forget Hook Selection" #define MenuForgetSelect L"Forget Hook Selection"
#define MenuAddPlugin L"Add Plugin" #define MenuAddPlugin L"Add Plugin"
#define MenuRemovePlugin L"Remove Plugin" #define MenuRemovePlugin L"Remove Plugin"
@ -69,10 +69,10 @@
#define MenuPluginEnable L"Enable" #define MenuPluginEnable L"Enable"
#define MenuPluginVisSetting L"Show Setting" #define MenuPluginVisSetting L"Show Setting"
#define DefaultFont L"Arial" #define DefaultFont L"Arial"
#define CantLoadQtLoader L"Can't Load QtLoader.dll" #define CantLoadQtLoader L"Cant Load QtLoader.dll"
#define InvalidPlugin L"Invalid Plugin!" #define InvalidPlugin L"Invalid Plugin!"
#define InvalidDll L"Invalid Dll!" #define InvalidDll L"Invalid Dll!"
#define InvalidDump L"Dumplicated!" #define InvalidDump L"Duplicated!"
#define MsgError L"Error" #define MsgError L"Error"
#define SEARCH_CJK L"Search for Chinese/Japanese/Korean" #define SEARCH_CJK L"Search for Chinese/Japanese/Korean"
#define HS_SETTINGS L"Settings" #define HS_SETTINGS L"Settings"
@ -92,10 +92,10 @@
#define HS_SEARCH_FOR_TEXT L"Search for specific text" #define HS_SEARCH_FOR_TEXT L"Search for specific text"
#define VersionLatest L"Latest version" #define VersionLatest L"Latest version"
#define VersionCurrent L"Current version" #define VersionCurrent L"Current version"
#define ProjectHomePage L"Github: https://github.com/HIllya51/LunaHook\nHomepage: https://lunatranslator.xyz\npatreon: https://patreon.com/HIllya51\nDiscord: https://discord.gg/ucAcF8hG\n\nThis program is a core submodule of LunaTranslator and is fully integrated in Lunatranslator. This program contains only some simple functions, if you need more functions, please use LunaTranslator.\nIf you find unsupported games, please submit an issue\nhttps://github.com/HIllya51/LunaHook/issues" #define ProjectHomePage L"GitHub: https://github.com/HIllya51/LunaHook\nHomepage: https://lunatranslator.xyz\nPatreon: https://patreon.com/HIllya51\nDiscord: https://discord.gg/ucAcF8hG\n\nThis program is a core submodule of LunaTranslator and is fully integrated in LunaTranslator. This program contains only some simple functions, if you need more functions, please use LunaTranslator.\nIf you find unsupported games, please submit an issue\nhttps://github.com/HIllya51/LunaHook/issues"
#define LIST_HOOK L"Hook" #define LIST_HOOK L"Hook"
#define LIST_TEXT L"Text" #define LIST_TEXT L"Text"
#define PROC_CONN L"process connected %d" #define PROC_CONN L"Process connected %d"
#define PROC_DISCONN L"process disconnected %d" #define PROC_DISCONN L"Process disconnected %d"
#define COPYSELECTION L"auto send selected text in textbox to clipboard" #define COPYSELECTION L"Auto send selected text in textbox to clipboard"
#define FONTSELECT L"Select Font" #define FONTSELECT L"Select Font"