Skip to content

Commit

Permalink
Merge Sphinx translations with Weblate translations, sync classref
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Feb 7, 2025
1 parent bc452fe commit b2149a4
Show file tree
Hide file tree
Showing 8,847 changed files with 47,968 additions and 78,394 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
216 changes: 163 additions & 53 deletions classes/zh_CN/[email protected]

Large diffs are not rendered by default.

376 changes: 202 additions & 174 deletions classes/zh_CN/[email protected]

Large diffs are not rendered by default.

112 changes: 56 additions & 56 deletions classes/zh_CN/class_aabb.rst

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions classes/zh_CN/class_acceptdialog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/AcceptDialog.xml.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AcceptDialog.xml.
.. _class_AcceptDialog:

Expand Down
4 changes: 2 additions & 2 deletions classes/zh_CN/class_aescontext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/AESContext.xml.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AESContext.xml.
.. _class_AESContext:

Expand Down
4 changes: 2 additions & 2 deletions classes/zh_CN/class_animatablebody2d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/AnimatableBody2D.xml.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AnimatableBody2D.xml.
.. _class_AnimatableBody2D:

Expand Down
4 changes: 2 additions & 2 deletions classes/zh_CN/class_animatablebody3d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/AnimatableBody3D.xml.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AnimatableBody3D.xml.
.. _class_AnimatableBody3D:

Expand Down
11 changes: 4 additions & 7 deletions classes/zh_CN/class_animatedsprite2d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/AnimatedSprite2D.xml.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AnimatedSprite2D.xml.
.. _class_AnimatedSprite2D:

Expand Down Expand Up @@ -413,18 +413,15 @@ AnimatedSprite2D

|void| **set_frame_and_progress**\ (\ frame\: :ref:`int<class_int>`, progress\: :ref:`float<class_float>`\ ) :ref:`🔗<class_AnimatedSprite2D_method_set_frame_and_progress>`

设置 :ref:`frame<class_AnimatedSprite2D_property_frame>` 时会隐式将 :ref:`frame_progress<class_AnimatedSprite2D_property_frame_progress>` 重置为 ``0.0``\ ,但这个方法可以避免。
Sets :ref:`frame<class_AnimatedSprite2D_property_frame>` the :ref:`frame_progress<class_AnimatedSprite2D_property_frame_progress>` to the given values. Unlike setting :ref:`frame<class_AnimatedSprite2D_property_frame>`, this method does not reset the :ref:`frame_progress<class_AnimatedSprite2D_property_frame_progress>` to ``0.0`` implicitly.

如果你想要把当前的 :ref:`frame_progress<class_AnimatedSprite2D_property_frame_progress>` 带到其他 :ref:`frame<class_AnimatedSprite2D_property_frame>` 中,就会非常有用。

\ **示例:**\
\ **Example:** Change the animation while keeping the same :ref:`frame<class_AnimatedSprite2D_property_frame>` and :ref:`frame_progress<class_AnimatedSprite2D_property_frame_progress>`:


.. tabs::

.. code-tab:: gdscript

# 更改动画的同时保留帧索引和进度。
var current_frame = animated_sprite.get_frame()
var current_progress = animated_sprite.get_frame_progress()
animated_sprite.play("walk_another_skin")
Expand Down
11 changes: 4 additions & 7 deletions classes/zh_CN/class_animatedsprite3d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/AnimatedSprite3D.xml.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AnimatedSprite3D.xml.
.. _class_AnimatedSprite3D:

Expand Down Expand Up @@ -333,18 +333,15 @@ AnimatedSprite3D

|void| **set_frame_and_progress**\ (\ frame\: :ref:`int<class_int>`, progress\: :ref:`float<class_float>`\ ) :ref:`🔗<class_AnimatedSprite3D_method_set_frame_and_progress>`

设置 :ref:`frame<class_AnimatedSprite3D_property_frame>` 时会隐式将 :ref:`frame_progress<class_AnimatedSprite3D_property_frame_progress>` 重置为 ``0.0``\ ,但这个方法可以避免。
Sets :ref:`frame<class_AnimatedSprite3D_property_frame>` the :ref:`frame_progress<class_AnimatedSprite3D_property_frame_progress>` to the given values. Unlike setting :ref:`frame<class_AnimatedSprite3D_property_frame>`, this method does not reset the :ref:`frame_progress<class_AnimatedSprite3D_property_frame_progress>` to ``0.0`` implicitly.

如果你想要把当前的 :ref:`frame_progress<class_AnimatedSprite3D_property_frame_progress>` 带到其他 :ref:`frame<class_AnimatedSprite3D_property_frame>` 中,就会非常有用。

\ **示例:**\
\ **Example:** Change the animation while keeping the same :ref:`frame<class_AnimatedSprite3D_property_frame>` and :ref:`frame_progress<class_AnimatedSprite3D_property_frame_progress>`:


.. tabs::

.. code-tab:: gdscript

# 更改动画的同时保留帧索引和进度。
var current_frame = animated_sprite.get_frame()
var current_progress = animated_sprite.get_frame_progress()
animated_sprite.play("walk_another_skin")
Expand Down
4 changes: 2 additions & 2 deletions classes/zh_CN/class_animatedtexture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/4.3/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/4.3/doc/classes/AnimatedTexture.xml.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AnimatedTexture.xml.
.. _class_AnimatedTexture:

Expand Down
Loading

0 comments on commit b2149a4

Please sign in to comment.