}
diff --git a/plugins/lime-plugin-network-nodes/src/networkNodesMenu.js b/plugins/lime-plugin-network-nodes/src/networkNodesMenu.js
index 0303aa3c6..9f2019d78 100644
--- a/plugins/lime-plugin-network-nodes/src/networkNodesMenu.js
+++ b/plugins/lime-plugin-network-nodes/src/networkNodesMenu.js
@@ -1,8 +1,8 @@
import { h } from 'preact';
-import I18n from 'i18n-js';
+import { Trans } from '@lingui/macro';
const Menu = () => (
- {I18n.t('Network Nodes')}
+ Network Nodes
);
export default Menu;
diff --git a/plugins/lime-plugin-network-nodes/src/networkNodesPage.js b/plugins/lime-plugin-network-nodes/src/networkNodesPage.js
index 539c126f5..f256d8b09 100644
--- a/plugins/lime-plugin-network-nodes/src/networkNodesPage.js
+++ b/plugins/lime-plugin-network-nodes/src/networkNodesPage.js
@@ -5,7 +5,7 @@ import { Loading } from 'components/loading';
import { ExpandableNode } from './components/expandableNode';
import style from './networkNodesStyle.less';
import { useState } from 'preact/hooks';
-import I18n from 'i18n-js';
+import { Trans } from '@lingui/macro';
export const _NetworkNodes = ({ nodes, isLoading, unfoldedNode, onUnfold }) => {
if (isLoading) {
@@ -13,7 +13,7 @@ export const _NetworkNodes = ({ nodes, isLoading, unfoldedNode, onUnfold }) => {
}
return (
-
{I18n.t("Network Nodes")}
+
Network Nodes
{nodes.map((node) =>
(
- {I18n.t('Reachable Nodes')}
-);
\ No newline at end of file
+ Reachable Nodes
+);
diff --git a/plugins/lime-plugin-reachable-nodes/src/reachableNodesPage.js b/plugins/lime-plugin-reachable-nodes/src/reachableNodesPage.js
index bc02bd4fe..798a80b96 100644
--- a/plugins/lime-plugin-reachable-nodes/src/reachableNodesPage.js
+++ b/plugins/lime-plugin-reachable-nodes/src/reachableNodesPage.js
@@ -6,22 +6,28 @@ import { List } from "components/list";
import { ExpandableNode } from "plugins/lime-plugin-network-nodes/src/components/expandableNode";
import { useNetworkNodes } from "plugins/lime-plugin-network-nodes/src/networkNodesQueries";
import Help from "components/help";
-import I18n from 'i18n-js';
+import { Trans } from '@lingui/macro';
const PageHelp = () => (
-
{I18n.t("Reachable Nodes")}
- {I18n.t("These are the nodes that can be reached from your node, " +
- "i.e. there is a working path from your node to each of them.")}
+
Reachable Nodes
+
+ These are the nodes that can be reached from your node,
+ i.e. there is a working path from your node to each of them.
+
- {I18n.t("This information is synced periodically " +
- "and can be outdated by some minutes")}
+
+ This information is synced periodically
+ and can be outdated by some minutes.
+
-
{I18n.t("Unreachable Nodes")}
- {I18n.t("These are the nodes that can't be reached from your node, " +
- "it is possible that they are not turned on or a link to reach them is down.")}
+
Unreachable Nodes
+
+ These are the nodes that can't be reached from your node,
+ it is possible that they are not turned on or a link to reach them is down.
+