feat: show a crossed-out camera when another app uses it

This commit is contained in:
Felitendo committed 2026-09-28 14:34:40 +02:00
1 parent ac38638dd4
commit 5eb9ea7438
29 files changed
+1940 -1235

No files matched your search

+122 -87
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-26 20:28+0200\n"
"POT-Creation-Date: 2026-09-28 14:32+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:145 src/lib/menu.sh:527
#: src/face-unlock:100 src/face-unlock:150 src/lib/menu.sh:527
#: src/lib/menu.sh:531 src/lib/menu.sh:537 src/lib/menu.sh:539
#: src/lib/system.sh:399 src/lib/system.sh:405
#: src/lib/system.sh:409 src/lib/system.sh:415
msgid "Could not save the setting."
msgstr "Impossibile salvare l'impostazione."
@@ -82,16 +82,16 @@ msgstr "Impossibile attivare l'estensione di GNOME che mostra la bolla."
msgid "Log out and back in once: then GNOME shows the bubble too."
msgstr "Esci e rientra una volta: poi GNOME mostra anche la bolla."
#: src/face-unlock:131
#: src/face-unlock:135
msgid "Pick your lock screen in the window."
msgstr "Scegli la tua schermata di blocco nella finestra."
#: src/face-unlock:132
#: src/face-unlock:136
msgid "No lock screen picked. You can do it later under Settings."
msgstr ""
"Nessuna schermata di blocco scelta. Puoi farlo più tardi in Impostazioni."
#: src/face-unlock:135
#: src/face-unlock:140
#, sh-printf-format
msgid ""
"The lock screen (%s) takes your face too. If it does not scan when you come "
@@ -100,102 +100,102 @@ msgstr ""
"Anche la schermata di blocco (%s) accetta il tuo volto. Se non scansiona "
"quando torni, premi Invio nel campo password vuoto."
#: src/face-unlock:138
#: src/face-unlock:143
msgid "Face unlock is on. Lock the screen and look at it to try."
msgstr ""
"Lo sblocco con il volto è attivo. Blocca lo schermo e guardalo per provarlo."
#: src/face-unlock:140
#: src/face-unlock:145
msgid "It can do sudo and admin prompts too. See Settings."
msgstr ""
"Funziona anche con sudo e le richieste di amministratore. Vedi Impostazioni."
#: src/face-unlock:156
#: src/face-unlock:161
msgid "Face unlock is off. Your faces are kept; delete them under Faces."
msgstr ""
"Lo sblocco con il volto è disattivato. I tuoi volti restano salvati; "
"eliminali in Volti."
#: src/face-unlock:170 src/lib/daemon.sh:109
#: src/face-unlock:175 src/lib/daemon.sh:109
msgid "No face is set up yet."
msgstr "Nessun volto ancora configurato."
#: src/face-unlock:174 src/lib/menu.sh:180 src/lib/menu.sh:695
#: src/face-unlock:179 src/lib/menu.sh:180 src/lib/menu.sh:701
msgid "on"
msgstr "attivo"
#: src/face-unlock:174 src/lib/menu.sh:182 src/lib/menu.sh:192
#: src/lib/menu.sh:696
#: src/face-unlock:179 src/lib/menu.sh:182 src/lib/menu.sh:192
#: src/lib/menu.sh:702
msgid "off"
msgstr "disattivo"
#: src/face-unlock:176 src/lib/menu.sh:713
#: src/face-unlock:181 src/lib/menu.sh:719
#, sh-printf-format
msgid "%s samples, %s learned"
msgstr "%s campioni, %s appresi"
#: src/face-unlock:182
#: src/face-unlock:187
#, sh-printf-format
msgid "Which face? See `%s faces` for the ids."
msgstr "Quale volto? Vedi `%s faces` per gli ID."
#: src/face-unlock:186
#: src/face-unlock:191
msgid "Deleted."
msgstr "Eliminato."
#: src/face-unlock:197
#: src/face-unlock:202
msgid "Usage: face-unlock [command]"
msgstr "Uso: face-unlock [comando]"
#: src/face-unlock:199
#: src/face-unlock:204
msgid "Commands:"
msgstr "Comandi:"
#: src/face-unlock:200
#: src/face-unlock:205
msgid "Turn face unlock on"
msgstr "Attiva lo sblocco con il volto"
#: src/face-unlock:201
#: src/face-unlock:206
msgid "Turn it off (faces are kept)"
msgstr "Disattivalo (i volti restano salvati)"
#: src/face-unlock:202 src/lib/menu.sh:779
#: src/face-unlock:207 src/lib/menu.sh:787
msgid "Add a face"
msgstr "Aggiungi un volto"
#: src/face-unlock:203
#: src/face-unlock:208
msgid "List the faces"
msgstr "Elenca i volti"
#: src/face-unlock:204
#: src/face-unlock:209
msgid "Delete a face"
msgstr "Elimina un volto"
#: src/face-unlock:205
#: src/face-unlock:210
msgid "Look at the camera and see what it sees"
msgstr "Guarda la fotocamera e vedi cosa vede"
#: src/face-unlock:206
#: src/face-unlock:211
msgid "Lock the screen"
msgstr "Blocca lo schermo"
#: src/face-unlock:207
#: src/face-unlock:212
msgid "Show what is on"
msgstr "Mostra cosa è attivo"
#: src/face-unlock:208
#: src/face-unlock:213
msgid "Show this help"
msgstr "Mostra questo aiuto"
#: src/face-unlock:209
#: src/face-unlock:214
msgid "Show the version"
msgstr "Mostra la versione"
#: src/face-unlock:211
#: src/face-unlock:216
msgid "Without a command an interactive menu is shown."
msgstr "Senza comando viene mostrato un menu interattivo."
#: src/face-unlock:230
#: src/face-unlock:235
msgid ""
"Run this as your own user, not as root. It asks for your password when it "
"needs to."
@@ -203,7 +203,7 @@ msgstr ""
"Esegui questo con il tuo utente, non come root. Chiede la password quando "
"serve."
#: src/face-unlock:253 src/lib/system.sh:105
#: src/face-unlock:258 src/lib/system.sh:105
#, sh-printf-format
msgid "Unknown command: %s"
msgstr "Comando sconosciuto: %s"
@@ -278,105 +278,109 @@ msgstr ""
msgid "The camera could not be used."
msgstr "Impossibile usare la fotocamera."
#: src/lib/daemon.sh:111 src/lib/menu.sh:273
#: src/lib/daemon.sh:111
msgid "Another app is using the camera."
msgstr "Un'altra app sta usando la fotocamera."
#: src/lib/daemon.sh:112 src/lib/menu.sh:273
msgid "The recognition models are missing. Reinstall the package."
msgstr "Mancano i modelli di riconoscimento. Reinstalla il pacchetto."
#: src/lib/daemon.sh:112
#: src/lib/daemon.sh:113
msgid "The lid is closed."
msgstr "Il coperchio è chiuso."
#: src/lib/daemon.sh:113
#: src/lib/daemon.sh:114
msgid "The camera is busy with another scan."
msgstr "La fotocamera è occupata con un'altra scansione."
#: src/lib/daemon.sh:114
#: src/lib/daemon.sh:115
msgid "The face unlock service is not running."
msgstr "Il servizio di sblocco con il volto non è in esecuzione."
#: src/lib/daemon.sh:116
#: src/lib/daemon.sh:117
msgid "Not allowed."
msgstr "Non consentito."
#: src/lib/daemon.sh:120
#: src/lib/daemon.sh:121
msgid "No password window? Start a polkit agent, for example hyprpolkitagent."
msgstr ""
"Nessuna finestra per la password? Avvia un agente polkit, per esempio "
"hyprpolkitagent."
#: src/lib/daemon.sh:123
#: src/lib/daemon.sh:124
#, sh-printf-format
msgid "Something went wrong (%s)."
msgstr "Qualcosa è andato storto (%s)."
#: src/lib/daemon.sh:134
#: src/lib/daemon.sh:135
msgid "Look at the camera. Blink once, or turn your head a little."
msgstr ""
"Guarda la fotocamera. Sbatti le palpebre una volta o gira un po' la testa."
#: src/lib/daemon.sh:144
#: src/lib/daemon.sh:145
msgid "Face found."
msgstr "Volto trovato."
#: src/lib/daemon.sh:148
#: src/lib/daemon.sh:149
msgid "Recognised. Now blink once, or turn your head a little."
msgstr "Riconosciuto. Ora sbatti le palpebre una volta o gira un po' la testa."
#: src/lib/daemon.sh:149
#: src/lib/daemon.sh:150
msgid "Look at the screen."
msgstr "Guarda lo schermo."
#: src/lib/daemon.sh:150
#: src/lib/daemon.sh:151
msgid "Move closer to the camera."
msgstr "Avvicinati alla fotocamera."
#: src/lib/daemon.sh:151
#: src/lib/daemon.sh:152
msgid "It is too dark to see your face."
msgstr "È troppo buio per vedere il tuo volto."
#: src/lib/daemon.sh:160
#: src/lib/daemon.sh:161
msgid "match"
msgstr "somiglianza"
#: src/lib/daemon.sh:160
#: src/lib/daemon.sh:161
msgid "turn"
msgstr "rotazione"
#: src/lib/daemon.sh:161
#: src/lib/daemon.sh:162
msgid "eyes"
msgstr "occhi"
#: src/lib/daemon.sh:162
#: src/lib/daemon.sh:163
msgid "depth"
msgstr "profondità"
#: src/lib/daemon.sh:162 src/lib/daemon.sh:171
#: src/lib/daemon.sh:163 src/lib/daemon.sh:172
msgid "blink"
msgstr "battito"
#: src/lib/daemon.sh:163
#: src/lib/daemon.sh:164
msgid "glare"
msgstr "riflesso"
#: src/lib/daemon.sh:163
#: src/lib/daemon.sh:164
msgid "edge"
msgstr "bordo"
#: src/lib/daemon.sh:172
#: src/lib/daemon.sh:173
msgid "head turn"
msgstr "rotazione della testa"
#: src/lib/daemon.sh:174
#: src/lib/daemon.sh:175
#, sh-printf-format
msgid "Recognised as %s (match %s) in %s ms."
msgstr "Riconosciuto come %s (somiglianza %s) in %s ms."
#: src/lib/daemon.sh:175
#: src/lib/daemon.sh:176
#, sh-printf-format
msgid "Sign of life: %s"
msgstr "Segno di vita: %s"
#: src/lib/daemon.sh:180
#: src/lib/daemon.sh:181
msgid ""
"That was too many tries. Face unlock is paused until you unlock with your "
"password."
@@ -450,7 +454,10 @@ msgstr "la tua"
msgid ""
"No polkit agent is running, so no password window can open. Adding a face "
"and the admin prompts need one."
msgstr "Nessun agente polkit è in esecuzione, quindi non si può aprire nessuna finestra per la password. Aggiungere un volto e le richieste di amministratore ne hanno bisogno."
msgstr ""
"Nessun agente polkit è in esecuzione, quindi non si può aprire nessuna "
"finestra per la password. Aggiungere un volto e le richieste di "
"amministratore ne hanno bisogno."
#: src/lib/menu.sh:226
msgid "Face unlock"
@@ -468,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:691
#: src/lib/menu.sh:780
#: src/lib/menu.sh:244 src/lib/menu.sh:246 src/lib/menu.sh:697
#: src/lib/menu.sh:788
msgid "Faces"
msgstr "Volti"
@@ -741,7 +748,7 @@ msgstr "Immagine o cartella:"
msgid "Not found: %s"
msgstr "Non trovato: %s"
#: src/lib/menu.sh:590 src/lib/menu.sh:781
#: src/lib/menu.sh:590 src/lib/menu.sh:789
msgid "Settings"
msgstr "Impostazioni"
@@ -754,38 +761,38 @@ 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:693
#: src/lib/menu.sh:699
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:694
#: src/lib/menu.sh:700
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:740
#: src/lib/menu.sh:748
msgid "New name:"
msgstr "Nuovo nome:"
#: src/lib/menu.sh:747
#: src/lib/menu.sh:755
#, sh-printf-format
msgid "Delete \"%s\"?"
msgstr "Eliminare «%s»?"
#: src/lib/menu.sh:778
#: src/lib/menu.sh:786
msgid "Turn face unlock on or off"
msgstr "Attiva o disattiva lo sblocco con il volto"
#: src/lib/menu.sh:782
#: src/lib/menu.sh:790
msgid "Try it"
msgstr "Provalo"
#: src/lib/menu.sh:784
#: src/lib/menu.sh:792
msgid "Install a polkit agent"
msgstr "Installa un agente polkit"
#: src/lib/menu.sh:786
#: src/lib/menu.sh:794
msgid "Quit"
msgstr "Esci"
@@ -858,42 +865,43 @@ msgstr "L'agente polkit non si è avviato. Vedi: systemctl --user status %s"
#: src/lib/system.sh:261
msgid "The polkit agent is running. Password windows open now."
msgstr "L'agente polkit è in esecuzione. Ora le finestre per la password si aprono."
msgstr ""
"L'agente polkit è in esecuzione. Ora le finestre per la password si aprono."
#: src/lib/system.sh:376 src/lib/system.sh:379
#: src/lib/system.sh:386 src/lib/system.sh:389
#, 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:384
#: src/lib/system.sh:394
#, 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:388
#: src/lib/system.sh:398
#, 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:401
#: src/lib/system.sh:411
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:408
#: src/lib/system.sh:418
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:409
#: src/lib/system.sh:419
#, sh-printf-format
msgid "Could not add the line to %s."
msgstr "Impossibile aggiungere la riga a %s."
#: src/lib/system.sh:410
#: src/lib/system.sh:420
msgid ""
"Your lock screen stays as it is. Press Enter on the empty password field to "
"scan."
@@ -901,7 +909,7 @@ msgstr ""
"La tua schermata di blocco resta com'è. Premi Invio nel campo password vuoto "
"per la scansione."
#: src/lib/system.sh:411
#: src/lib/system.sh:421
#, 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."
@@ -998,19 +1006,23 @@ msgstr "Avvicinati"
msgid "Too dark"
msgstr "Troppo buio"
#: src/agent/bubblecontroller.cpp:124
#: src/agent/bubblecontroller.cpp:127
msgid "Camera in use"
msgstr "Fotocamera in uso"
#: src/agent/bubblecontroller.cpp:136
msgid "Use your password"
msgstr "Usa la password"
#: src/agent/bubblecontroller.cpp:130
#: src/agent/bubblecontroller.cpp:142
msgid "Not recognized"
msgstr "Non riconosciuto"
#: src/agent/bubblecontroller.cpp:132
#: src/agent/bubblecontroller.cpp:144
msgid "Try again and blink"
msgstr "Riprova e sbatti le palpebre"
#: src/agent/bubblecontroller.cpp:134
#: src/agent/bubblecontroller.cpp:146
msgid "Camera unavailable"
msgstr "Fotocamera non disponibile"
@@ -1102,33 +1114,33 @@ msgstr "Password errata"
msgid "Face recognized"
msgstr "Volto riconosciuto"
#: src/agent/main.cpp:244
#: src/agent/main.cpp:250
msgid "Face unlock for the lock screen, sudo and admin prompts"
msgstr ""
"Sblocco con il volto per la schermata di blocco, sudo e le richieste di "
"amministratore"
#: src/agent/main.cpp:247
#: src/agent/main.cpp:253
msgid "Set up a face."
msgstr "Configura un volto."
#: src/agent/main.cpp:248
#: src/agent/main.cpp:254
msgid "What to call the new face."
msgstr "Come chiamare il nuovo volto."
#: src/agent/main.cpp:249
#: src/agent/main.cpp:255
msgid "Lock the screen."
msgstr "Blocca lo schermo."
#: src/agent/main.cpp:250
#: src/agent/main.cpp:256
msgid "Play the bubble's animations once."
msgstr "Riproduci una volta le animazioni della bolla."
#: src/agent/main.cpp:252
#: src/agent/main.cpp:258
msgid "Bubble style for the demo: full or minimal."
msgstr "Stile della bolla per la demo: full o minimal."
#: src/agent/main.cpp:253
#: src/agent/main.cpp:259
msgid "Ask which lock screen to use, and print the answer."
msgstr "Chiede quale schermata di blocco usare e stampa la risposta."
@@ -1274,3 +1286,26 @@ 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 ""
#~ "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 "
#~ "with a line through it."
#~ msgstr ""
#~ "Quando un'altra app usa la fotocamera, per esempio in una videochiamata, "
#~ "la bolla non appare e digiti la password come al solito. Disattivo: la "
#~ "bolla mostra una fotocamera barrata."
#~ msgid "In SSH sessions"
#~ msgstr "Nelle sessioni SSH"
#~ msgid "Quiet while the camera is in use"
#~ msgstr "Nessuna bolla se la fotocamera è in uso"