From c54ea58532c55399a57c555188e678cd0b19acb8 Mon Sep 17 00:00:00 2001 From: TigerxWood Date: Sun, 12 Apr 2020 00:26:01 +0300 Subject: [PATCH] Change text displayed for blocked channels With the current string there is a problem with the translation in other languages. For example in other languages current english text would be: "You have blocked channels 10" instead of "You have 10 channels blocked." Also, what happen when there si no blocked channel? So I think the simpler form is better in thi situation. --- ui/page/settings/view.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/page/settings/view.jsx b/ui/page/settings/view.jsx index 8d06b4d39..770dc7eee 100644 --- a/ui/page/settings/view.jsx +++ b/ui/page/settings/view.jsx @@ -473,9 +473,7 @@ class SettingsPage extends React.PureComponent { title={__('Blocked Channels')} actions={

- {__('You have')} {userBlockedChannelsCount} {__('blocked')}{' '} - {userBlockedChannelsCount === 1 && __('channel')} - {userBlockedChannelsCount !== 1 && __('channels')}.{' '} + {__('Blocked Channels')}: {userBlockedChannelsCount} {' '}