Dock logos (#3889)

* Fix i18n generation

* Include .ts in check

* Rebuild all

* Fix dock
This commit is contained in:
Jaco Greeff 2020-10-16 17:58:35 +02:00 committed by GitHub
parent d09a15e8f6
commit 51d0b51e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ interface EnvWindow {
// The available endpoints that will show in the dropdown. For the most part (with the exception of
// Polkadot) we try to keep this to live chains only, with RPCs hosted by the community/chain vendor
// info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos
// info: The chain logo name as defined in ../ui/logos/index.ts in namedLogos (this also needs to align with @polkadot/networks)
// text: The text to display on the dropdown
// value: The actual hosted secure websocket endpoint
@ -110,7 +110,7 @@ function createLiveNetworks (t: TFunction): LinkOption[] {
value: 'wss://crab.darwinia.network'
},
{
info: 'dockMainnet',
info: 'dock-mainnet',
text: t('rpc.dock-mainnet', 'Dock Mainnet', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Dock Association' } }),
value: 'wss://mainnet-node.dock.io'
@ -261,7 +261,7 @@ function createTestNetworks (t: TFunction): LinkOption[] {
value: 'wss://testnet-harbour.datahighway.com'
},
{
info: 'dockTestnet',
info: 'dock-testnet',
text: t('rpc.dock-testnet', 'Dock Testnet', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Dock Association' } }),
value: 'wss://danforth-1.dock.io'

View File

@ -118,8 +118,8 @@ const namedLogos: Record<string, any> = {
centrifuge: nodeCentrifuge,
crab: nodeCrab,
crust: nodeCrust,
dockMainnet: nodeDockMainnet,
dockTestnet: nodeDockTestnet,
'dock-mainnet': nodeDockMainnet,
'dock-testnet': nodeDockTestnet,
dusty: chainDusty,
edgeware: nodeEdgeware,
empty: emptyLogo,