Skip to content

Commit

Permalink
docs: update LC_MESSAGES of en
Browse files Browse the repository at this point in the history
  • Loading branch information
jkjkil4 committed May 30, 2024
1 parent f9b0ab1 commit 35baceb
Show file tree
Hide file tree
Showing 49 changed files with 2,658 additions and 583 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ __pycache__
/doc/build
/videos
/.coverage
/env
/env*
/result.json
/result2.json
29 changes: 22 additions & 7 deletions doc/source/locales/en/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JAnim\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-19 17:57+0800\n"
"POT-Creation-Date: 2024-05-30 15:49+0800\n"
"PO-Revision-Date: 2024-01-19 17:56+0800\n"
"Last-Translator: \n"
"Language: en\n"
Expand All @@ -19,6 +19,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.14.0\n"

#: ../../source/index.rst:11
msgid "教程"
msgstr ""

#: ../../source/index.rst:20
msgid "参考文档"
msgstr ""

#: ../../source/index.rst:26
msgid "开发相关"
msgstr ""

#: ../../source/index.rst:7
msgid "JAnim 文档"
msgstr "JAnim Documentation"
Expand All @@ -27,19 +39,19 @@ msgstr "JAnim Documentation"
msgid "JAnim 是一个用于简易动画效果的库"
msgstr "JAnim is a library for simple animation effects"

#: ../../source/index.rst:12
msgid "其它"
msgstr "Other"
#: ../../source/index.rst:32
msgid "目录与表格"
msgstr ""

#: ../../source/index.rst:19
#: ../../source/index.rst:34
msgid ":ref:`genindex`"
msgstr ":ref:`genindex`"

#: ../../source/index.rst:20
#: ../../source/index.rst:35
msgid ":ref:`modindex`"
msgstr ":ref:`modindex`"

#: ../../source/index.rst:21
#: ../../source/index.rst:36
msgid ":ref:`search`"
msgstr ":ref:`search`"

Expand All @@ -49,3 +61,6 @@ msgstr ":ref:`search`"
#~ msgid "文档参考 `https://docs.manim.org.cn/ <https://docs.manim.org.cn/>`_"
#~ msgstr ""

#~ msgid "其它"
#~ msgstr "Other"

159 changes: 86 additions & 73 deletions doc/source/locales/en/LC_MESSAGES/janim/anims/animation.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,79 +6,41 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: JAnim\n"
"Project-Id-Version: JAnim\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-14 14:52+0800\n"
"POT-Creation-Date: 2024-05-30 15:49+0800\n"
"PO-Revision-Date: 2024-03-14 16:05+0800\n"
"Last-Translator: \n"
"Language-Team: en <[email protected]>\n"
"Language: en\n"
"Language-Team: en <[email protected]>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.14.0\n"
"X-Generator: Poedit 3.4.2\n"

#: ../../source/janim/anims/animation.rst:2
msgid "animation"
msgstr "animation"

#: ../../source/rst_utils/tip_of_complex.rst:3
msgid "这部分内容涉及 JAnim 实现原理,可能较为复杂,若没有研究源码的需求,你应酌情阅读"
msgstr ""

#: janim.anims.animation.Animation:1 janim.anims.animation.RenderCall:1
#: janim.anims.animation.TimeRange:1 of
msgid "基类::py:class:`object`"
msgstr "基类::py:class:`object`"

#: janim.anims.animation.RenderCall:1 of
msgid "绘制调用"
msgstr "Render call"

#: janim.anims.animation.RenderCall:3 of
msgid "``depth``: 该绘制的深度"
msgstr "``depth``: The depth of this rendering."

#: janim.anims.animation.RenderCall:4 of
msgid "``func``: 该绘制所调用的函数"
msgstr "``func``: The function to be called for this rendering."

#: janim.anims.animation.RenderCall:6 of
msgid "具体机制:"
msgstr "Mechanism:"

#: janim.anims.animation.RenderCall:8 of
msgid ""
"在每个动画对象中,都会使用 :meth:`~.Animation.set_render_call_list` 来设置该动"
"画进行绘制时所执行的函数"
msgstr ""
"In each animation object, :meth:`~.Animation.set_render_call_list` is used to "
"set the function executed when rendering this animation."

