Sync translations with Weblate
This commit is contained in:
@@ -117,12 +117,13 @@
|
||||
# Jason Xue <1120090920@qq.com>, 2025.
|
||||
# KarasumaChitos3 <460084657@qq.com>, 2025.
|
||||
# Zhen Luo <461652354@qq.com>, 2025, 2026.
|
||||
# Aaron <aaronhustudent@163.com>, 2026.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Godot Engine class reference\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n"
|
||||
"PO-Revision-Date: 2026-01-13 06:39+0000\n"
|
||||
"Last-Translator: 风青山 <idleman@yeah.net>\n"
|
||||
"PO-Revision-Date: 2026-01-25 09:00+0000\n"
|
||||
"Last-Translator: Aaron <aaronhustudent@163.com>\n"
|
||||
"Language-Team: Chinese (Simplified Han script) <https://hosted.weblate.org/"
|
||||
"projects/godot-engine/godot-class-reference/zh_Hans/>\n"
|
||||
"Language: zh_Hans\n"
|
||||
@@ -130,7 +131,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8-bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Weblate 5.15.2-dev\n"
|
||||
"X-Generator: Weblate 5.16-dev\n"
|
||||
|
||||
msgid "All classes"
|
||||
msgstr "所有类"
|
||||
@@ -1668,6 +1669,76 @@ msgstr ""
|
||||
"@export_placeholder(\"Name in lowercase\") var friend_ids: Array[String]\n"
|
||||
"[/codeblock]"
|
||||
|
||||
msgid ""
|
||||
"Export an [int], [float], [Array][lb][int][rb], [Array][lb][float][rb], "
|
||||
"[PackedByteArray], [PackedInt32Array], [PackedInt64Array], "
|
||||
"[PackedFloat32Array], or [PackedFloat64Array] property as a range value. The "
|
||||
"range must be defined by [param min] and [param max], as well as an optional "
|
||||
"[param step] and a variety of extra hints. The [param step] defaults to "
|
||||
"[code]1[/code] for integer properties. For floating-point numbers this value "
|
||||
"depends on your [member EditorSettings.interface/inspector/"
|
||||
"default_float_step] setting.\n"
|
||||
"If hints [code]\"or_greater\"[/code] and [code]\"or_less\"[/code] are "
|
||||
"provided, the editor widget will not cap the value at range boundaries. The "
|
||||
"[code]\"exp\"[/code] hint will make the edited values on range to change "
|
||||
"exponentially. The [code]\"prefer_slider\"[/code] hint will make integer "
|
||||
"values use the slider instead of arrows for editing, while [code]"
|
||||
"\"hide_control\"[/code] will hide the element controlling the value of the "
|
||||
"editor widget.\n"
|
||||
"Hints also allow to indicate the units for the edited value. Using [code]"
|
||||
"\"radians_as_degrees\"[/code] you can specify that the actual value is in "
|
||||
"radians, but should be displayed in degrees in the Inspector dock (the range "
|
||||
"values are also in degrees). [code]\"degrees\"[/code] allows to add a degree "
|
||||
"sign as a unit suffix (the value is unchanged). Finally, a custom suffix can "
|
||||
"be provided using [code]\"suffix:unit\"[/code], where \"unit\" can be any "
|
||||
"string.\n"
|
||||
"See also [constant PROPERTY_HINT_RANGE].\n"
|
||||
"[codeblock]\n"
|
||||
"@export_range(0, 20) var number\n"
|
||||
"@export_range(-10, 20) var number\n"
|
||||
"@export_range(-10, 20, 0.2) var number: float\n"
|
||||
"@export_range(0, 20) var numbers: Array[float]\n"
|
||||
"\n"
|
||||
"@export_range(0, 100, 1, \"or_greater\") var power_percent\n"
|
||||
"@export_range(0, 100, 1, \"or_greater\", \"or_less\") var health_delta\n"
|
||||
"\n"
|
||||
"@export_range(-180, 180, 0.001, \"radians_as_degrees\") var angle_radians\n"
|
||||
"@export_range(0, 360, 1, \"degrees\") var angle_degrees\n"
|
||||
"@export_range(-8, 8, 2, \"suffix:px\") var target_offset\n"
|
||||
"[/codeblock]"
|
||||
msgstr ""
|
||||
"导出 [int]、[float]、[Array][lb][int][rb]、[Array][lb][float][rb]、"
|
||||
"[PackedByteArray]、[PackedInt32Array]、[PackedInt64Array]、"
|
||||
"[PackedFloat32Array] 或 [PackedFloat64Array] 属性,能够指定取值范围。范围必须"
|
||||
"由最小值提示 [param min] 和最大值提示 [param max] 定义,还有一个可选的步长提"
|
||||
"示 [param step] 和各种额外的提示。对于整数属性,[param step] 的默认值是 "
|
||||
"[code]1[/code] 。对于浮点数,这个值取决于你的 [member "
|
||||
"EditorSettings.interface/inspector/default_float_step] 所设置的值。\n"
|
||||
"如果提供了 [code]\"or_greater\"[/code] 和 [code]\"or_less\"[/code] 提示,则编"
|
||||
"辑器部件将不会在其范围边界处对数值进行限制。[code]\"exp\"[/code] 提示将使范围"
|
||||
"内的编辑值以指数形式变化。[code]\"prefer_slider\"[/code] 提示使整数值通过滑块"
|
||||
"而非箭头进行编辑,而 [code]\"hide_control\"[/code] 提示会隐藏编辑器部件中用于"
|
||||
"控制值的元素。\n"
|
||||
"提示还允许指示编辑的值的单位。通过使用 [code]\"radians_as_degrees\"[/code] 提"
|
||||
"示,你可以指定实际值以弧度为单位,在检查器中以角度为单位显示的值(其范围值也使"
|
||||
"用角度)。[code]\"degrees\"[/code] 提示允许添加一个角度符号作为单位后缀。最"
|
||||
"后,还可以使用 [code]\"suffix:单位\"[/code] 这种提示来提供一个自定义后缀,其中"
|
||||
"“单位”可以是任意字符串。\n"
|
||||
"另见 [constant PROPERTY_HINT_RANGE]。\n"
|
||||
"[codeblock]\n"
|
||||
"@export_range(0, 20) var number\n"
|
||||
"@export_range(-10, 20) var number\n"
|
||||
"@export_range(-10, 20, 0.2) var number: float\n"
|
||||
"@export_range(0, 20) var numbers: Array[float]\n"
|
||||
"\n"
|
||||
"@export_range(0, 100, 1, \"or_greater\") var power_percent\n"
|
||||
"@export_range(0, 100, 1, \"or_greater\", \"or_less\") var health_delta\n"
|
||||
"\n"
|
||||
"@export_range(-180, 180, 0.001, \"radians_as_degrees\") var angle_radians\n"
|
||||
"@export_range(0, 360, 1, \"degrees\") var angle_degrees\n"
|
||||
"@export_range(-8, 8, 2, \"suffix:px\") var target_offset\n"
|
||||
"[/codeblock]"
|
||||
|
||||
msgid ""
|
||||
"Export a property with [constant PROPERTY_USAGE_STORAGE] flag. The property "
|
||||
"is not displayed in the editor, but it is serialized and stored in the scene "
|
||||
|
||||
Reference in New Issue
Block a user