View on GitHub
File Changes
  onTransferFunds?: Function,
  onWalletAdd?: Function,
  hasAnyWallets?: boolean,
+
  onLearnMore?: Function,
};

                      
@observer
      hasAnyWallets,
      onTransferFunds,
      onWalletAdd,
+
      onLearnMore,
    } = this.props;

                      
    const topBarStyles = classNames([
        </div>
        {hasLegacyNotification && (
          <LegacyNotification
-
            onLearnMore={() => null}
+
            onLearnMore={onLearnMore}
            onTransferFunds={onTransferFundsFn}
            hasAnyWallets={hasAnyWallets}
            onWalletAdd={onWalletAdd}
    defaultMessage: '!!!Move all of the ada from this wallet',
    description: 'Add wallet action of legacy notification.',
  },
+
  learnMoreLinkUrl: {
+
    id: 'wallet.legacy.notification.learnMore.url',
+
    defaultMessage: '!!!https://iohk.zendesk.com/hc/en-us',
+
    description: '"Learn more" link URL',
+
  },
});

                      
type Props = {
    intl: intlShape.isRequired,
  };

                      
+
  onLearnMore = () => {
+
    const { intl } = this.context;
+
    const learnMoreLinkUrl = intl.formatMessage(messages.learnMoreLinkUrl);
+
    this.props.onLearnMore(learnMoreLinkUrl);
+
  };
+

                      
  render() {
    const { intl } = this.context;
-
    const {
-
      onLearnMore,
-
      onTransferFunds,
-
      hasAnyWallets,
-
      onWalletAdd,
-
    } = this.props;
+
    const { onTransferFunds, hasAnyWallets, onWalletAdd } = this.props;
    const title = intl.formatMessage(messages.title);
    const description = intl.formatMessage(messages.description);
    const actionLearnMore = intl.formatMessage(messages.actionLearnMore);
          <Button
            className={styles.actionLearnMore}
            label={actionLearnMore}
-
            onClick={onLearnMore}
+
            onClick={this.onLearnMore}
            skin={ButtonSkin}
          />
          {
    const {
      currentRoute,
      environment: { isMainnet, network },
+
      openExternalLink,
    } = app;
    const hasAnyWallets = allWallets.length > allLegacyWallets.length;
    const walletRoutesMatch = matchRoute(
        onTransferFunds={onTransferFunds}
        hasAnyWallets={hasAnyWallets}
        onWalletAdd={onWalletAdd}
+
        onLearnMore={openExternalLink}
      >
        {testnetLabel}
        <NodeSyncStatusIcon networkStatus={networkStatus} />
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!anfordern",
          "column": 13,
          "line": 32
        }
+
      },
+
      {
+
        "defaultMessage": "!!!https://iohk.zendesk.com/hc/en-us",
+
        "description": "\"Learn more\" link URL",
+
        "end": {
+
          "column": 3,
+
          "line": 42
+
        },
+
        "file": "source/renderer/app/components/notifications/LegacyNotification.js",
+
        "id": "wallet.legacy.notification.learnMore.url",
+
        "start": {
+
          "column": 20,
+
          "line": 37
+
        }
      }
    ],
    "path": "source/renderer/app/components/notifications/LegacyNotification.json"
        "description": "Title in the transfer funds form.",
        "end": {
          "column": 3,
-
          "line": 26
+
          "line": 27
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.title",
        "start": {
          "column": 15,
-
          "line": 22
+
          "line": 23
        }
      },
      {
        "defaultMessage": "!!!Confirm transfer from the {sourceWalletName}wallet to the {targetWalletName} wallet.",
        "description": "description in the transfer funds form.",
        "end": {
          "column": 3,
-
          "line": 32
+
          "line": 33
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.label.description",
        "start": {
          "column": 15,
-
          "line": 27
+
          "line": 28
        }
      },
      {
        "defaultMessage": "!!!To",
        "description": "Label To in the transfer funds form",
        "end": {
          "column": 3,
-
          "line": 37
+
          "line": 38
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.label.to",
        "start": {
          "column": 11,
-
          "line": 33
+
          "line": 34
        }
      },
      {
        "defaultMessage": "!!!Amount",
        "description": "Label Amount in the transfer funds form",
        "end": {
          "column": 3,
-
          "line": 42
+
          "line": 43
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.label.amount",
        "start": {
          "column": 15,
-
          "line": 38
+
          "line": 39
        }
      },
      {
        "defaultMessage": "!!!Fees",
        "description": "Label Fees in the transfer funds form",
        "end": {
          "column": 3,
-
          "line": 47
+
          "line": 48
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.label.fees",
        "start": {
          "column": 13,
-
          "line": 43
+
          "line": 44
        }
      },
      {
        "defaultMessage": "!!!Total",
        "description": "Total Fees in the transfer funds form",
        "end": {
          "column": 3,
-
          "line": 52
+
          "line": 53
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.label.total",
        "start": {
          "column": 14,
-
          "line": 48
+
          "line": 49
        }
      },
      {
        "defaultMessage": "!!!Transfer funds",
        "description": "buttonLabel in the transfer funds form.",
        "end": {
          "column": 3,
-
          "line": 57
+
          "line": 58
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.label.buttonLabel",
        "start": {
          "column": 15,
-
          "line": 53
+
          "line": 54
        }
      },
      {
        "defaultMessage": "!!!Type your spending password",
        "description": "passphraseFieldPlaceholder in the transfer funds form.",
        "end": {
          "column": 3,
-
          "line": 62
+
          "line": 63
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.passphraseFieldPlaceholder",
        "start": {
          "column": 30,
-
          "line": 58
+
          "line": 59
        }
      },
      {
        "defaultMessage": "!!!Spending password",
        "description": "passphraseLabel in the transfer funds form.",
        "end": {
          "column": 3,
-
          "line": 67
+
          "line": 68
        },
        "file": "source/renderer/app/components/wallet/transfer-funds/TransferFundsStep2Dialog.js",
        "id": "wallet.transferFunds.dialog2.passphraseLabel",
        "start": {
          "column": 19,
-
          "line": 63
+
          "line": 64
        }
      }
    ],
  "wallet.legacy.notification.actionMove": "Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "Add wallet",
  "wallet.legacy.notification.description": "This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "Move funds from the legacy wallet",
  "wallet.navigation.more": "More",
  "wallet.navigation.receive": "Receive",
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!primi",
  "wallet.legacy.notification.actionMove": "すべてのADAをこのウォレットから移す",
  "wallet.legacy.notification.addWallet": "ウォレットを追加",
  "wallet.legacy.notification.description": "これは旧アドレスを使用している旧タイプのウォレットであり、新機能をサポートしていません。 このウォレットに含まれるすべてのADAを、新機能の使用が可能な新タイプのウォレットに移してください。既存のウォレットへ移動させたくない場合は、新規にウォレットを作成することもできます。画面の指示に従って手続きをしてください。",
+
  "wallet.legacy.notification.learnMore.url": "https://iohk.zendesk.com/hc/ja",
  "wallet.legacy.notification.title": "旧ウォレットから資金を移してください",
  "wallet.navigation.more": "その他",
  "wallet.navigation.receive": "入金",
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!Receive",
  "wallet.legacy.notification.actionMove": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.addWallet": "!!!Move all of the ada from this wallet",
  "wallet.legacy.notification.description": "!!!This is a legacy wallet which uses legacy addresses and does not support new features. Please move all of the ada from this legacy wallet to one of the wallets where new features are available. You can also create a brand new wallet for your ada in case you don’t want to move ada to one of your existing wallets. A sequence of screens will guide you through the process.",
+
  "wallet.legacy.notification.learnMore.url": "!!!https://iohk.zendesk.com/hc/en-us",
  "wallet.legacy.notification.title": "!!!Move funds from the legacy wallet",
  "wallet.navigation.more": "!!!More",
  "wallet.navigation.receive": "!!!Receive",