Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate patterns/sqlalchemy #87

Closed
wants to merge 2 commits into from
Closed

Conversation

wnykuang
Copy link
Contributor

  1. Engine 在这里应该指的只是那个变量的名字,翻译成引擎相当于徒增术语,没什么好翻的。
  2. 我不知道注释要不要翻,如果需要翻就跟我说一下就行。
  • 在 README.md 中勾选翻译的章节条目(把方括号里的空格替换为 x).
  • 在本地生成文档并预览输出,处理所有错误和异常。
  • 运行 pre-commit 钩子,处理所有问题。
  • 更新 .po 文件顶部的 Last-Translator 字段。
  • 如果你是第一个翻译者,同时更新 .po 文件顶部的 FIRST AUTHOR <EMAIL@ADDRESS>,替换为你的名字和 Email 地址。


#: ../../patterns/sqlalchemy.rst:27
msgid "Declarative"
msgstr ""
msgstr "声明"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Declarative 应该是声明式,声明式定义数据模型

Copy link
Collaborator

@frostming frostming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review了部分,存在较大问题,建议参考回复重新斟酌语句,谢谢

docs/locales/zh_CN/LC_MESSAGES/patterns/sqlalchemy.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/patterns/sqlalchemy.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/patterns/sqlalchemy.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/patterns/sqlalchemy.po Outdated Show resolved Hide resolved
@@ -46,16 +52,21 @@ msgid ""
"there is a Flask extension that handles that for you. This is "
"recommended if you want to get started quickly."
msgstr ""
"作为一种数据库抽象层和对象关系映射器, SQLAlchemy 十分流行且易用。早已有人实现了对应的Flask 插件。"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

遗漏原句的语意,请重翻这段,并且不要留下多余的空格(中文标点与英文之间无需空格)

Comment on lines +63 to +65
"`Flask-SQLAlchemy`_ 官方下载地址:"
"`PyPI <https://pypi.org/project"
"/Flask-SQLAlchemy/>`_."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以直译的没必要意译

Comment on lines +78 to +79
"可以像在Django 框架中那样,通过SQLAlchemy 中的声明扩展进行使用SQLAlchemy。"
"我推荐各位查看一下 `声明`_ 的官方文档作为对本文档的补充。"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

缺失严重,请重翻这段


#: ../../patterns/sqlalchemy.rst:34
msgid "Here's the example :file:`database.py` module for your application::"
msgstr ""
msgstr "示例: :file:`database.py`"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以直译的没必要意译

Co-authored-by: Frost Ming <mianghong@gmail.com>
@wnykuang wnykuang closed this Mar 22, 2023
@wnykuang wnykuang deleted the sqlAlchemy branch March 22, 2023 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants