Skip to content

Commit

Permalink
link to settings in sm and edit in md
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Dec 18, 2023
1 parent eef4e52 commit a34bf65
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
7 changes: 6 additions & 1 deletion packages/app/src/Pages/Profile/ProfilePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,12 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
)}
{isMe ? (
<>
<Link to="/settings/profile">
<Link className="md:hidden" to="/settings">
<button>
<FormattedMessage defaultMessage="Settings" id="D3idYv" />
</button>
</Link>
<Link className="hidden md:inline" to="/settings/profile">
<button>
<FormattedMessage defaultMessage="Edit" id="wEQDC6" />
</button>
Expand Down
12 changes: 9 additions & 3 deletions packages/app/src/lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,9 @@
"HhcAVH": {
"defaultMessage": "You don't follow this person, click here to load media from <i>{link}</i>, or update <a><i>your preferences</i></a> to always load media from everybody."
},
"HqRNN8": {
"defaultMessage": "Support"
},
"IEwZvs": {
"defaultMessage": "Are you sure you want to unpin this note?"
},
Expand Down Expand Up @@ -873,6 +876,9 @@
"Tpy00S": {
"defaultMessage": "People"
},
"TwyMau": {
"defaultMessage": "Account"
},
"U1aPPi": {
"defaultMessage": "Stop listening"
},
Expand Down Expand Up @@ -1170,9 +1176,6 @@
"g5pX+a": {
"defaultMessage": "About"
},
"g6h5Y+": {
"defaultMessage": "Log Out"
},
"g985Wp": {
"defaultMessage": "Failed to send vote"
},
Expand Down Expand Up @@ -1224,6 +1227,9 @@
"hniz8Z": {
"defaultMessage": "here"
},
"hvFRBo": {
"defaultMessage": "Interaction"
},
"i/dBAR": {
"defaultMessage": "Zap Pool"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/app/src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
"HWbkEK": "Clear cache and reload",
"HbefNb": "Open Wallet",
"HhcAVH": "You don't follow this person, click here to load media from <i>{link}</i>, or update <a><i>your preferences</i></a> to always load media from everybody.",
"HqRNN8": "Support",
"IEwZvs": "Are you sure you want to unpin this note?",
"IKKHqV": "Follows",
"IOu4Xh": "You must be a {tier} subscriber to access {app} deck",
Expand Down Expand Up @@ -287,6 +288,7 @@
"TdtZQ5": "Crypto",
"TpgeGw": "Hex Salt..",
"Tpy00S": "People",
"TwyMau": "Account",
"U1aPPi": "Stop listening",
"UDYlxu": "Pending Subscriptions",
"UJTWqI": "Remove from my relays",
Expand Down Expand Up @@ -385,7 +387,6 @@
"fqwcJ1": "On-chain Donation",
"fsB/4p": "Saved",
"g5pX+a": "About",
"g6h5Y+": "Log Out",
"g985Wp": "Failed to send vote",
"gDzDRs": "Emoji to send when reactiong to a note",
"gXgY3+": "Not all clients support this yet",
Expand All @@ -403,6 +404,7 @@
"hicxcO": "Show replies",
"hmZ3Bz": "Media",
"hniz8Z": "here",
"hvFRBo": "Interaction",
"i/dBAR": "Zap Pool",
"iCqGww": "Reactions ({n})",
"iEoXYx": "DeepL translations",
Expand Down

0 comments on commit a34bf65

Please sign in to comment.