Added user defined multilingual strings. Define using LangString [un.]name lang_id string, use with $(name). Can't be used inside other strings.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1214 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-09-29 20:25:15 +00:00
parent 9adf8df382
commit bb60e32aaa
14 changed files with 325 additions and 255 deletions

View file

@ -15,6 +15,7 @@
// uninstall_header (~116 bytes)
// entries (24 bytes each)
// string table
// language tables
// datablock
// (hdrinfo+datablock is at least 512 bytes if CRC enabled)
// CRC (optional - 4 bytes)
@ -273,16 +274,13 @@ typedef struct
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;
} common_strings;
// Settings common to both installers and uninstallers
typedef struct
{
int str_tables_num; // number of strings tables in array
int language_table_size; // size of each language table
int num_entries; // total number of entries
int num_string_bytes; // total number of bytes taken by strings
@ -311,12 +309,6 @@ typedef struct
#endif//NSIS_CONFIG_SILENT_SUPPORT
// additional flags
char misc_flags; // auto_close=&1, no_show_dirpage=&2, no_show_icon&4, no_rootdir&8;
// Added by Amir Szekely 6th August 2002
// Adds the ability to make the inner text show up in a dialog item in the outer dialog.
/* Useless
WORD intro_text_id;*/
} common_header;
// Strings specific to installers
@ -388,18 +380,6 @@ typedef struct
int code_onSelChange;
#endif//NSIS_CONFIG_COMPONENTPAGE
#endif//NSIS_SUPPORT_CODECALLBACKS
// Added by Amir Szekely 6th August 2002
// Adds the ability to make the inner text show up in a dialog item in the outer dialog.
/*
Useless
WORD space_avail_id;
WORD space_req_id;
WORD dir_subtext_id;
WORD com_subtext1_id;
WORD com_subtext2_id;*/
} header;
// Strings specific to uninstallers
@ -419,12 +399,6 @@ typedef struct
int code;
int code_size;
// Added by Amir Szekely 6th August 2002
// Adds the ability to make the inner text show up in a dialog item in the outer dialog.
/* Useless
WORD uninst_subtext_id;*/
} uninstall_header;
typedef struct