#: janim.anims.animation.RenderCall:9 of
msgid ""
"在进行渲染(具体参考 :meth:`~.TimelineAnim.render_all` )时,会按照深度进行排"
"序,依次对 ``func`` 进行调用,深度越高的越先调用"
msgstr ""
"During rendering (refer to :meth:`~.TimelineAnim.render_all`), the functions "
"are called in the order of their depths, with higher depths being called "
"first."

#: janim.anims.animation.RenderCall:11 of
msgid "例:"
msgstr "Example:"

#: janim.anims.animation.RenderCall:13 of
msgid ""
"在 :class:`~.Display` 中,设置了单个 :class:`RenderCall` ,作用是绘制物件"
msgstr ""
"In :class:`~.Display`, a single :class:`RenderCall` is set to draw an item."
#: janim.anims.animation.TimeRange:1 of
#, fuzzy
msgid "标识了从 ``at`` 开始,持续时间为 ``duration`` 的时间区段"
msgstr "Creates an animation from ``at`` to ``at + duration``"

#: janim.anims.animation.RenderCall:14 of
msgid ""
"在 :class:`~.Transform` 中,对于每个插值物件都设置了 :class:`RenderCall`,绘制"
"所有的插值物件"
msgstr ""
"In :class:`Transform`, :class:`RenderCall` is set for each interpolated item "
"to render all of them"
#: janim.anims.animation.TimeRange:3 of
#, fuzzy
msgid "``end`` 即 ``at + duration``"
msgstr "Creates an animation from ``at`` to ``at + duration``"

#: janim.anims.animation.Animation:1 of
msgid "动画基类"
Expand All @@ -90,22 +52,23 @@ msgstr "Creates an animation from ``at`` to ``at + duration``"

#: janim.anims.animation.Animation:4 of
msgid ""
"指定 ``rate_func`` 可以设定插值函数,默认为 :meth:`janim.utils.rate_functions."
"smooth` 即平滑插值"
"指定 ``rate_func`` 可以设定插值函数,默认为 :meth:`janim.utils.rate_functions.smooth` "
"即平滑插值"
msgstr ""
"Specifies the interpolation function ``rate_func``, default is :meth:`janim."
"utils.rate_functions.smooth` for smooth interpolation"
"Specifies the interpolation function ``rate_func``, default is "
":meth:`janim.utils.rate_functions.smooth` for smooth interpolation"

#: janim.anims.animation.Animation.set_global_range:1 of
msgid "设置在 :class:`~.Timeline` 上的时间范围"
#: janim.anims.animation.Animation.compute_global_range:1 of
#, fuzzy
msgid "计算 :class:`~.Timeline` 上的时间范围"
msgstr "Set the time range on :class:`~.Timeline`."

#: janim.anims.animation.Animation.set_global_range:3 of
msgid ""
"不需要手动设置,该方法是被 :meth:`~.AnimGroup.set_global_range` 调用以计算的"
#: janim.anims.animation.Animation.compute_global_range:3 of
#, fuzzy
msgid "该方法是被 :meth:`~.AnimGroup.set_global_range` 调用以计算的"
msgstr ""
"No need to set manually; this method is called by :meth:`~.AnimGroup."
"set_global_range` for calculation"
"No need to set manually; this method is called by "
":meth:`~.AnimGroup.set_global_range` for calculation"

#: janim.anims.animation.Animation.set_render_call_list:1 of
msgid "设置绘制调用,具体参考 :class:`RenderCall`"
Expand All @@ -114,12 +77,14 @@ msgstr "Set render-calls, see :class:`RenderCall` for details."
#: janim.anims.animation.Animation.anim_pre_init:1 of
msgid "在 :meth:`~.Timeline.detect_changes_of_all` 执行之前调用的初始化方法"
msgstr ""
"Initialization method called before :meth:`~.Timeline.detect_changes_of_all`."
"Initialization method called before "
":meth:`~.Timeline.detect_changes_of_all`."

