NSIS/Source/exehead/lang.h

80 lines
2.7 KiB
C
Raw Normal View History

/*
* lang.c
*
* This file is a part of NSIS.
*
* Copyright (C) 1999-2009 Nullsoft and Contributors
*
* Licensed under the zlib/libpng license (the "License");
* you may not use this file except in compliance with the License.
*
* Licence details can be found in the file COPYING.
*
* This software is provided 'as-is', without any express or implied
* warranty.
*/
#ifndef _NSIS_LANG_H_
#define _NSIS_LANG_H_
// generic startup strings (these will never be overridable)
#define _LANG_INVALIDCRC "Installer integrity check has failed. Common causes include\n" \
"incomplete download and damaged media. Contact the\n" \
"installer's author to obtain a new copy.\n\n" \
"More information at:\n" \
"http://nsis.sf.net/NSIS_Error"
#define _LANG_ERRORWRITINGTEMP "Error writing temporary file. Make sure your temp folder is valid."
#define _LANG_UNINSTINITERROR "Error launching installer"
#define _LANG_VERIFYINGINST "verifying installer: %d%%"
#define _LANG_UNPACKING "unpacking data: %d%%"
#define _LANG_CANTOPENSELF "Error launching installer" // same as uninstiniterror for size
#define _LANG_GENERIC_ERROR "NSIS Error"
* PageEx - every page can be used everywhere and as many times as needed * DirVar - easy way to add another dir page * default strings in the language file (Page directory is enough, no need for DirText) * strings from the language file are now LangStrings that can be used in the script * no more /LANG - one string for all languages * any lang strings can be used everywhere, installer or uninstaller (no un.) * no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey) * DirText parm for browse dialog text * SetBkColor -> SetCtlColors - can now set text color too * fixed SetOutPath and File /r bug * fixed File /a /oname bug * added $_CLICK for pages * added quotes support in lang files (patch #752620) * extraction progress * separate RTL dialogs for RTL langs (improved RTL too) * InstallOptions RTL * StartMenu RTL * fixed RegDLL? * added IfSilent and SetSilent (SetSilent only works from .onInit) * fixed verify window (it never showed) (bug #792494) * fixed ifnewer readonly file problem (patch #783782) * fixed wininit.ini manipulation when there is another section after [rename] * fixed some ClearType issues * fixed a minor bug in the resource editor * fixed !ifdef/!endif stuff, rewritten * lots of code and comments clean ups * got rid of some useless exceptions handling and STL classes (still much more to go) * lots of optimizations, of course ;) * updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready) * minor bug fixes git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
#define LANG_STR_TAB(x) cur_langtable[-((int)x+1)]
#define LANG_BRANDING -1
#define LANG_CAPTION -2
#define LANG_NAME -3
#define LANG_SPACE_AVAIL -4
#define LANG_SPACE_REQ -5
#define LANG_CANTWRITE -6
#define LANG_COPYFAILED -7
#define LANG_COPYTO -8
#define LANG_CANNOTFINDSYMBOL -9
#define LANG_COULDNOTLOAD -10
#define LANG_CREATEDIR -11
#define LANG_CREATESHORTCUT -12
#define LANG_CREATEDUNINST -13
#define LANG_DELETEFILE -14
#define LANG_DELETEONREBOOT -15
#define LANG_ERRORCREATINGSHORTCUT -16
#define LANG_ERRORCREATING -17
#define LANG_ERRORDECOMPRESSING -18
#define LANG_DLLREGERROR -19
#define LANG_EXECSHELL -20
#define LANG_EXECUTE -21
#define LANG_EXTRACT -22
#define LANG_ERRORWRITING -23
#define LANG_INSTCORRUPTED -24
#define LANG_NOOLE -25
#define LANG_OUTPUTDIR -26
#define LANG_REMOVEDIR -27
#define LANG_RENAMEONREBOOT -28
#define LANG_RENAME -29
#define LANG_SKIPPED -30
#define LANG_COPYDETAILS -31
#define LANG_LOG_INSTALL_PROCESS -32
#define LANG_BYTE -33
#define LANG_KILO -34
#define LANG_MEGA -35
#define LANG_GIGA -36
#endif//_NSIS_LANG_H_