From 7e8b07d7a57c7a72bcc84cf522577cdf0a07a27d Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 2 Sep 2002 10:15:48 +0000 Subject: [PATCH] Copy details to clipboard added into NLF git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@857 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 2 +- Source/exehead/fileform.h | 1 + Source/exehead/lang.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 121ca1f2..912f1f23 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -1414,7 +1414,7 @@ static BOOL CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa { DWORD pos = GetMessagePos(); HMENU menu = CreatePopupMenu(); - AppendMenu(menu,MF_STRING,1,"Copy Details To Clipboard"); + AppendMenu(menu,MF_STRING,1,GetStringFromStringTab(GetLangString(LANGID_COPYDEATAILS))); if (1==TrackPopupMenu( menu, TPM_NONOTIFY|TPM_RETURNCMD, diff --git a/Source/exehead/fileform.h b/Source/exehead/fileform.h index 2e6e43aa..0772137a 100644 --- a/Source/exehead/fileform.h +++ b/Source/exehead/fileform.h @@ -220,6 +220,7 @@ typedef struct int inst_corrupted; int output_dir; int create_dir; + int copy_details; // Note - should be at the end (everything before here should be just ints) WORD lang_id; diff --git a/Source/exehead/lang.h b/Source/exehead/lang.h index 66c3863d..52706fb1 100644 --- a/Source/exehead/lang.h +++ b/Source/exehead/lang.h @@ -161,5 +161,7 @@ typedef void *langid_t; // Just so compiler can warn if an ID is given to a #define LANGID_CREATEDUNINST (COMMON_ID(created_uninst)) #define LANG_INSTCORRUPTED (COMMON_STR(inst_corrupted)) #define LANGID_INSTCORRUPTED (COMMON_ID(inst_corrupted)) +#define LANG_COPYDEATAILS (COMMON_STR(copy_details)) +#define LANGID_COPYDEATAILS (COMMON_ID(copy_details)) #endif//_NSIS_LANG_H_