Clear out translations when we prepare to ask for new ones.

This commit is contained in:
Dianne Skoll
2024-12-10 17:09:25 -05:00
parent d3e6c81a3a
commit 16ca2ade23

View File

@@ -699,15 +699,18 @@ proc DoQueue {} {
}
proc DoTranslate {} {
# Get just the translations we can use
global DaemonFile
catch {
puts $DaemonFile "TRANSLATE New Moon"
puts $DaemonFile "TRANSLATE Full Moon"
puts $DaemonFile "TRANSLATE First Quarter"
puts $DaemonFile "TRANSLATE Last Quarter"
flush $DaemonFile
}
global Translations
# Clear out any existing translations
set Translations [dict create]
# Get just the translations we can use
puts $DaemonFile "TRANSLATE New Moon"
puts $DaemonFile "TRANSLATE Full Moon"
puts $DaemonFile "TRANSLATE First Quarter"
puts $DaemonFile "TRANSLATE Last Quarter"
flush $DaemonFile
}
#---------------------------------------------------------------------------