- Supported NIPs:
+ {t("relays.relayView.nips")}:
{resolvedRelay.supported_nips.map((item) => (
@@ -113,26 +114,24 @@ export function RelayUrlScreen() {
{resolvedRelay.limitation ? (
- Limitation
+ {t("relays.relayView.limit")}
- {Object.keys(resolvedRelay.limitation).map(
- (key, index) => {
- return (
-
-
- {titleCase(key)}:
-
-
- {resolvedRelay.limitation[key].toString()}
-
-
- );
- },
- )}
+ {Object.keys(resolvedRelay.limitation).map((key) => {
+ return (
+
+
+ {titleCase(key)}:
+
+
+ {resolvedRelay.limitation[key].toString()}
+
+
+ );
+ })}
) : null}
@@ -144,10 +143,10 @@ export function RelayUrlScreen() {
rel="noreferrer"
className="inline-flex h-10 w-full items-center justify-center rounded-lg bg-blue-500 text-sm font-medium hover:bg-blue-600"
>
- Open payment website
+ {t("relays.relayView.payment")}
- You need to make a payment to connect this relay
+ {t("relays.relayView.paymentNote")}
) : null}
diff --git a/src-tauri/locales/en.json b/src-tauri/locales/en.json
index 61b32f5e..0127616a 100644
--- a/src-tauri/locales/en.json
+++ b/src-tauri/locales/en.json
@@ -1,7 +1,12 @@
{
"global": {
+ "relay": "Relay",
"continue": "Continue",
- "loading": "Loading"
+ "loading": "Loading",
+ "moveLeft": "Move Left",
+ "moveRight": "Move Right",
+ "newColumn": "New Column",
+ "inspect": "Inspect"
},
"welcome": {
"title": "Lume is a magnificent client for Nostr to meet, explore\nand freely share your thoughts with everyone.",
@@ -66,5 +71,23 @@
"subtitle": "Translate text to your preferred language, powered by Nostr Wine."
},
"footer": "There are many more settings you can configure from the 'Settings' Screen. Be sure to visit it later."
+ },
+ "relays": {
+ "global": "Global",
+ "follows": "Follows",
+ "sidebar": {
+ "title": "Connected relays",
+ "empty": "Empty."
+ },
+ "relayView": {
+ "empty": "Could not load relay information 😬",
+ "owner": "Owner",
+ "contact": "Contact",
+ "software": "Software",
+ "nips": "Supported NIPs",
+ "limit": "Limitation",
+ "payment": "Open payment website",
+ "paymentNote": "You need to make a payment to connect this relay"
+ }
}
}