Skip to content

Commit

Permalink
Docs: fixed merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenabell committed Dec 15, 2016
2 parents a5ade9f + 39733bc commit 14baf38
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 16 deletions.
6 changes: 5 additions & 1 deletion docs/source/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ Any **5xx error** response means abnormal request processing situation and
should be reported to technical support.

Platform has to properly react to 5xx errors because such errors do not
necessarily guarantee that request has not been performed. For repeatable operations (such as :ref:`2-phase commit <2pc>`, field value modifications, etc.) you should repeat the request with some interval. For other operations (such as document upload, etc.) you should check modified object data (tender, bid, award, etc.) with bigger interval (5-10 min).
necessarily guarantee that request has not been performed. For repeatable operations (such as :ref:`2-phase commit <2pc>`, field value modifications, etc.) you should repeat the request with some interval. The time interval has to be increased for each of the following repeated requests.

Request repetition can be applied only to a specific phase of the operation. For example, if in case of executing a 2-phase commit the first phase was executed successfully (a tender was created in status `draft`), but the second phase (tender publication) failed with a 5xx error, then the request should be repeated only for the not executed phase (only for tender publication).

For other operations (such as document upload, etc.) you should check modified object data (tender, bid, award, etc.) with bigger interval (5-10 min).

500
Server error. There was a problem on OpenProcurement's end.
Expand Down
Binary file modified docs/source/locale/uk/LC_MESSAGES/errors.mo
Binary file not shown.
47 changes: 32 additions & 15 deletions docs/source/locale/uk/LC_MESSAGES/errors.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ msgid ""
msgstr ""
"Project-Id-Version: openprocurement.api 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-12 13:09+0200\n"
"PO-Revision-Date: 2016-12-12 13:10+0200\n"
"POT-Creation-Date: 2016-12-15 13:57+0200\n"
"PO-Revision-Date: 2016-12-15 14:03+0200\n"
"Last-Translator: Zoriana Zaiats <sorenabell@quintagroup.com>\n"
"Language-Team: Ukrainian <info@quintagroup.com>\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -82,11 +82,7 @@ msgid ""
"No authorization. A valid API key was not provided with the request, so "
"the API could not associate a user with the request."
msgstr ""
<<<<<<< HEAD
"Несанкційонований доступ. Не було надано дійсного API ключа разом із "
=======
" Несанкційонований доступ. Не було надано дійсного API ключа разом із "
>>>>>>> a226658477352411_5xx_err_docs
"запитом, тому API не може зв'язати користувача із запитом."

msgid "403"
Expand Down Expand Up @@ -158,25 +154,46 @@ msgid ""
"Any **5xx error** response means abnormal request processing situation "
"and should be reported to technical support."
msgstr ""
"Будь-яка **5xx помилка** означає проблемну ситуацію з обробкою запиту."
" Повідомте про таку помилку техпідтримку."
"Будь-яка **5xx помилка** означає проблемну ситуацію з обробкою запиту. "
"Повідомте про таку помилку техпідтримку."

msgid ""
"Platform has to properly react to 5xx errors because such errors do not "
"necessarily guarantee that request has not been performed. For repeatable"
" operations (such as :ref:`2-phase commit <2pc>`, field value "
"modifications, etc.) you should repeat the request with some interval. "
"The time interval has to be increased for each of the following repeated "
"requests."
msgstr ""
"Майданчик повинен коректно реагувати на 5xx помилки, оскільки такі помилки не"
" завжди гарантують, що запит не відбувся. У випадку виникнення будь-якої з"
" 5хх помилок та для повторюваних операцій (таких, як двофазний коміт,"
" модифікації значення поля і т.п.), потрібно повторювати запит з деяким"
" інтервалом. Часовий інтервал потрібно збільшувати для кожного наступного"
" повторення запиту."

msgid ""
"Request repetition can be applied only to a specific phase of the "
"operation. For example, if in case of executing a 2-phase commit the "
"first phase was executed successfully (a tender was created in status "
"`draft`), but the second phase (tender publication) failed with a 5xx "
"error, then the request should be repeated only for the not executed "
"phase (only for tender publication)."
msgstr ""
"Повторення запиту стосується лише конкретної фази операції. Наприклад, якщо"
" при здійсненні 2-фазного коміту перша фаза пройшла успішно (створено"
" закупівлю у статусі `draft`), а при виконанні другої (публікації закупівлі)"
" виникла помилка 5хх, то потрібно застосовувати повторення запиту лише для"
" нездійсненої фази (лише для публікації закупівлі)."

msgid ""
"For other operations (such as document upload, etc.) you should check "
"modified object data (tender, bid, award, etc.) with bigger interval "
"(5-10 min)."
msgstr ""
"Майданчик повинен коректно реагувати на 5xx помилки, оскільки такі "
"помилки не завжди гарантують, що запит не відбувся. Для повторюваних "
"операцій (таких як :ref:`двофазний коміт <2pc>`, модифікації значення "
"поля і т.п.) ви повинні повторювати запит з деяким інтервалом. Для решти "
"операцій (таких як завантаження документа і т.п.) ви повинні періодично "
"(5-10 хв) перевіряти дані модифікованого об'єкта (закупівлі, пропозиції, "
"конктракту і т.п.)."
"Для решти операцій (таких, як завантаження документа і т.п.) ви повинні"
" періодично (5-10 хв) перевіряти дані модифікованого об’єкта (закупівлі,"
" пропозиції, конктракту і т.п.)."

msgid "500"
msgstr "500"
Expand Down

0 comments on commit 14baf38

Please sign in to comment.