- More strings translatable (K/M/G Byte, registering, unregistering)

- Language specific fonts
- $\t now works too
- More to do


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2475 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-04-21 13:32:34 +00:00
parent 526ecc097b
commit cf01b06e62
43 changed files with 498 additions and 106 deletions

View file

@ -154,13 +154,15 @@ class CEXEBuild {
int GetUserString(char *name);
int SetUserString(char *name, LANGID lang, char *string, int process=1);
int WriteStringTables();
void FillDefaultsIfNeeded(StringTable *table, NLF *nlf=0);
void FillStringTable(StringTable *table, NLF *nlf=0);
#define IsNotSet(s) _IsNotSet(string_tables.size()?&(string_tables[0]->s):0)
bool _IsNotSet(int *str); // Checks if a string is not set in all of the string tables
#define IsSet(s,lang) _IsSet(string_tables.size()?&(string_tables[0]->s):0,lang)
bool _IsSet(int *str, LANGID lang); // Checks if a string is set in a given string table
bool next_used, install_used, comppage_used, license_force_radio_used;
unsigned int uDefCodePage;
bool next_used, install_used, comppage_used, license_force_radio_used, register_used, unregister_used;
// a whole bunch O data.
@ -205,21 +207,21 @@ class CEXEBuild {
db_comp_save_u, db_full_size_u;
int build_sections_req,build_sections_div;
StringList include_dirs;
FastStringList include_dirs;
StringList ns_func; // function namespace
StringList ns_label; // label namespace
int build_cursection_isfunc;
section *build_cursection;
GrowBuf build_sections;
TinyGrowBuf build_sections;
GrowBuf build_entries,ubuild_entries, *cur_entries;
GrowBuf build_functions, ubuild_functions, *cur_functions;
GrowBuf build_labels, ubuild_labels, *cur_labels;
TinyGrowBuf build_functions, ubuild_functions, *cur_functions;
TinyGrowBuf build_labels, ubuild_labels, *cur_labels;
StringList build_strlist, ubuild_strlist;
GrowBuf build_langtables, ubuild_langtables;
LangStringList build_userlangstrings, ubuild_userlangstrings;
GrowBuf build_pages, ubuild_pages;
TinyGrowBuf build_pages, ubuild_pages;
char build_last_page_define[1024], ubuild_last_page_define[1024];
int build_custom_used, ubuild_custom_used;