+
+ {formData.url.match(/\.onion/i) && (
+
+ {
+ setHasTorSupport(hasTor);
+ }}
+ />
+
+ )}
+
+ );
+}
diff --git a/src/app/screens/connectors/ConnectBtcpay/index.tsx b/src/app/screens/connectors/ConnectBtcpayLND/index.tsx
similarity index 97%
rename from src/app/screens/connectors/ConnectBtcpay/index.tsx
rename to src/app/screens/connectors/ConnectBtcpayLND/index.tsx
index 5efb6d0376..5ece6082ef 100644
--- a/src/app/screens/connectors/ConnectBtcpay/index.tsx
+++ b/src/app/screens/connectors/ConnectBtcpayLND/index.tsx
@@ -18,10 +18,10 @@ const initialFormData = {
name: "",
};
-export default function ConnectBtcpay() {
+export default function ConnectBtcpayLND() {
const navigate = useNavigate();
const { t } = useTranslation("translation", {
- keyPrefix: "choose_connector.btcpay",
+ keyPrefix: "choose_connector.btcpay_lnd",
});
const [formData, setFormData] = useState(initialFormData);
const [loading, setLoading] = useState(false);
diff --git a/src/i18n/locales/en/translation.json b/src/i18n/locales/en/translation.json
index 144b6e7e6b..91bc23a8ac 100644
--- a/src/i18n/locales/en/translation.json
+++ b/src/i18n/locales/en/translation.json
@@ -258,10 +258,25 @@
}
},
"btcpay": {
- "title": "BTCPay Server",
+ "title": "BTCPay Server"
+ },
+ "btcpay_lnd": {
+ "page": {
+ "title": "Connect to BTCPay LND",
+ "instructions": "Navigate to your BTCPayServer and log in as an admin. Go to Server Settings > Services > LND REST - See information. Then Click \"See QR Code information\" and copy the QR Code data. Paste it below:"
+ },
+ "config": {
+ "label": "Config data",
+ "placeholder": "config=https://your-btc-pay.org/lnd-config/212121/lnd.co"
+ },
+ "errors": {
+ "connection_failed": "Connection failed. Is the BTCPay connection URL correct and accessible?"
+ }
+ },
+ "btcpay_commando": {
"page": {
- "title": "Connect to your BTCPay LND node",
- "instructions": "Navigate to your BTCPayServer and log in as an admin. Go to Server Settings > Services > LND Rest - See information. Then Click \"See QR Code information\" and copy the QR Code data. Paste it below:"
+ "title": "Connect to BTCPay CLN",
+ "instructions": "Navigate to your BTCPayServer and log in as an admin. Go to Server Settings > Services > C- Lightning REST - See information. Then Click \"See QR Code information\" and copy the QR Code data. Paste it below:"
},
"config": {
"label": "Config data",