Skip to content

Commit

Permalink
Merge pull request #11522 from nanaya/annnonce
Browse files Browse the repository at this point in the history
Improve chat announcement permission message
  • Loading branch information
peppy authored Oct 3, 2024
2 parents 4fc9b6a + 5072a6a commit 39b0e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Singletons/OsuAuthorize.php
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ public function checkChatAnnounce(?User $user): string
return 'ok';
}

return $prefix.'annnonce_only';
return $prefix.'no_announce';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/en/authorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
],

'chat' => [
'annnonce_only' => 'This channel is for announcements only.',
'blocked' => 'Cannot message a user that is blocking you or that you have blocked.',
'friends_only' => 'User is blocking messages from people not on their friends list.',
'moderated' => 'This channel is currently moderated.',
'no_access' => 'You do not have access to that channel.',
'no_announce' => 'You do not have permission to post announcement.',
'receive_friends_only' => 'The user may not be able to reply because you are only accepting messages from people on your friends list.',
'restricted' => 'You cannot send messages while silenced, restricted or banned.',
'silenced' => 'You cannot send messages while silenced, restricted or banned.',
Expand Down

0 comments on commit 39b0e73

Please sign in to comment.