refactor(MM-64981): text change for no internet connection (#9271)
This commit is contained in:
parent
b11b7d1d17
commit
308aa0c45e
2 changed files with 3 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ const ConnectionBanner = ({
|
|||
clearTimeoutRef(openTimeout);
|
||||
clearTimeoutRef(closeTimeout);
|
||||
};
|
||||
}, []);
|
||||
}, []); // eslint-disable-line react-hooks/exhaustive-deps -- only run on mount
|
||||
|
||||
useDidUpdate(() => {
|
||||
if (isConnected) {
|
||||
|
|
@ -164,7 +164,7 @@ const ConnectionBanner = ({
|
|||
} else if (netInfo.isInternetReachable) {
|
||||
text = intl.formatMessage({id: 'connection_banner.not_reachable', defaultMessage: 'The server is not reachable'});
|
||||
} else {
|
||||
text = intl.formatMessage({id: 'connection_banner.not_connected', defaultMessage: 'No internet connection'});
|
||||
text = intl.formatMessage({id: 'connection_banner.not_connected', defaultMessage: 'Unable to connect to network'});
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@
|
|||
"combined_system_message.you": "You",
|
||||
"connection_banner.connected": "Connection restored",
|
||||
"connection_banner.connecting": "Connecting...",
|
||||
"connection_banner.not_connected": "No internet connection",
|
||||
"connection_banner.not_connected": "Unable to connect to network",
|
||||
"connection_banner.not_reachable": "The server is not reachable",
|
||||
"create_direct_message.title": "Create Direct Message",
|
||||
"create_post.deactivated": "You are viewing an archived channel with a deactivated user.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue