- Choix de l'accès au pare-feu selon le système (HostNetworkAccessConfig) : Windows (PowerShell, UAC), Linux, sinon pas de diagnostic. - Linux, sans droits root : ufw détecté via /etc/ufw/ufw.conf, firewalld via systemctl ; firewalld dit si le port est ouvert (firewall-cmd --query-port). Règles ufw illisibles sans root : port « inconnu », jamais de faux « prêt ». - Vérification du réseau : état du pare-feu Linux et commande exacte à lancer sur la machine (sudo ufw allow <port>/tcp, ou firewall-cmd), avec bouton « Copier ». Pas d'autorisation en un clic (serveur sans écran). - Le diagnostic reçoit le port réglé de l'accès distant. Vérifié : core clean verify (1228 tests, dont lecture de ufw.conf, interprétation de firewall-cmd et verdicts Linux), web build + 342 vitest, lint sans erreur. À redéployer : core + web (mode bureau ; aucune migration).
82 lines
5.3 KiB
JSON
82 lines
5.3 KiB
JSON
{
|
|
"remoteAccess": {
|
|
"settings": {
|
|
"title": "Access from a tablet",
|
|
"hint": "Browse and edit your campaigns from a tablet or phone on the same Wi-Fi as this PC. Each device must be authorized once, with a code shown here.",
|
|
"enable": "Allow access from the local network",
|
|
"firewallNote": "Once access is on, DM Loremind checks that the Windows firewall and your network type let the tablet through, and helps you fix it if needed. Only turn it on at home, never on public Wi-Fi.",
|
|
"addressTitle": "Address to open on the tablet",
|
|
"noAddress": "No local network address found: check that this PC is connected to your Wi-Fi or home router.",
|
|
"pairTitle": "Connect a device",
|
|
"connectDevice": "Connect a device",
|
|
"pairSteps": "On the tablet, scan the QR code, or open the address above and enter this code:",
|
|
"codeAria": "Pairing code {{code}}",
|
|
"qrAlt": "QR code to connect the tablet",
|
|
"expiresIn": "Valid for {{time}} more, for a single device",
|
|
"newCode": "New code",
|
|
"codeError": "Unable to create a pairing code.",
|
|
"saveError": "Unable to save the setting.",
|
|
"devicesTitle": "Authorized devices",
|
|
"noDevices": "No authorized device yet.",
|
|
"lastSeen": "Last connection: {{date}}",
|
|
"revoke": "Remove access",
|
|
"revokeTitle": "Remove access?",
|
|
"revokeMessage": "\"{{name}}\" will no longer be able to access DM Loremind. A new code will be needed to reconnect it.",
|
|
"revokeError": "Unable to remove this device's access.",
|
|
"advanced": "Advanced settings",
|
|
"portLabel": "Network port",
|
|
"applyPort": "Apply",
|
|
"outsideNote": "To reach it away from home (on 4G, at a friend's), the documentation explains how to use Tailscale, a free encrypted private network. Don't open this port to the Internet on your router.",
|
|
"onDevice": "You are connected from a tablet: settings can only be changed on the PC where DM Loremind is installed."
|
|
},
|
|
"pair": {
|
|
"title": "Connect this device",
|
|
"text": "On the PC, open Settings > Access from a tablet, then \"Connect a device\". Enter the 6-digit code shown there.",
|
|
"codeLabel": "Pairing code",
|
|
"nameLabel": "Name of this device",
|
|
"nameHint": "To recognize it in the list of authorized devices.",
|
|
"submit": "Connect",
|
|
"submitting": "Connecting…",
|
|
"rejected": "Code rejected: check it, or show a new code on the PC.",
|
|
"failed": "Connection failed. Check that the PC is on and on the same network.",
|
|
"defaultTablet": "Tablet",
|
|
"defaultPhone": "Phone",
|
|
"defaultDevice": "Device",
|
|
"onHostTitle": "You're on the PC",
|
|
"onHostText": "This page is for connecting a tablet. On this PC, access is managed from Settings.",
|
|
"onHostLink": "Open access settings"
|
|
},
|
|
"network": {
|
|
"title": "Network check",
|
|
"ready": "The firewall and the network let the tablet through.",
|
|
"publicProblem": "Windows considers your network \"{{names}}\" public: it blocks other devices, even with the firewall permission.",
|
|
"publicHowTo": "If it's your home network, switch it to \"Private\": Windows network settings > your Wi-Fi > Properties > Network profile type: Private. Then check again.",
|
|
"openSettings": "Open network settings",
|
|
"firewallMissing": "The Windows firewall doesn't let DM Loremind through yet: the tablet would load forever.",
|
|
"firewallBlocked": "The Windows firewall blocks DM Loremind (a permission was probably declined).",
|
|
"allowFirewall": "Allow through the firewall",
|
|
"fixing": "Confirm in the Windows prompt…",
|
|
"uacNote": "Windows will ask for administrator confirmation. DM Loremind will be allowed on private networks only.",
|
|
"recheck": "Check again",
|
|
"checking": "Checking…",
|
|
"fix": {
|
|
"APPLIED": "Done: DM Loremind is allowed through the firewall.",
|
|
"CANCELLED": "Confirmation cancelled: nothing was changed.",
|
|
"FAILED": "The permission failed. You can try again, or add it manually (see the documentation).",
|
|
"UNSUPPORTED": "This check is only available on Windows."
|
|
},
|
|
"windowsReady": "The Windows firewall and the network type let the tablet through.",
|
|
"thirdParty": "{{names}} also filters connections on this PC, with its own rules that DM Loremind can't check. Until it allows it, the tablet will load forever.",
|
|
"thirdPartyHowTo": "In that software's firewall settings: classify your Wi-Fi as a home network (not public, stealth mode off), then add a rule allowing incoming connections for DM Loremind.",
|
|
"docLink": "See how to fix it",
|
|
"docUrl": "https://loremind-docs.igmlcreation.fr/en/docs/configuration/acces-tablette#the-tablet-loads-forever",
|
|
"linuxNone": "No ufw or firewalld firewall is active on this machine: nothing to open.",
|
|
"linuxOpen": "The firewall ({{fw}}) lets port {{port}} through.",
|
|
"linuxClosed": "The firewall ({{fw}}) blocks port {{port}}: other devices would load forever. Open it with this command on the machine:",
|
|
"linuxUnknown": "The {{fw}} firewall is active. DM Loremind can't read its rules without administrator rights: if you haven't already, open port {{port}} with this command on the machine:",
|
|
"copy": "Copy",
|
|
"copied": "Copied"
|
|
}
|
|
}
|
|
}
|