-
-
-
+ return (
+
+
+
+
-
- {info.forwards?.map(a => <>
-
{a.name}
-
{
- await provider.removeForward(a.id);
- }}>
-
-
-
- >)}
-
{ }} />
+
+ {info.forwards?.map(a => (
+ <>
+
{a.name}
+
{
+ await provider.removeForward(a.id);
+ }}>
+
+
+
+ >
+ ))}
+
{}} />
+
-
+ );
}
return (
@@ -258,7 +273,13 @@ export function NostrProviderDialog({
);
}
-function AddForwardInputs({ provider, onAdd }: { provider: NostrStreamProvider, onAdd: (name: string, target: string) => void }) {
+function AddForwardInputs({
+ provider,
+ onAdd,
+}: {
+ provider: NostrStreamProvider;
+ onAdd: (name: string, target: string) => void;
+}) {
const [name, setName] = useState("");
const [target, setTarget] = useState("");
const { formatMessage } = useIntl();
@@ -270,19 +291,22 @@ function AddForwardInputs({ provider, onAdd }: { provider: NostrStreamProvider,
onAdd(name, target);
}
- return <>
-
- setName(e.target.value)} />
-
-
- setTarget(e.target.value)} />
-
-
-
-
- >
-}
\ No newline at end of file
+ return (
+ <>
+
+ setName(e.target.value)}
+ />
+
+
+ setTarget(e.target.value)} />
+
+
+
+
+ >
+ );
+}
diff --git a/src/lang.json b/src/lang.json
index d885f9e..aaf9aa7 100644
--- a/src/lang.json
+++ b/src/lang.json
@@ -239,6 +239,9 @@
"Qe1MJu": {
"defaultMessage": "{name} with {amount}"
},
+ "QuXHCg": {
+ "defaultMessage": "Human readable name"
+ },
"RJ2VxG": {
"defaultMessage": "A new version has been detected"
},
@@ -275,6 +278,9 @@
"VA/Z1S": {
"defaultMessage": "Hide"
},
+ "W7DNWx": {
+ "defaultMessage": "Stream Forwarding"
+ },
"W9355R": {
"defaultMessage": "Unmute"
},
diff --git a/src/translations/en.json b/src/translations/en.json
index a7e1035..29d8a5c 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -79,6 +79,7 @@
"QRRCp0": "Stream URL",
"QceMQZ": "Goal: {amount}",
"Qe1MJu": "{name} with {amount}",
+ "QuXHCg": "Human readable name",
"RJ2VxG": "A new version has been detected",
"RJOmzk": "I have read and agree with {provider}''s {terms}.",
"RS6smY": "Raid Message",
@@ -91,6 +92,7 @@
"UJBFYK": "Add Card",
"UfSot5": "Past Streams",
"VA/Z1S": "Hide",
+ "W7DNWx": "Stream Forwarding",
"W9355R": "Unmute",
"X2PZ7D": "Create Goal",
"XgWvGA": "Reactions",