Skip to content

Commit

Permalink
Check insurance limit
Browse files Browse the repository at this point in the history
Signed-off-by: alfred richardsn <rchrdsn@protonmail.ch>
  • Loading branch information
r4rdsn committed Nov 11, 2019
1 parent f85358b commit 9d0ac6a
Show file tree
Hide file tree
Showing 5 changed files with 206 additions and 105 deletions.
89 changes: 51 additions & 38 deletions locale/en/LC_MESSAGES/bot.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-10-29 03:16+0300\n"
"POT-Creation-Date: 2019-11-11 03:43+0300\n"
"PO-Revision-Date: 2019-10-03 14:00+0300\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.6.0\n"
"Generated-By: Babel 2.7.0\n"

#: src/escrow/blockchain/__init__.py
msgid "Transaction has passed. I'll notify should you get {}."
Expand Down Expand Up @@ -102,22 +102,6 @@ msgstr ""
msgid "Skip"
msgstr ""

#: src/handlers/__init__.py
msgid "Send decimal number."
msgstr ""

#: src/handlers/__init__.py
msgid "Send positive number."
msgstr ""

#: src/handlers/__init__.py
msgid "Send number less than"
msgstr ""

#: src/handlers/__init__.py
msgid "Send number greater than"
msgstr ""

#: src/handlers/__init__.py
msgid "There are no orders."
msgstr ""
Expand All @@ -130,14 +114,6 @@ msgstr ""
msgid "Page {} of {}"
msgstr ""

#: src/handlers/__init__.py
msgid "There are no more orders."
msgstr ""

#: src/handlers/__init__.py
msgid "There are no previous orders."
msgstr ""

#: src/handlers/__init__.py
msgid "Amount of buying:"
msgstr ""
Expand Down Expand Up @@ -257,19 +233,19 @@ msgid "Send cashless payment system."
msgstr ""

#: src/handlers/creation.py
msgid "Location is not found."
msgid "Send location of a preferred meeting point for cash payment."
msgstr ""

#: src/handlers/creation.py
msgid "Send duration of order in days."
msgid "Location is not found."
msgstr ""

#: src/handlers/creation.py
msgid "Choose one of these locations:"
msgid "Send duration of order in days."
msgstr ""

#: src/handlers/creation.py
msgid "Send location of a preferred meeting point for cash payment."
msgid "Choose one of these locations:"
msgstr ""

#: src/handlers/creation.py src/handlers/order.py
Expand Down Expand Up @@ -314,6 +290,23 @@ msgstr ""
msgid "Send number not exceeding order's sum."
msgstr ""

#: src/handlers/escrow.py
msgid "Continue"
msgstr ""

#: src/handlers/escrow.py src/handlers/start_menu.py
msgid "Cancel"
msgstr ""

#: src/handlers/escrow.py
msgid ""
"This number exceeds maximum amount to be insured. If you continue, only "
"{} {} will be protected and refunded in case of unexpected events during "
"the exchange.\n"
"You can send a smaller number, continue with partial insurance or cancel "
"offer."
msgstr ""

#: src/handlers/escrow.py
msgid "Do you agree to pay a fee of 5%?"
msgstr ""
Expand All @@ -334,6 +327,10 @@ msgstr ""
msgid "No"
msgstr ""

#: src/handlers/escrow.py
msgid "Escrow was cancelled."
msgstr ""

#: src/handlers/escrow.py
msgid "Send your full {currency} card number to {user}."
msgstr ""
Expand Down Expand Up @@ -384,10 +381,6 @@ msgstr ""
msgid "using {}"
msgstr ""

#: src/handlers/escrow.py src/handlers/start_menu.py
msgid "Cancel"
msgstr ""

#: src/handlers/escrow.py
msgid "Offer sent."
msgstr ""
Expand Down Expand Up @@ -420,10 +413,6 @@ msgstr ""
msgid "You can't cancel this offer until transaction will be verified."
msgstr ""

#: src/handlers/escrow.py
msgid "Escrow was cancelled."
msgstr ""

#: src/handlers/escrow.py
msgid "Did you get {} from {}?"
msgstr ""
Expand Down Expand Up @@ -452,6 +441,14 @@ msgstr ""
msgid "Order is not found."
msgstr ""

#: src/handlers/order.py
msgid "There are no more orders."
msgstr ""

#: src/handlers/order.py
msgid "There are no previous orders."
msgstr ""

#: src/handlers/order.py
msgid "Send order's ID as an argument."
msgstr ""
Expand Down Expand Up @@ -532,6 +529,22 @@ msgstr ""
msgid "Reply is sent."
msgstr ""

#: src/money.py
msgid "Send decimal number."
msgstr ""

#: src/money.py
msgid "Send positive number."
msgstr ""

#: src/money.py
msgid "Send number less than"
msgstr ""

#: src/money.py
msgid "Send number greater than"
msgstr ""

#: src/notifications.py
msgid "Your order has expired."
msgstr ""
94 changes: 56 additions & 38 deletions locale/ru/LC_MESSAGES/bot.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-10-29 03:16+0300\n"
"POT-Creation-Date: 2019-11-11 03:43+0300\n"
"PO-Revision-Date: 2019-02-24 04:46+0300\n"
"Last-Translator: alfred richardsn <rchrdsn@protonmail.ch>\n"
"Language: ru\n"
Expand All @@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.6.0\n"
"Generated-By: Babel 2.7.0\n"

#: src/escrow/blockchain/__init__.py
msgid "Transaction has passed. I'll notify should you get {}."
Expand Down Expand Up @@ -106,22 +106,6 @@ msgstr "Назад"
msgid "Skip"
msgstr "Пропустить"

