- 類(lèi)型:即時(shí)戰(zhàn)略
- 發(fā)行: Blizzard Entertainment
- 發(fā)售:2010年7月27日
- 開(kāi)發(fā): Blizzard Entertainment
- 語(yǔ)言:簡(jiǎn)中 | 繁中 | 英文
- 平臺(tái):PC
- 標(biāo)簽:戰(zhàn)爭(zhēng),科幻,太空,RTS
《星際爭(zhēng)霸2》Galaxy腳本語(yǔ)言錯(cuò)誤信息列表及翻譯
- 來(lái)源: 麥德三世
- 作者:一笑特傻
- 編輯:ChunTian

位于Core.SC2Mod\enUS.SC2Data(如果是臺(tái)灣版的話(huà)是zhTW.SC2Data)的Error.txt。以下只是其中的Galaxy部分。
[::星際爭(zhēng)霸核心社區(qū) BBS.SC2.CC::]
由于臺(tái)灣版的同樣沒(méi)有翻譯~~故此翻譯一下~~
// Galaxy
e_badLValue=Cannot assign to the left side of assignment expression
錯(cuò)誤的左值
無(wú)法對(duì)等號(hào)左邊的表達(dá)式賦值。
e_badParameterType=Can only pass basic types
錯(cuò)誤的參數(shù)類(lèi)型
只能傳遞基礎(chǔ)類(lèi)型的參數(shù)。
e_cantFindInclude=Include file not found
無(wú)法找到要inculde的文件。
e_cantTakeAddress=Cannot use '&' on an object which has no address
無(wú)法獲取地址
無(wú)法對(duì)沒(méi)有地址的對(duì)象使用&操作符。
e_constAssigned=Const variable already assigned
常量已賦值
常量已經(jīng)被被賦值過(guò)了。
e_constInitRequired=Must initialize const variables
需要初始化常量
常量必須經(jīng)過(guò)初始化。
e_constNotAllowedHere=Cannot use const here
不允許常數(shù)
無(wú)法在此使用常量。
e_derefNotPointer=Cannot use '->' on a non-pointer object
解引用非指針
無(wú)法將->操作符用于非指針對(duì)象。
e_expectedArrayIndex=Expected an array index: '['
缺少數(shù)組索引。
e_expectedBoolExpr=Expected a boolean expression
缺少布爾(boolean)表達(dá)式
e_expectedCloseBrace=Expected a closing brace: '}'
缺少結(jié)束大括號(hào):'}'
e_expectedComma=Expected a comma: ','
缺少逗號(hào):','
e_expectedConstExpr=Non-constant initialization of constant object
缺少常量表達(dá)式
試圖用非常量表達(dá)式對(duì)常量進(jìn)行初始化。
e_expectedExpr=Expected an expression
缺少表達(dá)式
e_expectedFieldName=Expected a field name inside a structure
缺少字段名
缺少結(jié)構(gòu)中的字段名。
e_expectedFieldType=Expected a field type inside a structure
缺少字段類(lèi)型
缺少結(jié)構(gòu)中的字段類(lèi)型。
e_expectedFuncBody=Expected ';' or function body
缺少函數(shù)體
缺少';'或函數(shù)體。
e_expectedGlobalName=Expected unused global variable or function name
缺少全局名
缺少?zèng)]使用過(guò)的全局變量名或函數(shù)名。
e_expectedInclude=Expected an include file name
缺少需要include的文件名。
e_expectedIntType=Shift operator requires integer value
需要int型
位移操作需要整型值。
e_expectedLeftParen=Expected '('
缺少左括號(hào)
缺少'('。
e_expectedNativeName=Expected a registered native function name
缺少Native函數(shù)名
缺少注冊(cè)過(guò)的Native函數(shù)名。
e_expectedOpenBrace=Expected an opening brace: '{'
缺少開(kāi)始大括號(hào)
缺少開(kāi)始大括號(hào):'{'
e_expectedParams=Invalid parameter list
缺少參數(shù)
無(wú)效的參數(shù)列表。
e_expectedReturn=Expected a return value
缺少返回
缺少返回值。
e_expectedRightParen=Expected ')'
缺少右括號(hào)
缺少')'
e_expectedSemicolon=Expected a semicolon: ';'
缺少分號(hào)
缺少分號(hào)';'
e_expectedStructIdent=Structure requires an identifier
缺少結(jié)構(gòu)標(biāo)識(shí)符
結(jié)構(gòu)需要一個(gè)標(biāo)識(shí)符。
e_expectedType=Expected type name
缺少類(lèi)型
缺少類(lèi)型名。
e_expectedTypedefIdent=Typedef requires an unused identifier
Typedef缺少標(biāo)識(shí)符
Typedef需要一個(gè)沒(méi)使用過(guò)的標(biāo)識(shí)符來(lái)定義新類(lèi)型。
e_expectedTypedefType=Typedef requires a type
缺少類(lèi)型
要給Typedef指定一個(gè)類(lèi)型。
e_globalsTooLarge=Global data are too large
全局變量太大
全局變量數(shù)據(jù)太大。
e_identiferTruncated=Truncated identifier
標(biāo)識(shí)符斷裂
標(biāo)識(shí)符被截?cái)唷?/p>
e_illegalArraySize=Illegal array dimension
非法的數(shù)組尺寸。
e_illegalCharacter=Illegal char constant
非法字符
非法的字符常量 。
e_illegalEscapeSeq=Illegal escape sequence
非法轉(zhuǎn)意字符
非法的轉(zhuǎn)意字符。
e_illegalIndex=Array index require an integer value
非法索引
數(shù)組指針只能為整數(shù)值。
e_illegalOctal=illegal octal digit
非法八進(jìn)制值
非法的八進(jìn)制數(shù)值。
e_internalGalaxyError=Internal compiler error
銀河內(nèi)部錯(cuò)誤
內(nèi)部編譯錯(cuò)誤。
e_localsTooLarge=32k - 1 size limit to local variables
局部變量太大
局部變量超過(guò)32k-1的大小限制。
e_mangleOverflow=Mangled name overflow
編譯器內(nèi)部名稱(chēng)溢出。
e_nativeMismatch=Native function prototype does not match the internal function
Native函數(shù)不符
Native函數(shù)原型與內(nèi)部函數(shù)不符。
e_nestingTooDeep=Nesting overflow
嵌套過(guò)深
嵌套溢出
e_newlineConst=Newline in constant
常量換行
常量中出現(xiàn)換行。
e_noBulkCopy=Bulk copy not supported
無(wú)批量復(fù)制
不支持批量復(fù)制。
e_noForwardSupport=struct forward declaration not supported
無(wú)前置聲明
結(jié)構(gòu)不支持前置聲明。
e_noImplicitCast=Implicit cast not allowed
無(wú)隱式類(lèi)型轉(zhuǎn)換
不允許隱式類(lèi)型轉(zhuǎn)換。
e_noNestedStruct=struct cannot be nested inside itself
無(wú)嵌套結(jié)構(gòu)
結(jié)構(gòu)無(wú)法嵌套自身。
e_notArray=Cannot use '[': object is not an array
非數(shù)組
無(wú)法使用'[':對(duì)象不是個(gè)數(shù)組。
e_notFunction=Cannot use '(': object is not a function
非函數(shù)
無(wú)法使用'(':對(duì)象不是個(gè)函數(shù)。
e_notStruct=Cannot use '.': object is not a structure
無(wú)法使用'.':對(duì)象不是結(jié)構(gòu)。
e_notStructField=This field is not a member of the struct type
非結(jié)構(gòu)字段
這個(gè)字段不是該結(jié)構(gòu)類(lèi)型的成員。
e_noVoidVars=Illegal variable type: void
無(wú)void變量
非法的變量類(lèi)型:void
e_numericOverflow=Numeric overflow
數(shù)值溢出。
e_oldStyleDimension=Galaxy array definitions require the dimension after the type
舊式尺寸聲明
Galaxy數(shù)組需要將數(shù)組尺寸放在類(lèi)型后面來(lái)聲明。
e_paramCountMismatch=Wrong number of parameters
參數(shù)個(gè)數(shù)不符
參數(shù)的個(gè)數(shù)錯(cuò)誤。
e_paramTypeMismatch=Parameter type does not match the function definition
參數(shù)類(lèi)型不符
參數(shù)類(lèi)型與函數(shù)定義不符。
e_prototypeMismatch=Function does not match previous definition
函數(shù)原型不符
函數(shù)與之前定義的不符。
e_callbackMismatch=Mismatched callback definitions
回調(diào)不符
與回調(diào)定義不符。
e_redefinedField=struct field redefinition
字段重定義
重定義了結(jié)構(gòu)字段。
e_redefinedFuncName=function already defined
重定義函數(shù)名
函數(shù)名已被定義過(guò)了。
e_redefinedParam=redefined identifier
重定義參數(shù)
重定義了標(biāo)識(shí)符。
e_registerUsageOverflow=Register overflow
寄存器溢出
e_requireStruct=Require struct on left side of -> or .
需要結(jié)構(gòu)
->的左邊需要有一個(gè)結(jié)構(gòu)。
e_scriptTooLarge=Script too large
腳本太大
腳本過(guò)大。
e_stateStackOverflow=Stack overflow
堆棧溢出
e_stringTruncated=Truncated string
字符串截?cái)?/p>
字符串被截?cái)唷?/p>
e_syntaxError=Syntax error
語(yǔ)法錯(cuò)誤
e_typecastError=That typecast not allowed
類(lèi)型轉(zhuǎn)換錯(cuò)誤
不支持這種類(lèi)型轉(zhuǎn)換。
e_typeMismatch=Types do not match
類(lèi)型不符
e_undefFunction=Function declared but not defined
函數(shù)未定義
函數(shù)已經(jīng)聲明,但未定義。
e_unexpectedBreak=Unexpected 'break' statement
多余的break
多余的'break'語(yǔ)句。
e_unexpectedComment=comment blocks with /* */ are not supported
不支持 /* */ 格式的注釋塊。
e_unexpectedContinue=Unexpected 'continue' statement
多余的continue
多余'continue'語(yǔ)句。
e_unexpectedDirective=unexpected directive, Galaxy does not have a preprocessor
不支持的指令
Galaxy不支持預(yù)處理指令。
e_unexpectedGoto='goto' statements are unsupported
不支持goto
不支持'goto'語(yǔ)句。
e_unexpectedNew=dynamic memory allocation unsupported
不支持new
不支持動(dòng)態(tài)內(nèi)存分配。
e_unexpectedOperator=Operators ++ and -- are unsupported
不支持的操作符
不支持++和--操作符。
e_unexpectedReturn=Unexpected value returned from a 'void' function
多余的Return值
嘗試在聲明為void的函數(shù)體中返回一個(gè)值。
e_unexpectedSign=unexpected 'signed' or 'unsigned' as Galaxy types have implicit sign
多余的signed和unsigned標(biāo)記。Galaxy的類(lèi)型都是隱式的有符號(hào)數(shù)。
e_unexpectedSwitch='switch' statements are unsupported
不支持swith
不支持'switch'語(yǔ)。
e_unreachableCode=unreachable code
不可達(dá)的代碼
e_jumpOutOfBounds=Code pointer tried to jump out of bounds
跳出界限
代碼指針嘗試跳出界限。
e_noFunctionBody=No function body was ever declared
無(wú)函數(shù)體
沒(méi)有聲明函數(shù)體。
e_execPaused=Execution paused
線(xiàn)程掛起
線(xiàn)程已掛起。
e_threadIsActive=Execution currently active
線(xiàn)程活躍
線(xiàn)程目前活躍。
e_threadIsReady=Thread is ready to execute
線(xiàn)程就緒
線(xiàn)程已準(zhǔn)備就緒。
e_execTimeout=Execution took too long
執(zhí)行超時(shí)
執(zhí)行時(shí)間太長(zhǎng)。
e_codePtrInData=Code pointer tried to jump to data space
代碼指針在數(shù)據(jù)區(qū)
代碼指針嘗試調(diào)轉(zhuǎn)到數(shù)據(jù)區(qū)。
e_dataPtrInCode=Data pointer tried to access code space
數(shù)據(jù)指針在代碼區(qū)
數(shù)據(jù)指針嘗試訪(fǎng)問(wèn)代碼區(qū)。
e_divByZero=Divide by zero
除零異常
嘗試除以零。
e_invalidAddr=Invalid address
無(wú)效地址
e_invalidGlobalPtr=Invalid global pointer
無(wú)效的全局指針。
e_invalidStackPtr=Invalid stack pointer
無(wú)效的堆棧指針。
e_nativeCodeError=Native function has encountered an error
Native函數(shù)錯(cuò)誤
Native函數(shù)遇到錯(cuò)誤。
e_notInCode=Code pointer moved out of code space
不在代碼區(qū)
代碼指針超出代碼區(qū)。
e_nullPointer=Dereferenced a null pointer
空指針
解引用了一個(gè)空指針。
e_stackOverflow=Stack overflow
堆棧上溢
e_stackUnderflow=Stack underflow
堆棧下溢
e_unknownInstr=Unknown instruction
未知指令
e_functionNotFound=Function not found
函數(shù)未找到
e_tooManyThreads=Too many threads
線(xiàn)程太多
e_nestedIteration=Nested iteration detected
嵌套迭代
檢測(cè)到嵌套迭代。
本文內(nèi)容來(lái)源于互聯(lián)網(wǎng),如有侵權(quán)請(qǐng)聯(lián)系刪除。

玩家點(diǎn)評(píng) (0人參與,0條評(píng)論)
熱門(mén)評(píng)論
全部評(píng)論