mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
fix: remote desktop auth method labels and notes for vnc and telnet
This commit is contained in:
1 parent
d2a1be2eb0
commit
7f0a825583
2 files changed
+9
-6
No files matched your search
@@ -86,6 +86,9 @@
|
|||||||
"authentication": "Authentication",
|
"authentication": "Authentication",
|
||||||
"storedCredential": "Stored Credential",
|
"storedCredential": "Stored Credential",
|
||||||
"authMethod": "Auth Method",
|
"authMethod": "Auth Method",
|
||||||
|
"authTypeDirect": "Direct",
|
||||||
|
"authTypeCredential": "Credential",
|
||||||
|
"authTypeNone": "None",
|
||||||
"authTypeNoneDesc": "No credentials are stored. You'll be prompted for a username and password each time you connect; they are not saved.",
|
"authTypeNoneDesc": "No credentials are stored. You'll be prompted for a username and password each time you connect; they are not saved.",
|
||||||
"selectCredential": "Select a credential...",
|
"selectCredential": "Select a credential...",
|
||||||
"connectionSettings": "Connection Settings",
|
"connectionSettings": "Connection Settings",
|
||||||
@@ -218,7 +221,7 @@
|
|||||||
"virtualNetwork": "Virtual Network",
|
"virtualNetwork": "Virtual Network",
|
||||||
"unencryptedShell": "Unencrypted shell",
|
"unencryptedShell": "Unencrypted shell",
|
||||||
"remoteDesktopNotes": "Notes",
|
"remoteDesktopNotes": "Notes",
|
||||||
"userDefaultsNote": "Settings left on their default use your Remote Desktop defaults from Settings.",
|
"userDefaultsNote": "Settings you leave unchanged follow your host defaults.",
|
||||||
"connectionOriginNote": "On the desktop app, RDP, VNC and Telnet use the remote server unless the host is set to This device, which needs a guacd this machine can reach. Set one in the Remote Desktop settings, or per host under guacd Proxy.",
|
"connectionOriginNote": "On the desktop app, RDP, VNC and Telnet use the remote server unless the host is set to This device, which needs a guacd this machine can reach. Set one in the Remote Desktop settings, or per host under guacd Proxy.",
|
||||||
"docsLink": "View docs",
|
"docsLink": "View docs",
|
||||||
"connectionOriginGuacamoleNote": "RDP, VNC and Telnet use the remote server unless you pick \"This device\", which needs a guacd this machine can reach. Set one in the guacd URL setting, or per host under guacd Proxy."
|
"connectionOriginGuacamoleNote": "RDP, VNC and Telnet use the remote server unless you pick \"This device\", which needs a guacd this machine can reach. Set one in the guacd URL setting, or per host under guacd Proxy."
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ function RemoteDisplay({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function SectionNotes({ protocol }: { protocol: Protocol }) {
|
function SectionNotes() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<SectionCard
|
<SectionCard
|
||||||
@@ -149,7 +149,7 @@ function SectionNotes({ protocol }: { protocol: Protocol }) {
|
|||||||
icon={<Info className="size-3.5" />}
|
icon={<Info className="size-3.5" />}
|
||||||
>
|
>
|
||||||
<div className="flex flex-col gap-2 py-3 text-xs text-muted-foreground">
|
<div className="flex flex-col gap-2 py-3 text-xs text-muted-foreground">
|
||||||
{protocol === "rdp" && <p>{t("hosts.userDefaultsNote")}</p>}
|
<p>{t("hosts.userDefaultsNote")}</p>
|
||||||
{isElectron() && <p>{t("hosts.connectionOriginNote")}</p>}
|
{isElectron() && <p>{t("hosts.connectionOriginNote")}</p>}
|
||||||
</div>
|
</div>
|
||||||
</SectionCard>
|
</SectionCard>
|
||||||
@@ -219,7 +219,7 @@ function RdpSection(props: HostEditorSectionProps) {
|
|||||||
credentials={props.credentials as never}
|
credentials={props.credentials as never}
|
||||||
/>
|
/>
|
||||||
<ToolbarCard form={form} setField={setField} />
|
<ToolbarCard form={form} setField={setField} />
|
||||||
<SectionNotes protocol="rdp" />
|
<SectionNotes />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -237,7 +237,7 @@ function VncSection(props: HostEditorSectionProps) {
|
|||||||
credentials={props.credentials as never}
|
credentials={props.credentials as never}
|
||||||
/>
|
/>
|
||||||
<ToolbarCard form={form} setField={setField} />
|
<ToolbarCard form={form} setField={setField} />
|
||||||
<SectionNotes protocol="vnc" />
|
<SectionNotes />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -253,7 +253,7 @@ function TelnetSection(props: HostEditorSectionProps) {
|
|||||||
credentials={props.credentials as never}
|
credentials={props.credentials as never}
|
||||||
/>
|
/>
|
||||||
<ToolbarCard form={form} setField={setField} />
|
<ToolbarCard form={form} setField={setField} />
|
||||||
<SectionNotes protocol="telnet" />
|
<SectionNotes />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user