mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	complete traditional chinese translation
This commit is contained in:
		@@ -214,5 +214,57 @@
 | 
			
		||||
    "$toMillis": {
 | 
			
		||||
        "args": "timestamp",
 | 
			
		||||
        "desc": "將ISO 8601格式的字串`timestamp`轉換為從UNIX時間 (1970年1月1日 UTC/GMT的午夜)開始到現在的毫秒數。如果該字串的格式不正確,則拋出錯誤。"
 | 
			
		||||
    },
 | 
			
		||||
    "$env": {
 | 
			
		||||
        "args": "arg",
 | 
			
		||||
        "desc": "返回環境變量的值。\n\n這是Node-RED定義的函數。"
 | 
			
		||||
    },
 | 
			
		||||
    "$eval": {
 | 
			
		||||
        "args": "expr [, context]",
 | 
			
		||||
        "desc": "使用當前上下文來作為評估依據,分析並評估字符串`expr`,其中包含文字JSON或JSONata表達式。"
 | 
			
		||||
    },
 | 
			
		||||
    "$formatInteger": {
 | 
			
		||||
        "args": "number, picture",
 | 
			
		||||
        "desc": "將“數字”轉換為字符串,並將其格式化為“圖片”字符串指定的整數表示形式。圖片字符串參數定義了數字的格式,並具有與XPath F&O 3.1 規範中的fn:format-integer相同的語法。"
 | 
			
		||||
    },
 | 
			
		||||
    "$parseInteger": {
 | 
			
		||||
        "args": "string, picture",
 | 
			
		||||
        "desc": "使用“圖片”字符串指定的格式將“字符串”參數的內容解析為整數(作為JSON數字)。圖片字符串參數與$formatInteger格式相同。."
 | 
			
		||||
    },
 | 
			
		||||
    "$error": {
 | 
			
		||||
        "args": "[str]",
 | 
			
		||||
        "desc": "引發錯誤並顯示一條消息。 可選的`str`將替代$error()函數評估的默認消息。"
 | 
			
		||||
    },
 | 
			
		||||
    "$assert": {
 | 
			
		||||
        "args": "arg, str",
 | 
			
		||||
        "desc": "如果`arg`為真,則該函數返回。 如果arg為假,則拋出帶有str的異常作為異常消息。"
 | 
			
		||||
    },
 | 
			
		||||
    "$single": {
 | 
			
		||||
        "args": "array, function",
 | 
			
		||||
        "desc": "返回滿足參數function謂語的array參數中的唯一值 (比如:傳遞值時,函數返回布林值“true”)。如果匹配值的數量不唯一時,則拋出異常。\n\n應在以下簽名中提供函數:`function(value [,index [,array []]])`其中value是數組的每個輸入,index是該值的位置,整個數組作為第三個參數傳遞。"
 | 
			
		||||
    },
 | 
			
		||||
    "$encodeUrl": {
 | 
			
		||||
        "args": "str",
 | 
			
		||||
        "desc": "通過用表示字符的UTF-8編碼的一個,兩個,三個或四個轉義序列替換某些字符的每個實例,對統一資源定位符(URL)組件進行編碼。\n\n示例:`$encodeUrlComponent(\"?x=test\")` => `\"%3Fx%3Dtest\"`"
 | 
			
		||||
    },
 | 
			
		||||
    "$encodeUrlComponent": {
 | 
			
		||||
        "args": "str",
 | 
			
		||||
        "desc": "通過用表示字符的UTF-8編碼的一個,兩個,三個或四個轉義序列替換某些字符的每個實例,對統一資源定位符(URL)進行編碼。\n\n示例: `$encodeUrl(\"https://mozilla.org/?x=шеллы\")` => `\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\"`"
 | 
			
		||||
    },
 | 
			
		||||
    "$decodeUrl": {
 | 
			
		||||
        "args": "str",
 | 
			
		||||
        "desc": "解碼以前由encodeUrlComponent創建的統一資源定位器(URL)組件。 \n\n示例: `$decodeUrlComponent(\"%3Fx%3Dtest\")` => `\"?x=test\"`"
 | 
			
		||||
    },
 | 
			
		||||
    "$decodeUrlComponent": {
 | 
			
		||||
        "args": "str",
 | 
			
		||||
        "desc": "解碼先前由encodeUrl創建的統一資源定位符(URL)。 \n\n示例: `$decodeUrl(\"https://mozilla.org/?x=%D1%88%D0%B5%D0%BB%D0%BB%D1%8B\")` => `\"https://mozilla.org/?x=шеллы\"`"
 | 
			
		||||
    },
 | 
			
		||||
    "$distinct": {
 | 
			
		||||
        "args": "array",
 | 
			
		||||
        "desc": "返回一個數組,其中重復的值已從`數組`中刪除"
 | 
			
		||||
    },
 | 
			
		||||
    "$type": {
 | 
			
		||||
        "args": "value",
 | 
			
		||||
        "desc": "以字符串形式返回`值`的類型。 如果該`值`未定義,則將返回`未定義`"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user