找回密码
 点一下
查看: 4008|回复: 13

[已翻译]Galaxy脚本语言错误信息列表

[复制链接]
发表于 2010-2-22 22:27:28 | 显示全部楼层 |阅读模式
位于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 '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
嵌套迭代
检测到嵌套迭代。

评分

参与人数 1威望 +1 收起 理由
greedwind + 1

查看全部评分

 楼主| 发表于 2010-2-22 23:02:49 | 显示全部楼层
// XML
e_errorXMLNoMemory=XML: out of memory
e_errorXMLSyntax=XML: syntax error
e_errorXMLNoElements=XML: no element found
e_errorXMLInvalidToken=XML: not well-formed (invalid token)
e_errorXMLUnclosedToken=XML: unclosed token
e_errorXMLPartialChar=XML: partial character
e_errorXMLTagMismatch=XML: mismatched tag
e_errorXMLDuplicateAttribute=XML: duplicate attribute
e_errorXMLJunkAfterDocElement=XML: junk after document element
e_errorXMLParamEntityRef=XML: illegal parameter entity reference
e_errorXMLUndefinedEntity=XML: undefined entity
e_errorXMLRecursiveEntityRef=XML: recursive entity reference
e_errorXMLAsyncEntity=XML: asynchronous entity
e_errorXMLBadCharRef=XML: reference to invalid character number
e_errorXMLBinaryEntityRef=XML: reference to binary entity
e_errorXMLAttributeExternalEntityRef=XML: reference to external entity in attribute
e_errorXMLMisplacedXMLPI=XML: xml declaration not at start of external entity
e_errorXMLUnknownEncoding=XML: unknown encoding
e_errorXMLIncorrectEncoding=XML: encoding specified in XML declaration is incorrect
e_errorXMLUnclosedCDATASection=XML: unclosed CDATA section
e_errorXMLExternalEntityHandling=XML: error in processing external entity reference
e_errorXMLNotStandalone=XML: document is not standalone
e_errorXMLUnexpectedState=XML: unexpected parser state - please send a bug report
e_errorXMLEntityDeclaredInPE=XML: entity declared in parameter entity
e_errorXMLFeatureRequiresXMLDTD=XML: requested feature requires XML_DTD support
e_errorXMLCantChangeFeatureOnceParsing=XML: cannot change setting once parsing has begun

e_errorXMLParserUninitialized=XML: Call NXML::Initialize before creating a CXMLParser!
e_errorXMLWriterUninitialized=XML: Call NXML::Initialize before creating a CXMLWriter!
e_errorXMLScopeExpected=XML: Expected scope
e_errorXMLScopeUnexpected=XML: Unexpected scope
e_errorXMLUnknownStandalone=XML: Standalone unknown
e_errorXMLUnknownVersion=XML: Version unknown
e_errorXMLInvalidCDATA=XML: Invalid character data
e_errorXMLInvalidQName=XML: Invalid qualified name
e_errorXMLInvalidComment=XML: Invalid comment
e_errorXMLInvalidInstructionData=XML: Invalid instruction data
e_errorXMLInvalidInstructionTarget=XML: Invalid instruction target
e_errorXMLInvalidAttributeValue=XML: Invalid attribute value
e_errorXMLStateNotEmpty=XML: State not Empty
e_errorXMLStateNotProlog=XML: State not Prolog
e_errorXMLStateNotRootOpen=XML: State not RootOpen
e_errorXMLStateNotRootClosed=XML: State not RootClosed
e_errorXMLStateNotTagStart=XML: State not TagStart
e_errorXMLStateNotTagEnd=XML: State not TagEnd
e_errorXMLStateNotTagContent=XML: State not TagContent


这个是xml部分
回复

使用道具 举报

 楼主| 发表于 2010-2-23 02:03:45 | 显示全部楼层
修改并翻译了。
暂且这样翻译了,有什么问题的话可以跟帖修改
回复

使用道具 举报

发表于 2010-2-23 07:16:43 | 显示全部楼层
标题为什么没有“于是”字眼

搜索了下,原来不是必加的啊
回复

使用道具 举报

发表于 2010-2-23 09:33:43 | 显示全部楼层
错误列表中与指针相关的不少啊
回复

使用道具 举报

发表于 2010-2-23 10:39:09 | 显示全部楼层
这个不会在保存时崩溃了吧
回复

使用道具 举报

发表于 2010-5-23 22:29:10 | 显示全部楼层
楼主强大,,,,,,,,
回复

使用道具 举报

发表于 2010-5-24 02:40:07 | 显示全部楼层
Renee You English not very good ?

error information is not is it English meaning ?




----------- 帖子于 02:40 更新 --------- 之前内容发布于 02:38 ------------

I was wrong.....
回复

使用道具 举报

发表于 2010-5-24 02:59:48 | 显示全部楼层
引用第7楼深海于2010-05-24 02:40发表的  :

Renee You English not very good ?

error information is not is it English meaning ?

.......


好Engrish的語法。

真是萌到爆。
回复

使用道具 举报

发表于 2010-5-24 06:26:52 | 显示全部楼层
7lou
回复

使用道具 举报

发表于 2010-5-24 09:01:00 | 显示全部楼层
地板
回复

使用道具 举报

发表于 2010-5-24 13:19:11 | 显示全部楼层
引用第8楼alexries于2010-05-24 02:59发表的  :



好Engrish的語法。

.......

不好意思

我英语都是自学的,只懂单词不懂语法...
回复

使用道具 举报

发表于 2010-5-24 13:19:42 | 显示全部楼层
沙发
回复

使用道具 举报

发表于 2010-12-8 14:58:28 | 显示全部楼层
能不能把繁体中文也翻译成简体中文下!呵呵~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-5-22 11:59 , Processed in 0.055467 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表