#: src/handlers/__init__.py
msgid "Send decimal number."
msgstr "Отправьте десятичное число."

#: src/handlers/__init__.py
msgid "Send positive number."
msgstr "Отправьте положительное число."

#: src/handlers/__init__.py
msgid "Send number less than"
msgstr "Отправьте число меньшее, чем"

#: src/handlers/__init__.py
msgid "Send number greater than"
msgstr "Отправьте число большее, чем"

#: src/handlers/__init__.py
msgid "There are no orders."
msgstr "Нет заказов."
Expand All @@ -134,14 +118,6 @@ msgstr "Инвертировать"
msgid "Page {} of {}"
msgstr "Страница {} из {}"

#: src/handlers/__init__.py
msgid "There are no more orders."
msgstr "Больше нет заказов."

#: src/handlers/__init__.py
msgid "There are no previous orders."
msgstr "Нет предыдущих заказов."

#: src/handlers/__init__.py
msgid "Amount of buying:"
msgstr "Сумма покупки:"
Expand Down Expand Up @@ -260,6 +236,10 @@ msgstr "Выберите валюту суммы кнопками."
msgid "Send cashless payment system."
msgstr "Отправьте систему безналичной оплаты."

#: src/handlers/creation.py
msgid "Send location of a preferred meeting point for cash payment."
msgstr "Отправьте локацию предпочитаемого места встречи для наличной оплаты."

#: src/handlers/creation.py
msgid "Location is not found."
msgstr "Локация не найдена."
Expand All @@ -272,10 +252,6 @@ msgstr "Отправьте продолжительность заказа в д
msgid "Choose one of these locations:"
msgstr "Выберите одну из этих локаций:"

#: src/handlers/creation.py
msgid "Send location of a preferred meeting point for cash payment."
msgstr "Отправьте локацию предпочитаемого места встречи для наличной оплаты."

#: src/handlers/creation.py src/handlers/order.py
msgid "Send natural number."
msgstr "Отправьте натуральное число."
Expand Down Expand Up @@ -320,6 +296,28 @@ msgstr "Предложение неактивно."
msgid "Send number not exceeding order's sum."
msgstr "Отправьте число, не превышающее сумму заявки."

#: src/handlers/escrow.py
msgid "Continue"
msgstr "Продолжить"

#: src/handlers/escrow.py src/handlers/start_menu.py
msgid "Cancel"
msgstr "Отменить"

#: src/handlers/escrow.py
msgid ""
"This number exceeds maximum amount to be insured. If you continue, only "
"{} {} will be protected and refunded in case of unexpected events during "
"the exchange.\n"
"You can send a smaller number, continue with partial insurance or cancel "
"offer."
msgstr ""
"Это число превышает максимальное количество, которое можно застраховать. Если вы продолжите, только "
"{} {} будут защищены и возмещены в случае неожиданных событий во время "
"обмена.\n"
"Вы можете отправить меньшее число, продолжить с частичным страхованием или отменить "
"предложение."

#: src/handlers/escrow.py
msgid "Do you agree to pay a fee of 5%?"
msgstr "Вы согласны заплатить комиссию 5%?"
Expand All @@ -340,6 +338,10 @@ msgstr "Да"
msgid "No"
msgstr "Нет"

#: src/handlers/escrow.py
msgid "Escrow was cancelled."
msgstr "Эскроу отменено."

#: src/handlers/escrow.py
msgid "Send your full {currency} card number to {user}."
msgstr "Отправьте {user} полный номер вашей карты {currency}."
Expand Down Expand Up @@ -392,10 +394,6 @@ msgstr "Вы получили предложение эскроу от {} на
msgid "using {}"
msgstr "используя {}"

#: src/handlers/escrow.py src/handlers/start_menu.py
msgid "Cancel"
msgstr "Отменить"

#: src/handlers/escrow.py
msgid "Offer sent."
msgstr "Предложение отправлено."
Expand Down Expand Up @@ -430,10 +428,6 @@ msgstr ""
"Вы не можете отменить это предложение пока транзакция не будет "
"подтверждена."

#: src/handlers/escrow.py
msgid "Escrow was cancelled."
msgstr "Эскроу отменено."

#: src/handlers/escrow.py
msgid "Did you get {} from {}?"
msgstr "Вы получили {} от {}?"
Expand Down Expand Up @@ -462,6 +456,14 @@ msgstr "Мы вручную проверим ваше обращение и оп
msgid "Order is not found."
msgstr "Заказ не найден."

#: src/handlers/order.py
msgid "There are no more orders."
msgstr "Больше нет заказов."

#: src/handlers/order.py
msgid "There are no previous orders."
msgstr "Нет предыдущих заказов."

#: src/handlers/order.py
msgid "Send order's ID as an argument."
msgstr "Отправьте ID заказа как аргумент."
Expand Down Expand Up @@ -542,6 +544,22 @@ msgstr "Ваше сообщение переслано. Мы ответим ва
msgid "Reply is sent."
msgstr "Ответ отправлен."

#: src/money.py
msgid "Send decimal number."
msgstr "Отправьте десятичное число."

#: src/money.py
msgid "Send positive number."
msgstr "Отправьте положительное число."

#: src/money.py
msgid "Send number less than"
msgstr "Отправьте число меньшее, чем"

#: src/money.py
msgid "Send number greater than"
msgstr "Отправьте число большее, чем"

#: src/notifications.py
msgid "Your order has expired."
msgstr "Срок действия вашего заказа истёк."

0 comments on commit 9d0ac6a

Please sign in to comment.