#: janim.anims.animation.Animation.anim_init:1 of
msgid "在 :meth:`~.Timeline.detect_changes_of_all` 执行之后调用的初始化方法"
msgstr ""
"Initialization method called after :meth:`~.Timeline.detect_changes_of_all`."
"Initialization method called after "
":meth:`~.Timeline.detect_changes_of_all`."

#: janim.anims.animation.Animation.anim_on:1 of
msgid "将 ``local_t`` 换算为 ``alpha`` 并调用 :meth:`anim_on_alpha`"
Expand All @@ -128,17 +93,65 @@ msgstr "Converts ``local_t`` to ``alpha`` and calls :meth:`anim_on_alpha`"
#: janim.anims.animation.Animation.get_alpha_on_global_t:1 of
msgid "传入全局 ``global_t``,得到物件在该时刻应当处于哪个 ``alpha`` 的插值"
msgstr ""
"Given the global ``global_t``, returns the interpolation value ``alpha`` at "
"which the object should be at that moment."
"Given the global ``global_t``, returns the interpolation value ``alpha`` "
"at which the object should be at that moment."

#: ../../docstring janim.anims.animation.Animation.global_t_ctx:1 of
msgid ""
"对该值进行设置,使得进行 :meth:`anim_on` 和 :meth:`render` 时不需要将 "
"``global_t`` 作为参数传递也能获取到"
"对该值进行设置,使得进行 :meth:`anim_on` 和 :meth:`render` 时不需要将 ``global_t`` "
"作为参数传递也能获取到"
msgstr ""
"By setting this value,``global_t`` doesn't need to be passed as a parameter "
"during :meth:`anim_on` and :meth:`render`."
"By setting this value,``global_t`` doesn't need to be passed as a "
"parameter during :meth:`anim_on` and :meth:`render`."

#: janim.anims.animation.Animation.anim_on_alpha:1 of
msgid "动画在 ``alpha`` 处的行为"
msgstr "Behavior of the animation at the given ``alpha``"

#: janim.anims.animation.RenderCall:1 of
msgid "绘制调用"
msgstr "Render call"

#: janim.anims.animation.RenderCall:3 of
msgid "``depth``: 该绘制的深度"
msgstr "``depth``: The depth of this rendering."

#: janim.anims.animation.RenderCall:4 of
msgid "``func``: 该绘制所调用的函数"
msgstr "``func``: The function to be called for this rendering."

#: janim.anims.animation.RenderCall:6 of
msgid "具体机制:"
msgstr "Mechanism:"

#: janim.anims.animation.RenderCall:8 of
msgid "在每个动画对象中,都会使用 :meth:`~.Animation.set_render_call_list` 来设置该动画进行绘制时所执行的函数"
msgstr ""
"In each animation object, :meth:`~.Animation.set_render_call_list` is "
"used to set the function executed when rendering this animation."

#: janim.anims.animation.RenderCall:9 of
msgid ""
"在进行渲染(具体参考 :meth:`~.TimelineAnim.render_all` )时,会按照深度进行排序,依次对 ``func`` "
"进行调用,深度越高的越先调用"
msgstr ""
"During rendering (refer to :meth:`~.TimelineAnim.render_all`), the "
"functions are called in the order of their depths, with higher depths "
"being called first."

#: janim.anims.animation.RenderCall:11 of
msgid "例:"
msgstr "Example:"

#: janim.anims.animation.RenderCall:13 of
msgid "在 :class:`~.Display` 中,设置了单个 :class:`RenderCall` ,作用是绘制物件"
msgstr ""
"In :class:`~.Display`, a single :class:`RenderCall` is set to draw an "
"item."

#: janim.anims.animation.RenderCall:14 of
msgid "在 :class:`~.Transform` 中,对于每个插值物件都设置了 :class:`RenderCall`,绘制所有的插值物件"
msgstr ""
"In :class:`Transform`, :class:`RenderCall` is set for each interpolated "
"item to render all of them"

Loading

0 comments on commit 35baceb

Please sign in to comment.