Wed, 19 Nov 2003 22:37:19 +0000
[gaim-migrate @ 8187]
Initial import
| src/win32/nsis/langmacros.nsh | file | annotate | diff | comparison | revisions | |
| src/win32/nsis/translations/spanish.nsh | file | annotate | diff | comparison | revisions |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/win32/nsis/langmacros.nsh Wed Nov 19 22:37:19 2003 +0000 @@ -0,0 +1,83 @@ +;; +;; Windows Gaim NSIS installer language macros +;; + +!macro GAIM_MACRO_DEFAULT_STRING LABEL VALUE + !ifndef "${LABEL}" + !define "${LABEL}" "${VALUE}" + !ifdef INSERT_DEFAULT + !warning "${LANG} lang file mising ${LABEL}, using default.." + !endif + !endif +!macroend + +!macro GAIM_MACRO_LANGSTRING_INSERT LABEL LANG + LangString "${LABEL}" "${LANG_${LANG}}" "${${LABEL}}" + !undef "${LABEL}" +!macroend + +!macro GAIM_MACRO_LANGUAGEFILE_BEGIN LANG + !define CUR_LANG "${LANG}" +!macroend + +!macro GAIM_MACRO_LANGUAGEFILE_END + !define INSERT_DEFAULT + !include "${GAIM_DEFAULT_LANGFILE}" + !undef INSERT_DEFAULT + + ; GAIM Language file Version 2