《星际争霸2》Galaxy脚本语言错误信息列表及翻译

游戏攻略

    位于Core.SC2Mod\enUS.SC2Data(如果是台湾版的话是zhTW.SC2Data)的Error.txt。以下只是其中的Galaxy部分。
    [::星际争霸核心社区 BBS.SC2.CC::]
    由于台湾版的同样没有翻译~~故此翻译一下~~
    // Galaxy
    e_badLValue=Cannot assign to the left side of assignment expression
    错误的左值
    无法对等号左边的表达式赋值。
    e_badParameterType=Can only pass basic types
    错误的参数类型
    只能传递基础类型的参数。
    e_cantFindInclude=Include file not found
    无法找到要inculde的文件。
    e_cantTakeAddress=Cannot use ’&’ on an object which has no address
    无法获取地址
    无法对没有地址的对象使用&操作符。
    e_constAssigned=Const variable already assigned
    常量已赋值
    常量已经被被赋值过了。
    e_constInitRequired=Must initialize const variables
    需要初始化常量
    常量必须经过初始化。
    e_constNotAllowedHere=Cannot use const here
    不允许常数
    无法在此使用常量。
    e_derefNotPointer=Cannot use ’->’ on a non-pointer object
    解引用非指针
    无法将->操作符用于非指针对象。
    e_expectedArrayIndex=Expected an array index: ’[’
    缺少数组索引。
    e_expectedBoolExpr=Expected a boolean expression
    缺少布尔(boolean)表达式
    e_expectedCloseBrace=Expected a closing brace: ’}’
    缺少结束大括号:’}’
    e_expectedComma=Expected a comma: ’,’
    缺少逗号:’,’
    e_expectedConstExpr=Non-constant initialization of constant object
    缺少常量表达式
    试图用非常量表达式对常量进行初始化。
    e_expectedExpr=Expected an expression
    缺少表达式
    e_expectedFieldName=Expected a field name inside a structure
    缺少字段名
    缺少结构中的字段名。
    e_expectedFieldType=Expected a field type inside a structure
    缺少字段类型
    缺少结构中的字段类型。
    e_expectedFuncBody=Expected ’;’ or function body
    缺少函数体
    缺少’;’或函数体。
    e_expectedGlobalName=Expected unused global variable or function name
    缺少全局名
    缺少没使用过的全局变量名或函数名。
    e_expectedInclude=Expected an include file name
    缺少需要include的文件名。
    e_expectedIntType=Shift operator requires integer value
    需要int型
    位移操作需要整型值。
    e_expectedLeftParen=Expected ’(’
    缺少左括号
    缺少’(’。
    e_expectedNativeName=Expected a registered native function name
    缺少Native函数名
    缺少注册过的Native函数名。
    e_expectedOpenBrace=Expected an opening brace: ’{’
    缺少开始大括号
    缺少开始大括号:’{’
    e_expectedParams=Invalid parameter list
    缺少参数
    无效的参数列表。
    e_expectedReturn=Expected a return value
    缺少返回
    缺少返回值。
    e_expectedRightParen=Expected ’)’
    缺少右括号
    缺少’)’
    e_expectedSemicolon=Expected a semicolon: ’;’
    缺少分号
    缺少分号’;’
    e_expectedStructIdent=Structure requires an identifier
    缺少结构标识符
    结构需要一个标识符。
    e_expectedType=Expected type name
    缺少类型
    缺少类型名。
    e_expectedTypedefIdent=Typedef requires an unused identifier
    Typedef缺少标识符
    Typedef需要一个没使用过的标识符来定义新类型。
    e_expectedTypedefType=Typedef requires a type
    缺少类型
    要给Typedef指定一个类型。
    e_globalsTooLarge=Global data are too large
    全局变量太大
    全局变量数据太大。
    e_identiferTruncated=Truncated identifier
    标识符断裂
    标识符被截断。
    e_illegalArraySize=Illegal array dimension
    非法的数组尺寸。
    e_illegalCharacter=Illegal char constant
    非法字符
    非法的字符常量 。
    e_illegalEscapeSeq=Illegal escape sequence
    非法转意字符
    非法的转意字符。
    e_illegalIndex=Array index require an integer value
    非法索引
    数组指针只能为整数值。
    e_illegalOctal=illegal octal digit
    非法八进制值
    非法的八进制数值。
    e_internalGalaxyError=Internal compiler error
    银河内部错误
    内部编译错误。
    e_localsTooLarge=32k - 1 size limit to local variables
    局部变量太大
    局部变量超过32k-1的大小限制。
    e_mangleOverflow=Mangled name overflow
    编译器内部名称溢出。
    e_nativeMismatch=Native function prototype does not match the internal function
    Native函数不符
    Native函数原型与内部函数不符。
    e_nestingTooDeep=Nesting overflow
    嵌套过深
    嵌套溢出
    e_newlineConst=Newline in constant
    常量换行
    常量中出现换行。
    e_noBulkCopy=Bulk copy not supported
    无批量复制
    不支持批量复制。
    e_noForwardSupport=struct forward Declaration not supported
    无前置声明
    结构不支持前置声明。
    e_noImplicitCast=Implicit cast not allowed
    无隐式类型转换
    不允许隐式类型转换。
    e_noNestedStruct=struct cannot be nested inside itself
    无嵌套结构
    结构无法嵌套自身。
    e_notArray=Cannot use ’[’: object is not an array
    非数组
    无法使用’[’:对象不是个数组。
    e_notFunction=Cannot use ’(’: object is not a function
    非函数
    无法使用’(’:对象不是个函数。
    e_notStruct=Cannot use ’.’: object is not a structure
    无法使用’.’:对象不是结构。
    e_notStructField=This field is not a member of the struct type
    非结构字段
    这个字段不是该结构类型的成员。
    e_noVoidVars=Illegal variable type: void
    无void变量
    非法的变量类型:void
    e_numericOverflow=Numeric overflow
    数值溢出。
    e_oldStyleDimension=Galaxy array definitions require the dimension after the type
    旧式尺寸声明
    Galaxy数组需要将数组尺寸放在类型后面来声明。
    e_paramCountMismatch=Wrong number of parameters
    参数个数不符
    参数的个数错误。
    e_paramTypeMismatch=Parameter type does not match the function definition
    参数类型不符
    参数类型与函数定义不符。
    e_prototypeMismatch=Function does not match previous definition
    函数原型不符
    函数与之前定义的不符。
    e_callbackMismatch=Mismatched callback definitions
    回调不符
    与回调定义不符。
    e_redefinedField=struct field redefinition
    字段重定义
    重定义了结构字段。
    e_redefinedFuncName=function already defined
    重定义函数名
    函数名已被定义过了。
    e_redefinedParam=redefined identifier
    重定义参数
    重定义了标识符。
    e_registerUsageOverflow=Register overflow
    寄存器溢出
    e_requireStruct=Require struct on left side of -> or .
    需要结构
    ->的左边需要有一个结构。
    e_scriptTooLarge=Script too large
    脚本太大
    脚本过大。
    e_stateStackOverflow=Stack overflow
    堆栈溢出
    e_stringTruncated=Truncated string
    字符串截断
    字符串被截断。
    e_syntaxError=Syntax error
    语法错误
    e_typecastError=That typecast not allowed
    类型转换错误
    不支持这种类型转换。
    e_typeMismatch=Types do not match
    类型不符
    e_undefFunction=Function Declared but not defined
    函数未定义
    函数已经声明,但未定义。
    e_unexpectedBreak=Unexpected ’break’ statement
    多余的break
    多余的’break’语句。
    e_unexpectedComment=comment blocks with /* */ are not supported
    不支持 /* */ 格式的注释块。
    e_unexpectedContinue=Unexpected ’continue’ statement
    多余的continue
    多余’continue’语句。
    e_unexpectedDirective=unexpected directive, Galaxy does not have a preprocessor
    不支持的指令
    Galaxy不支持预处理指令。
    e_unexpectedGoto=’goto’ statements are unsupported
    不支持goto
    不支持’goto’语句。
    e_unexpectedNew=dynamic memory allocation unsupported
    不支持new
    不支持动态内存分配。
    e_unexpectedOperator=Operators ++ and -- are unsupported
    不支持的操作符
    不支持++和--操作符。
    e_unexpectedReturn=Unexpected value returned from a ’void’ function
    多余的Return值
    尝试在声明为void的函数体中返回一个值。
    e_unexpectedSign=unexpected ’signed’ or ’unsigned’ as Galaxy types have implicit sign
    多余的signed和unsigned标记。Galaxy的类型都是隐式的有符号数。
    e_unexpectedSwitch=’switch’ statements are unsupported
    不支持swith
    不支持’switch’语。
    e_unreachableCode=unreachable code
    不可达的代码
    e_jumpOutOfBounds=Code pointer tried to jump out of bounds
    跳出界限
    代码指针尝试跳出界限。
    e_noFunctionBody=No function body was ever Declared
    无函数体
    没有声明函数体。
    e_ExecPaused=Execution paused
    线程挂起
    线程已挂起。
    e_threadIsActive=Execution currently active
    线程活跃
    线程目前活跃。
    e_threadIsReady=Thread is ready to Execute
    线程就绪
    线程已准备就绪。
    e_ExecTimeout=Execution took too long
    执行超时
    执行时间太长。
    e_codePtrInData=Code pointer tried to jump to data space
    代码指针在数据区
    代码指针尝试调转到数据区。
    e_dataPtrInCode=Data pointer tried to access code space
    数据指针在代码区
    数据指针尝试访问代码区。
    e_divByZero=Divide by zero
    除零异常
    尝试除以零。
    e_invalidAddr=Invalid address
    无效地址
    e_invalidGlobalPtr=Invalid global pointer
    无效的全局指针。
    e_invalidStackPtr=Invalid stack pointer
    无效的堆栈指针。
    e_nativeCodeError=Native function has encountered an error
    Native函数错误
    Native函数遇到错误。
    e_notInCode=Code pointer moved out of code space
    不在代码区
    代码指针超出代码区。
    e_nullPointer=Dereferenced a null pointer
    空指针
    解引用了一个空指针。
    e_stackOverflow=Stack overflow
    堆栈上溢
    e_stackUnderflow=Stack underflow
    堆栈下溢
    e_unknownInstr=Unknown instruction
    未知指令
    e_functionNotFound=Function not found
    函数未找到
    e_tooManyThreads=Too many threads
    线程太多
    e_nestedIteration=Nested iteration detected
    嵌套迭代
    检测到嵌套迭代。
     
    
    
    
相关文章!