mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 10:56:10 +00:00
Stop the KDE shortcut and the built-in listener from doubling a press
The listener reads /dev/input and reacts the instant a key goes down. The KDE shortcut answers the same press by launching a whole Python process, which then talks over IPC, so its toggle lands a few hundred milliseconds later. The 400 ms guard caught that echo only when the machine happened to be quick, and otherwise the recording was started and stopped by one press: "No speech detected". Route the two apart. A toggle arriving from outside the process right behind a listener trigger is that echo, and its lateness also proves the KDE shortcut is live, which leaves the listener with nothing to do but double every press. So retire it, remember that in the config, and say so in the tray rather than changing behaviour silently.
This commit is contained in:
@@ -61,6 +61,10 @@ TR = {
|
||||
"{service} hesapta kredi kalmadığını söylüyor (HTTP 402).",
|
||||
"{service} is rate limiting you (HTTP 429). Try again in a moment.":
|
||||
"{service} hız sınırı uyguluyor (HTTP 429). Birazdan tekrar dene.",
|
||||
"The KDE shortcut is live now, so the built-in listener has been "
|
||||
"turned off. It was doubling every key press.":
|
||||
"KDE kısayolu artık çalışıyor, bu yüzden dahili dinleyici kapatıldı. "
|
||||
"Her tuşa basışı ikiye katlıyordu.",
|
||||
"No speech detected": "Ses algılanmadı",
|
||||
"No speech detected ({level} dB)": "Ses algılanmadı ({level} dB)",
|
||||
"Discarded a stock phrase: “{text}”": "Kalıp cümle atıldı: “{text}”",
|
||||
|
||||
Reference in New Issue
Block a user