| 1 |
/* |
| 2 |
* lang.c |
| 3 |
* |
| 4 |
* This file is a part of NSIS. |
| 5 |
* |
| 6 |
* Copyright (C) 1999-2026 Nullsoft and Contributors |
| 7 |
* |
| 8 |
* Licensed under the zlib/libpng license (the "License"); |
| 9 |
* you may not use this file except in compliance with the License. |
| 10 |
* |
| 11 |
* Licence details can be found in the file COPYING. |
| 12 |
* |
| 13 |
* This software is provided 'as-is', without any express or implied |
| 14 |
* warranty. |
| 15 |
* |
| 16 |
* Unicode support by Jim Park -- 08/13/2007 |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifndef _NSIS_LANG_H_ |
| 20 |
#define _NSIS_LANG_H_ |
| 21 |
|
| 22 |
|
| 23 |
// generic startup strings (these will never be overridable) |
| 24 |
#define _LANG_INVALIDCRC _T("Installer integrity check has failed. Common causes include\n") \ |
| 25 |
_T("incomplete download and damaged media. Contact the\n") \ |
| 26 |
_T("installer's author to obtain a new copy.\n\n") \ |
| 27 |
_T("More information at:\n") \ |
| 28 |
_T("http://nsis.sf.net/NSIS_Error") |
| 29 |
|
| 30 |
#define _LANG_ERRORWRITINGTEMP _T("Error writing temporary file. Make sure your temp folder is valid.") |
| 31 |
|
| 32 |
#define _LANG_UNINSTINITERROR _T("Error launching installer") |
| 33 |
|
| 34 |
#define _LANG_VERIFYINGINST _T("verifying installer: %d%%") |
| 35 |
|
| 36 |
#define _LANG_UNPACKING _T("unpacking data: %d%%") |
| 37 |
|
| 38 |
#define _LANG_CANTOPENSELF _T("Error launching installer") // same as uninstiniterror for size |
| 39 |
|
| 40 |
#define _LANG_GENERIC_ERROR _T("NSIS Error") |
| 41 |
|
| 42 |
// We store index to the current language table as a negative |
| 43 |
// index value - 1. So this macro, undoes that into a valid |
| 44 |
// index. |
| 45 |
#define LANG_STR_TAB(x) cur_langtable[-((int)x+1)] |
| 46 |
|
| 47 |
#define LANG_BRANDING -1 |
| 48 |
#define LANG_CAPTION -2 |
| 49 |
#define LANG_NAME -3 |
| 50 |
#define LANG_SPACE_AVAIL -4 |
| 51 |
#define LANG_SPACE_REQ -5 |
| 52 |
#define LANG_CANTWRITE -6 |
| 53 |
#define LANG_COPYFAILED -7 |
| 54 |
#define LANG_COPYTO -8 |
| 55 |
#define LANG_CANNOTFINDSYMBOL -9 |
| 56 |
#define LANG_COULDNOTLOAD -10 |
| 57 |
#define LANG_CREATEDIR -11 |
| 58 |
#define LANG_CREATESHORTCUT -12 |
| 59 |
#define LANG_CREATEDUNINST -13 |
| 60 |
#define LANG_DELETEFILE -14 |
| 61 |
#define LANG_DELETEONREBOOT -15 |
| 62 |
#define LANG_ERRORCREATINGSHORTCUT -16 |
| 63 |
#define LANG_ERRORCREATING -17 |
| 64 |
#define LANG_ERRORDECOMPRESSING -18 |
| 65 |
#define LANG_DLLREGERROR -19 |
| 66 |
#define LANG_EXECSHELL -20 |
| 67 |
#define LANG_EXECUTE -21 |
| 68 |
#define LANG_EXTRACT -22 |
| 69 |
#define LANG_ERRORWRITING -23 |
| 70 |
#define LANG_INSTCORRUPTED -24 |
| 71 |
#define LANG_NOOLE -25 |
| 72 |
#define LANG_OUTPUTDIR -26 |
| 73 |
#define LANG_REMOVEDIR -27 |
| 74 |
#define LANG_RENAMEONREBOOT -28 |
| 75 |
#define LANG_RENAME -29 |
| 76 |
#define LANG_SKIPPED -30 |
| 77 |
#define LANG_COPYDETAILS -31 |
| 78 |
#define LANG_LOG_INSTALL_PROCESS -32 |
| 79 |
#define LANG_BYTE -33 |
| 80 |
#define LANG_KILO -34 |
| 81 |
#define LANG_MEGA -35 |
| 82 |
#define LANG_GIGA -36 |
| 83 |
|
| 84 |
#endif//_NSIS_LANG_H_ |