s/hosted by/via/ (#5601)

This commit is contained in:
Jaco 2021-06-15 11:36:07 +03:00 committed by GitHub
parent 11b5925804
commit 3ba23fc20e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export function expandEndpoint (t: TFunction, { dnslink, genesisHash, homepage,
...base,
dnslink: index === 0 ? dnslink : undefined,
isRelay: false,
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host } }),
textBy: t('rpc.hosted.by', 'via {{host}}', { ns: 'apps-config', replace: { host } }),
value
}));

View File

@ -34,4 +34,11 @@ function Url ({ apiUrl, className, label, setApiUrl, url }: Props): React.ReactE
export default React.memo(styled(Url)`
padding: 0.25rem;
text-align: right;
> label {
max-width: 12.5rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
`);