Block Toast untranslated strings
This commit is contained in:
parent
694c6b528c
commit
d1db6fb3b3
2 changed files with 6 additions and 1 deletions
|
@ -451,6 +451,7 @@
|
|||
"Blocked": "Blocked",
|
||||
"Unblock": "Unblock",
|
||||
"You have blocked this channel content.": "You have blocked this channel content.",
|
||||
"Blocked %channelUrl%": "Blocked %channelUrl%",
|
||||
"This channel hasn't published anything yet": "This channel hasn't published anything yet",
|
||||
"Network and Data Settings": "Network and Data Settings",
|
||||
"Save all viewed content to your downloads directory": "Save all viewed content to your downloads directory",
|
||||
|
|
|
@ -35,7 +35,11 @@ export default function BlockButton(props: Props) {
|
|||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
if (!channelIsBlocked) {
|
||||
doToast({ message: `Blocked ${shortUrl}`, linkText: 'Manage', linkTarget: `/${PAGES.BLOCKED}` });
|
||||
doToast({
|
||||
message: __('Blocked %channelUrl%', { channelUrl: shortUrl }),
|
||||
linkText: __('Manage'),
|
||||
linkTarget: `/${PAGES.BLOCKED}`,
|
||||
});
|
||||
}
|
||||
|
||||
toggleBlockChannel(permanentUrl);
|
||||
|
|
Loading…
Reference in a new issue