Make daemon not respond at all to a TRANSLATE for which there is no entry.

This commit is contained in:
Dianne Skoll
2024-12-10 17:16:25 -05:00
parent 16ca2ade23
commit 5b9d9a67b2
3 changed files with 18 additions and 11 deletions

View File

@@ -2721,6 +2721,7 @@ proc StartBackgroundRemindDaemon {} {
fileevent $DaemonFile readable "DaemonReadable $DaemonFile"
puts $DaemonFile "STATUS"
DoTranslate
ScheduleUpdateForChanges
}
}
@@ -2938,6 +2939,7 @@ proc DaemonReadable { file } {
if {"$cmd" == "inotify"} {
# Update our translations if file has changed
DoTranslate
ScheduleUpdateForChanges
}
}
puts $file "STATUS"