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

inconsistent term references in translated message #274

Open
yelizariev opened this issue Jan 7, 2020 · 0 comments
Open

inconsistent term references in translated message #274

yelizariev opened this issue Jan 7, 2020 · 0 comments

Comments

@yelizariev
Copy link

Надо поисправлять ошибки вида

/mnt/files/odoo/odoo-13.0/odoo/doc/webservices/odoo.rst:458: WARNING: inconsistent term references in translated message. original: [':meth:~odoo.models.Model.search_count', ':ref:domain <reference/orm/domains>', ':meth:~odoo.models.Model.search'], translated: [':meth:~odoo.models.Model.search_count', ':ref:domain <reference/orm/domains>filter as :meth:~odoo.models.Model.search_count']

В коде:

#: ../../webservices/odoo.rst:458
msgid ""
"Rather than retrieve a possibly gigantic list of records and count them, "
":meth:`~odoo.models.Model.search_count` can be used to retrieve only the "
"number of records matching the query. It takes the same :ref:`domain "
"<reference/orm/domains>` filter as :meth:`~odoo.models.Model.search` and no "
"other parameter."
msgstr ""
"Вместо того, чтобы извлекать возможно гигантский список записей и "
"подсчитывать их, :meth:`~odoo.models.Model.search_count` может "
"использоваться для получения только того количества записей, которые "
"соответствуют запросу. Требуется то же самое :ref:`domain "
"<reference/orm/domains>`filter as :meth:`~odoo.models.Model.search_count` и "
"никаких других параметров."

Т.е. ссылки в оригинале отличаются от ссылок в переводе.

Для получения всех ошибок надо выполнить команды:

cd doc
make html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant