Skip to content

Commit

Permalink
chore: change HOME to HOLDERBOT keyboard lang key (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
erfjab authored Nov 8, 2024
1 parent 7775275 commit dab10e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions utils/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def cancel() -> InlineKeyboardMarkup:
InlineKeyboardBuilder()
.row(
InlineKeyboardButton(
text=KeyboardTexts.HOME,
text=KeyboardTexts.HOLDERBOT,
callback_data=PagesCallbacks(page=PagesActions.HOME).pack(),
)
)
Expand Down Expand Up @@ -89,7 +89,7 @@ def user_status(action: AdminActions) -> InlineKeyboardMarkup:
),
)
kb.button(
text=KeyboardTexts.HOME,
text=KeyboardTexts.HOLDERBOT,
callback_data=PagesCallbacks(page=PagesActions.HOME).pack(),
)
return kb.adjust(2).as_markup()
Expand Down Expand Up @@ -129,7 +129,7 @@ def inbounds(
callback_data=UserInboundsCallbacks(action=action, is_done=True).pack(),
),
InlineKeyboardButton(
text=KeyboardTexts.HOME,
text=KeyboardTexts.HOLDERBOT,
callback_data=PagesCallbacks(page=PagesActions.HOME).pack(),
),
)
Expand All @@ -150,7 +150,7 @@ def admins(admins: list[Admin]) -> InlineKeyboardMarkup:

kb.row(
InlineKeyboardButton(
text=KeyboardTexts.HOME,
text=KeyboardTexts.HOLDERBOT,
callback_data=PagesCallbacks(page=PagesActions.HOME).pack(),
),
)
Expand Down Expand Up @@ -186,7 +186,7 @@ def node_monitoring() -> InlineKeyboardMarkup:
kb.adjust(2)
kb.row(
InlineKeyboardButton(
text=KeyboardTexts.HOME,
text=KeyboardTexts.HOLDERBOT,
callback_data=PagesCallbacks(page=PagesActions.HOME).pack(),
),
)
Expand All @@ -213,7 +213,7 @@ def users() -> InlineKeyboardMarkup:
)
kb.row(
InlineKeyboardButton(
text=KeyboardTexts.HOME,
text=KeyboardTexts.HOLDERBOT,
callback_data=PagesCallbacks(page=PagesActions.HOME).pack(),
),
width=1,
Expand Down Expand Up @@ -249,7 +249,7 @@ def select_nodes(
kb.adjust(2)
kb.row(
InlineKeyboardButton(
text=KeyboardTexts.HOME,
text=KeyboardTexts.HOLDERBOT,
callback_data=PagesCallbacks(page=PagesActions.HOME).pack(),
),
InlineKeyboardButton(
Expand Down
2 changes: 1 addition & 1 deletion utils/lang.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class KeyboardTextsFile(BaseSettings):
env_file=".env", extra="ignore"
)

HOME: str = "🏠 Back to home"
HOLDERBOT: str = "🏠 Back to home"
USER_CREATE: str = "👤 User Create"
NODE_MONITORING: str = "🗃 Node Monitoring"
ACTIVE: str = "✅ Active"
Expand Down

0 comments on commit dab10e7

Please sign in to comment.