implemented RFE #1235616 - Variable to get language *name*
added $(^Language) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5079 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6d43d45f19
commit
acaecfdade
2 changed files with 6 additions and 1 deletions
|
@ -136,7 +136,8 @@ NLFString NLFStrings[NLF_STRINGS] = {
|
|||
{"^Giga", "G", BOTH_STATIC},
|
||||
{"^Font", "MS Shell Dlg", NONE_STATIC},
|
||||
{"^FontSize", "8", NONE_STATIC},
|
||||
{"^RTL", "0", NONE_STATIC}
|
||||
{"^RTL", "0", NONE_STATIC},
|
||||
{"^Language", "English", NONE_STATIC}
|
||||
};
|
||||
|
||||
// ==============
|
||||
|
@ -1012,6 +1013,9 @@ LanguageTable * CEXEBuild::LoadLangFile(char *filename) {
|
|||
warning_fl("%s language file version doesn't match. Using default English texts for missing strings.", nlf->m_szName);
|
||||
}
|
||||
|
||||
// set ^Language
|
||||
nlf->m_szStrings[NLF_LANGUAGE] = strdup(nlf->m_szName);
|
||||
|
||||
int temp;
|
||||
|
||||
// Get font
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue