Skip to content

Commit

Permalink
tweak(menu/tooltip): solved label inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Dec 30, 2021
1 parent f201efd commit 6b4af1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@
},
"announcement": {
"title": "Send Announcement",
"dialog_desc": "Send an announcement to all online players.",
"label": "Send an announcement to all online players.",
"dialog_desc": "Enter the message do you want to broadcast to all players",
"dialog_placeholder": "Your announcement...",
"dialog_success": "Sending the announcement."
},
Expand Down
2 changes: 1 addition & 1 deletion menu/src/components/MainPage/MainPageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ export const MainPageList: React.FC = () => {
//MISC
{
title: t("nui_menu.page_main.announcement.title"),
label: t("nui_menu.page_main.announcement.dialog_desc"),
label: t("nui_menu.page_main.announcement.label"),
requiredPermission: "players.message",
icon: <Announcement />,
onSelect: handleAnnounceMessage,
Expand Down

0 comments on commit 6b4af1d

Please sign in to comment.