游戏攻略

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

佚名 2013-05-14 官方网站
位于core.sc2modenus.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 错误的参数类型 只能传 ...

位于core.sc2modenus.sc2data(如果是台湾版的话是zhtw.sc2data)的error.txt。以下只是其中的galaxy部分。

于台湾版的同样没有翻译~~故此翻译一下~~


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
嵌套迭代
检测到嵌套迭代。 

游戏介绍Introduction

最新专区
本周热门