Skip to content

Commit

Permalink
Shorten wording of change_duration
Browse files Browse the repository at this point in the history
Signed-off-by: alfred richardsn <rchrdsn@protonmail.ch>
  • Loading branch information
r4rdsn committed Mar 15, 2020
1 parent b6ffc9d commit 7d3fd5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion locale/en/LC_MESSAGES/bot.po
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ msgstr "Archive"

#: src/handlers/base.py
msgid "change_duration"
msgstr "Change duration"
msgstr "Prolong"

#: src/handlers/base.py
msgid "escrow"
Expand Down
2 changes: 1 addition & 1 deletion locale/ru/LC_MESSAGES/bot.po
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ msgstr "Архивировать"

#: src/handlers/base.py
msgid "change_duration"
msgstr "Изменить длительность"
msgstr "Продлить"

#: src/handlers/base.py
msgid "escrow"
Expand Down
4 changes: 1 addition & 3 deletions src/handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,12 @@ async def show_order(
order["_id"], location_message_id
),
),
)
keyboard.row(
types.InlineKeyboardButton(
i18n("change_duration", locale=locale),
callback_data="edit {} duration {} 1".format(
order["_id"], location_message_id
),
)
),
)
elif "price_sell" in order:
if (
Expand Down

0 comments on commit 7d3fd5f

Please sign in to comment.