Contrib/ExperienceUI/Lang.nsh
changeset 2 ccebbad46f6a
parent 0 d5ce4c64ef88
child 11 2cb95c9bb633
equal deleted inserted replaced
1:99d4be98d3cc 2:ccebbad46f6a
   202 
   202 
   203   !ifndef XPUI_INTERNAL_LANG_INSERTED
   203   !ifndef XPUI_INTERNAL_LANG_INSERTED
   204     !define XPUI_INTERNAL_LANG_INSERTED
   204     !define XPUI_INTERNAL_LANG_INSERTED
   205   !endif
   205   !endif
   206   
   206   
   207     !include `${XPUI_SYSDIR}\Language files\${LANGUAGE}.nsh`
   207     !include `${XPUI_SYSDIR}\Language Files\${LANGUAGE}.nsh`
   208   !verbose pop
   208   !verbose pop
   209 !macroend
   209 !macroend
   210 
   210 
   211 !macro XPUI_LANGUAGEFILE_BEGIN LANGUAGE
   211 !macro XPUI_LANGUAGEFILE_BEGIN LANGUAGE
   212 !ifndef `XPUI_LANGUAGEFILE_${LANGUAGE}_USED`
   212 !ifndef `XPUI_LANGUAGEFILE_${LANGUAGE}_USED`
   358 !macroend
   358 !macroend
   359 
   359 
   360 !macro XPUI_LANGUAGEFILE_END
   360 !macro XPUI_LANGUAGEFILE_END
   361 !insertmacro XPUI_LANGUAGE_CONVERT
   361 !insertmacro XPUI_LANGUAGE_CONVERT
   362 
   362 
   363 !include `${XPUI_SYSDIR}\Language files\Default.nsh`
   363 !include `${XPUI_SYSDIR}\Language Files\Default.nsh`
   364   !ifdef XPUI_LANGUAGEFILE_DEFAULT_USED
   364   !ifdef XPUI_LANGUAGEFILE_DEFAULT_USED
   365     !undef XPUI_LANGUAGEFILE_DEFAULT_USED
   365     !undef XPUI_LANGUAGEFILE_DEFAULT_USED
   366     !warning `${LANGUAGE} Modern UI language file version doesn't match. Using default English texts for missing strings.`
   366     !warning `${LANGUAGE} Modern UI language file version doesn't match. Using default English texts for missing strings.`
   367   !endif
   367   !endif
   368 
   368