feat: add a setting for sudo over ssh

This commit is contained in:
Felitendo committed 2026-09-28 14:38:02 +02:00
1 parent 658adb7da7
commit d8bbefed8a
22 files changed
+1367 -1320

No files matched your search

+96 -94
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: face-unlock 1.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/LoonixTools/face-unlock/issues\n"
"POT-Creation-Date: 2026-09-28 14:34+0200\n"
"POT-Creation-Date: 2026-09-28 14:36+0200\n"
"PO-Revision-Date: 2026-09-24 12:00+0200\n"
"Last-Translator: Felitendo\n"
"Language-Team: Italian\n"
@@ -58,9 +58,9 @@ msgstr "Nessun volto aggiunto."
msgid "First, set up your face."
msgstr "Per prima cosa, configura il tuo volto."
#: src/face-unlock:100 src/face-unlock:150 src/lib/menu.sh:529
#: src/lib/menu.sh:533 src/lib/menu.sh:539 src/lib/menu.sh:541
#: src/lib/system.sh:409 src/lib/system.sh:415
#: src/face-unlock:100 src/face-unlock:150 src/lib/menu.sh:531
#: src/lib/menu.sh:535 src/lib/menu.sh:541 src/lib/menu.sh:543
#: src/lib/system.sh:410 src/lib/system.sh:416
msgid "Could not save the setting."
msgstr "Impossibile salvare l'impostazione."
@@ -120,16 +120,16 @@ msgstr ""
msgid "No face is set up yet."
msgstr "Nessun volto ancora configurato."
#: src/face-unlock:179 src/lib/menu.sh:180 src/lib/menu.sh:703
#: src/face-unlock:179 src/lib/menu.sh:180 src/lib/menu.sh:705
msgid "on"
msgstr "attivo"
#: src/face-unlock:179 src/lib/menu.sh:182 src/lib/menu.sh:192
#: src/lib/menu.sh:704
#: src/lib/menu.sh:706
msgid "off"
msgstr "disattivo"
#: src/face-unlock:181 src/lib/menu.sh:721
#: src/face-unlock:181 src/lib/menu.sh:723
#, sh-printf-format
msgid "%s samples, %s learned"
msgstr "%s campioni, %s appresi"
@@ -159,7 +159,7 @@ msgstr "Attiva lo sblocco con il volto"
msgid "Turn it off (faces are kept)"
msgstr "Disattivalo (i volti restano salvati)"
#: src/face-unlock:207 src/lib/menu.sh:789
#: src/face-unlock:207 src/lib/menu.sh:791
msgid "Add a face"
msgstr "Aggiungi un volto"
@@ -203,7 +203,7 @@ msgstr ""
"Esegui questo con il tuo utente, non come root. Chiede la password quando "
"serve."
#: src/face-unlock:258 src/lib/system.sh:105
#: src/face-unlock:258 src/lib/system.sh:106
#, sh-printf-format
msgid "Unknown command: %s"
msgstr "Comando sconosciuto: %s"
@@ -393,11 +393,11 @@ msgstr ""
msgid "[y/N]"
msgstr "[s/N]"
#: src/lib/menu.sh:172 src/lib/menu.sh:595
#: src/lib/menu.sh:172 src/lib/menu.sh:597
msgid "ON"
msgstr "ATTIVO"
#: src/lib/menu.sh:174 src/lib/menu.sh:596
#: src/lib/menu.sh:174 src/lib/menu.sh:598
msgid "OFF"
msgstr "DISATTIVO"
@@ -438,7 +438,7 @@ msgstr "lenta"
msgid "%s seconds"
msgstr "%s secondi"
#: src/lib/menu.sh:202 src/lib/menu.sh:464
#: src/lib/menu.sh:202 src/lib/menu.sh:466
msgid "automatic"
msgstr "automatica"
@@ -475,8 +475,8 @@ msgstr "non in esecuzione"
msgid "Turning face unlock on again starts it."
msgstr "Riattivare lo sblocco con il volto lo avvia."
#: src/lib/menu.sh:244 src/lib/menu.sh:246 src/lib/menu.sh:699
#: src/lib/menu.sh:790
#: src/lib/menu.sh:244 src/lib/menu.sh:246 src/lib/menu.sh:701
#: src/lib/menu.sh:792
msgid "Faces"
msgstr "Volti"
@@ -533,7 +533,7 @@ msgstr "Ultimo sblocco"
msgid "The lock screen agent is not running."
msgstr "L'agente della schermata di blocco non è in esecuzione."
#: src/lib/menu.sh:333
#: src/lib/menu.sh:334
msgid ""
"On GNOME a small GNOME extension shows the bubble. Turning face unlock on "
"switches it on."
@@ -541,7 +541,7 @@ msgstr ""
"Su GNOME una piccola estensione di GNOME mostra la bolla. Attivando lo "
"sblocco con il volto si attiva anche lei."
#: src/lib/menu.sh:337
#: src/lib/menu.sh:338
msgid ""
"Scans when you come back to hyprlock, swaylock or face-unlock's own lock "
"screen (`face-unlock lock`, with the bubble), and opens them. Other lock "
@@ -551,7 +551,7 @@ msgstr ""
"face-unlock (`face-unlock lock`, con la bolla) e li apre. Le altre schermate "
"di blocco scansionano con Invio."
#: src/lib/menu.sh:342
#: src/lib/menu.sh:343
msgid ""
"Unlocks the lock screen when it sees your face. Off: only your password "
"works there."
@@ -559,7 +559,7 @@ msgstr ""
"Sblocca la schermata di blocco quando vede il tuo volto. Disattivo: lì "
"funziona solo la password."
#: src/lib/menu.sh:343
#: src/lib/menu.sh:344
msgid ""
"Scans when you press a key or move the mouse on the lock screen, and when "
"the computer wakes up."
@@ -567,7 +567,7 @@ msgstr ""
"Esegue la scansione quando premi un tasto o muovi il mouse sulla schermata "
"di blocco, e quando il computer si riattiva."
#: src/lib/menu.sh:344
#: src/lib/menu.sh:345
msgid ""
"Scans as soon as the screen locks. Off by default: if you lock it yourself, "
"it would unlock again right away."
@@ -575,7 +575,7 @@ msgstr ""
"Esegue la scansione appena lo schermo si blocca. Disattivo di norma: se lo "
"blocchi tu, si sbloccherebbe subito."
#: src/lib/menu.sh:345
#: src/lib/menu.sh:346
msgid ""
"sudo takes your face instead of the password. No match: you type the "
"password as usual."
@@ -583,7 +583,7 @@ msgstr ""
"sudo usa il tuo volto al posto della password. Se non corrisponde, digiti la "
"password come al solito."
#: src/lib/menu.sh:346
#: src/lib/menu.sh:347
msgid ""
"face-unlock's lock screen shows the bubble, and you lock with `face-unlock "
"lock`. Or keep yours: hyprlock then shows a line of text at the top. Enter "
@@ -593,7 +593,7 @@ msgstr ""
"unlock lock`. Oppure tieni la tua: hyprlock mostra allora una riga di testo "
"in alto. Invio apre la scelta."
#: src/lib/menu.sh:347
#: src/lib/menu.sh:348
msgid ""
"The picture behind face-unlock's own lock screen (`face-unlock lock`). "
"Empty: the one on your desktop. Or a file, a folder to take one from at "
@@ -603,11 +603,11 @@ msgstr ""
"lock`). Vuoto: quella del tuo desktop. Oppure un file, una cartella da cui "
"prenderne una a caso, o `none`. Invio per scriverla."
#: src/lib/menu.sh:348
#: src/lib/menu.sh:349
msgid "Blurs the picture behind face-unlock's own lock screen."
msgstr "Sfoca l'immagine dietro la schermata di blocco di face-unlock."
#: src/lib/menu.sh:349
#: src/lib/menu.sh:350
#, sh-printf-format
msgid ""
"The lock screen takes your face in its password check. Press Enter on the "
@@ -616,7 +616,7 @@ msgstr ""
"La schermata di blocco accetta il tuo volto nel controllo della password. "
"Premi Invio nel campo vuoto per scansionare. Trovate qui: %s."
#: src/lib/menu.sh:350
#: src/lib/menu.sh:351
msgid ""
"The password windows of your desktop and apps, for example when you install "
"software. No match: you type the password."
@@ -624,18 +624,27 @@ msgstr ""
"Le finestre della password del tuo desktop e delle app, per esempio quando "
"installi software. Se non corrisponde, digiti la password."
#: src/lib/menu.sh:351
#: src/lib/menu.sh:352
msgid ""
"sudo in an SSH session takes your face too, if you sit at this computer. Off "
"by default: the person at the camera may not be the one typing."
msgstr ""
"sudo in una sessione SSH usa anche il tuo volto, se sei davanti a questo "
"computer. Disattivo di norma: chi è davanti alla fotocamera potrebbe non "
"essere chi digita."
#: src/lib/menu.sh:353
msgid ""
"You have to blink or turn your head a little. This also stops printed photos."
msgstr ""
"Devi sbattere le palpebre o girare un po' la testa. Questo ferma anche le "
"foto stampate."
#: src/lib/menu.sh:352
#: src/lib/menu.sh:354
msgid "No check at all. Only for trying out a camera."
msgstr "Nessun controllo. Solo per provare una fotocamera."
#: src/lib/menu.sh:353
#: src/lib/menu.sh:355
msgid ""
"Stops photos on a phone, a tablet or glossy paper. You do not have to blink. "
"A matte printed photo can get through."
@@ -643,22 +652,22 @@ msgstr ""
"Ferma le foto su un telefono, un tablet o carta lucida. Non serve sbattere "
"le palpebre. Una foto stampata opaca può passare."
#: src/lib/menu.sh:354
#: src/lib/menu.sh:356
msgid ""
"Fewer wrong matches, but it may not know you with glasses or in bad light."
msgstr ""
"Meno scambi di persona, ma potrebbe non riconoscerti con gli occhiali o con "
"poca luce."
#: src/lib/menu.sh:355
#: src/lib/menu.sh:357
msgid "Knows you more easily, but also somebody who looks a lot like you."
msgstr "Ti riconosce più facilmente, ma anche qualcuno che ti somiglia molto."
#: src/lib/menu.sh:356
#: src/lib/menu.sh:358
msgid "The default. Right for most people."
msgstr "Il valore predefinito. Va bene per la maggior parte delle persone."
#: src/lib/menu.sh:357
#: src/lib/menu.sh:359
msgid ""
"Your eyes have to be open and on the screen. So it does not unlock while you "
"look away or sleep."
@@ -666,7 +675,7 @@ msgstr ""
"I tuoi occhi devono essere aperti e rivolti allo schermo. Così non si "
"sblocca mentre guardi altrove o dormi."
#: src/lib/menu.sh:358
#: src/lib/menu.sh:360
msgid ""
"Automatic takes the first normal camera. After a change, set up your face "
"again. An infrared camera needs its light on (linux-enable-ir-emitter)."
@@ -675,11 +684,11 @@ msgstr ""
"nuovo il tuo volto. Una fotocamera a infrarossi ha bisogno della sua luce "
"(linux-enable-ir-emitter)."
#: src/lib/menu.sh:359
#: src/lib/menu.sh:361
msgid "How long the camera looks for your face before it gives up."
msgstr "Per quanto tempo la fotocamera cerca il tuo volto prima di arrendersi."
#: src/lib/menu.sh:360
#: src/lib/menu.sh:362
msgid ""
"After a sure match it keeps how you look now. So a new haircut or glasses "
"need no new setup."
@@ -688,7 +697,7 @@ msgstr ""
"nuovo taglio di capelli o gli occhiali non richiedono una nuova "
"configurazione."
#: src/lib/menu.sh:361
#: src/lib/menu.sh:363
msgid ""
"No scan while the laptop is closed, for example at a desk with an external "
"screen."
@@ -696,29 +705,29 @@ msgstr ""
"Nessuna scansione quando il portatile è chiuso, per esempio alla scrivania "
"con uno schermo esterno."
#: src/lib/menu.sh:362
#: src/lib/menu.sh:364
msgid "The bubble at the top of the screen shows what the camera is doing."
msgstr "La bolla in cima allo schermo mostra cosa sta facendo la fotocamera."
#: src/lib/menu.sh:363
#: src/lib/menu.sh:365
msgid "A small pill with a lock that opens."
msgstr "Una piccola pillola con un lucchetto che si apre."
#: src/lib/menu.sh:364
#: src/lib/menu.sh:366
msgid "An island with a face that looks around, then rings and a tick."
msgstr "Un'isola con un volto che si guarda intorno, poi anelli e una spunta."
#: src/lib/menu.sh:365
#: src/lib/menu.sh:367
msgid "How fast the bubble moves."
msgstr "Quanto velocemente si muove la bolla."
#: src/lib/menu.sh:366
#: src/lib/menu.sh:368
msgid "Shows the bubble when sudo or an admin prompt scans your face, too."
msgstr ""
"Mostra la bolla anche quando sudo o una richiesta di amministratore "
"scansiona il tuo volto."
#: src/lib/menu.sh:367
#: src/lib/menu.sh:369
msgid ""
"When another app uses the camera, for example in a video call, no bubble "
"shows and you type your password as usual. Off: the bubble shows a camera "
@@ -728,81 +737,81 @@ msgstr ""
"bolla non appare e digiti la password come al solito. Disattivo: la bolla "
"mostra una fotocamera barrata."
#: src/lib/menu.sh:460
#: src/lib/menu.sh:462
#, sh-printf-format
msgid "automatic (%s)"
msgstr "automatica (%s)"
#: src/lib/menu.sh:470
#: src/lib/menu.sh:472
msgid "(infrared)"
msgstr "(infrarossi)"
#: src/lib/menu.sh:474
#: src/lib/menu.sh:476
msgid "(not connected)"
msgstr "(non collegata)"
#: src/lib/menu.sh:483
#: src/lib/menu.sh:485
msgid "same as desktop"
msgstr "come il desktop"
#: src/lib/menu.sh:487
#: src/lib/menu.sh:489
msgid "none"
msgstr "nessuno"
#: src/lib/menu.sh:516
#: src/lib/menu.sh:518
msgid "Picture or folder:"
msgstr "Immagine o cartella:"
#: src/lib/menu.sh:521
#: src/lib/menu.sh:523
#, sh-printf-format
msgid "Not found: %s"
msgstr "Non trovato: %s"
#: src/lib/menu.sh:592 src/lib/menu.sh:791
#: src/lib/menu.sh:594 src/lib/menu.sh:793
msgid "Settings"
msgstr "Impostazioni"
#: src/lib/menu.sh:593
#: src/lib/menu.sh:595
msgid "↑↓ select ←→ or Space: change q: back"
msgstr "↑↓ scegli ←→ o Spazio: cambia q: indietro"
#: src/lib/menu.sh:594
#: src/lib/menu.sh:596
msgid "for all users, asks for your password"
msgstr "per tutti gli utenti, chiede la tua password"
#. TRANSLATORS: keep the letters, they are the keys.
#: src/lib/menu.sh:701
#: src/lib/menu.sh:703
msgid "Up/Down: select, Space: on/off, r: rename, d: delete, a: add, q: back"
msgstr ""
"Su/Giù: scegli, Spazio: attiva/disattiva, r: rinomina, d: elimina, a: "
"aggiungi, q: indietro"
#: src/lib/menu.sh:702
#: src/lib/menu.sh:704
msgid "No face is set up yet. Press a to add one."
msgstr "Nessun volto ancora configurato. Premi a per aggiungerne uno."
#: src/lib/menu.sh:750
#: src/lib/menu.sh:752
msgid "New name:"
msgstr "Nuovo nome:"
#: src/lib/menu.sh:757
#: src/lib/menu.sh:759
#, sh-printf-format
msgid "Delete \"%s\"?"
msgstr "Eliminare «%s»?"
#: src/lib/menu.sh:788
#: src/lib/menu.sh:790
msgid "Turn face unlock on or off"
msgstr "Attiva o disattiva lo sblocco con il volto"
#: src/lib/menu.sh:792
#: src/lib/menu.sh:794
msgid "Try it"
msgstr "Provalo"
#: src/lib/menu.sh:794
#: src/lib/menu.sh:796
msgid "Install a polkit agent"
msgstr "Installa un agente polkit"
#: src/lib/menu.sh:796
#: src/lib/menu.sh:798
msgid "Quit"
msgstr "Esci"
@@ -824,26 +833,26 @@ msgstr "Il modulo PAM non è installato in %s."
msgid "There is no PAM configuration for %s on this system."
msgstr "Su questo sistema non c'è una configurazione PAM per %s."
#: src/lib/system.sh:49
#: src/lib/system.sh:50
msgid "This needs root, and neither sudo, run0 nor doas is installed."
msgstr ""
"Servono i permessi di root, ma non è installato né sudo, né run0, né doas."
#: src/lib/system.sh:58
#: src/lib/system.sh:59
msgid "This command has to run as root."
msgstr "Questo comando deve essere eseguito come root."
#: src/lib/system.sh:66
#: src/lib/system.sh:67
#, sh-printf-format
msgid "Not a valid setting: %s=%s"
msgstr "Impostazione non valida: %s=%s"
#: src/lib/system.sh:82
#: src/lib/system.sh:83
#, sh-printf-format
msgid "Not a service this can be used for: %s"
msgstr "Non si può usare per questo servizio: %s"
#: src/lib/system.sh:154
#: src/lib/system.sh:155
#, sh-printf-format
msgid ""
"Hyprland does not start the lock screen agent by itself. Add this to %s:"
@@ -851,67 +860,67 @@ msgstr ""
"Hyprland non avvia da solo l'agente della schermata di blocco. Aggiungi "
"questo a %s:"
#: src/lib/system.sh:156
#: src/lib/system.sh:157
#, sh-printf-format
msgid "Hyprland does not start the polkit agent by itself. Add this to %s:"
msgstr "Hyprland non avvia da solo l'agente polkit. Aggiungi questo a %s:"
#: src/lib/system.sh:214
#: src/lib/system.sh:215
msgid "No package manager found to install a polkit agent with."
msgstr "Nessun gestore di pacchetti trovato per installare un agente polkit."
#: src/lib/system.sh:238
#: src/lib/system.sh:239
msgid "Installing a polkit agent. That needs your password."
msgstr "Installazione di un agente polkit. Serve la tua password."
#: src/lib/system.sh:239 src/lib/system.sh:241
#: src/lib/system.sh:240 src/lib/system.sh:242
msgid "Could not install a polkit agent."
msgstr "Impossibile installare un agente polkit."
#: src/lib/system.sh:257
#: src/lib/system.sh:258
#, sh-printf-format
msgid "The polkit agent did not start. See: systemctl --user status %s"
msgstr "L'agente polkit non si è avviato. Vedi: systemctl --user status %s"
#: src/lib/system.sh:261
#: src/lib/system.sh:262
msgid "The polkit agent is running. Password windows open now."
msgstr ""
"L'agente polkit è in esecuzione. Ora le finestre per la password si aprono."
#: src/lib/system.sh:386 src/lib/system.sh:389
#: src/lib/system.sh:387 src/lib/system.sh:390
#, sh-printf-format
msgid "To lock with it, add this to %s, and set %s in %s:"
msgstr "Per bloccare con essa, aggiungi questo a %s e imposta %s in %s:"
#: src/lib/system.sh:394
#: src/lib/system.sh:395
#, sh-printf-format
msgid "To lock with it, add this to the binds in %s, and use %s in swayidle:"
msgstr ""
"Per bloccare con essa, aggiungi questo ai binds in %s e usa %s in swayidle:"
#: src/lib/system.sh:398
#: src/lib/system.sh:399
#, sh-printf-format
msgid "To lock with it, run %s where your lock screen is started now."
msgstr ""
"Per bloccare con essa, esegui %s dove ora parte la tua schermata di blocco."
#: src/lib/system.sh:411
#: src/lib/system.sh:412
msgid "You lock with face-unlock's lock screen now."
msgstr "Ora blocchi con la schermata di blocco di face-unlock."
#: src/lib/system.sh:418
#: src/lib/system.sh:419
msgid ""
"hyprlock shows what face unlock is doing at the top, from the next time it "
"locks."
msgstr ""
"hyprlock mostra in alto cosa sta facendo face unlock, dal prossimo blocco."
#: src/lib/system.sh:419
#: src/lib/system.sh:420
#, sh-printf-format
msgid "Could not add the line to %s."
msgstr "Impossibile aggiungere la riga a %s."
#: src/lib/system.sh:420
#: src/lib/system.sh:421
msgid ""
"Your lock screen stays as it is. Press Enter on the empty password field to "
"scan."
@@ -919,7 +928,7 @@ msgstr ""
"La tua schermata di blocco resta com'è. Premi Invio nel campo password vuoto "
"per la scansione."
#: src/lib/system.sh:421
#: src/lib/system.sh:422
#, sh-printf-format
msgid "hyprlock has no %s, so it cannot show the text."
msgstr "hyprlock non ha %s, quindi non può mostrare il testo."
@@ -956,6 +965,10 @@ msgstr "Richieste di password"
msgid "sudo in a terminal"
msgstr "sudo nel terminale"
#: src/lib/menu.sh
msgid "In SSH sessions"
msgstr "Nelle sessioni SSH"
#: src/lib/menu.sh
msgid "Recognition"
msgstr "Riconoscimento"
@@ -1158,21 +1171,21 @@ msgstr "Stile della bolla per la demo: full o minimal."
msgid "Ask which lock screen to use, and print the answer."
msgstr "Chiede quale schermata di blocco usare e stampa la risposta."
#: src/pam/pam_face_unlock.c:356
#: src/pam/pam_face_unlock.c:353
msgid "Look at the camera to unlock."
msgstr "Guarda la fotocamera per sbloccare."
#: src/pam/pam_face_unlock.c:359
#: src/pam/pam_face_unlock.c:356
msgid "Blink, or turn your head a little."
msgstr "Sbatti le palpebre o gira un po' la testa."
#: src/pam/pam_face_unlock.c:375
#: src/pam/pam_face_unlock.c:372
msgid "Face unlock is paused after too many tries. Use your password."
msgstr ""
"Lo sblocco con il volto è in pausa dopo troppi tentativi. Usa la tua "
"password."
#: src/pam/pam_face_unlock.c:379
#: src/pam/pam_face_unlock.c:376
msgid "Face not recognised."
msgstr "Volto non riconosciuto."
@@ -1300,14 +1313,3 @@ msgstr "Guarda la fotocamera o digita la password"
#: src/agent/qml/LockScreen.qml:195
msgid "Type your password"
msgstr "Digita la password"
#~ msgid ""
#~ "sudo in an SSH session takes your face too, if you sit at this computer. "
#~ "Off by default: the person at the camera may not be the one typing."
#~ msgstr ""
#~ "sudo in una sessione SSH usa anche il tuo volto, se sei davanti a questo "
#~ "computer. Disattivo di norma: chi è davanti alla fotocamera potrebbe non "
#~ "essere chi digita."
#~ msgid "In SSH sessions"
#~ msgstr "Nelle sessioni SSH"