游迅网
游迅网 > 攻略首页 > 单机游戏攻略 > 正文

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

2010-03-24 09:51:12来源:编辑:评论(0)

位于Core.SC2Mod\enUS.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 '

星际争霸2

星际争霸2

  • 游戏类别:即时战略
  • 游戏平台:/PC/
  • 开发商:Blizzard
  • 发行商:Blizzard
  • 发行时间:2010年7月27日
游戏介绍:《星际争霸Ⅱ》是由暴雪在2010年7月27日推出的一款RTS即时战略类游戏,作为《星际争霸》的续篇讲述了人族、星灵和异虫三族的故事。《星际争霸Ⅱ》将以三部曲的形式推出,即自由之翼、虫群之心和虚空之遗。

推荐阅读

更多>>48小时热评资讯

更多>>精华推荐