mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 10:56:10 +00:00
Let the history be pruned, and keep the settings window open on save
The History tab was read-only, so the only way to get rid of a dictation was to edit history.jsonl by hand. Entries can now be removed: right-click or Delete drops the selection, "Clear history" empties the file, and the Ctrl/Shift selection lets several go at once. Deleting more than one asks first, since there is no undo. The cap on the file has existed since the first commit but was never reachable from the interface. It is now a spinbox in the same tab, applied the moment you save rather than on the next dictation, and 0 turns it off. Trimming rewrites the file only when it is actually over the cap, instead of on every single dictation, and does it through a temporary file so a crash cannot leave a half-written history behind. Deletion matches an entry on its whole content, not on its line number: the worker may well have appended a new dictation while the window sat open. Save no longer closes the window. It confirms and stays put, so you can settle several things in one sitting; the cross closes it. Cancel is gone with it, because it would be a lie next to a Save that already wrote.
This commit is contained in:
@@ -111,7 +111,7 @@ TR = {
|
||||
"Shortcut": "Kısayol",
|
||||
"History": "Geçmiş",
|
||||
"Save": "Kaydet",
|
||||
"Cancel": "Vazgeç",
|
||||
"Saved successfully.": "Başarıyla kaydedildi.",
|
||||
"Interface language": "Arayüz dili",
|
||||
"Automatic (system)": "Otomatik (sistem)",
|
||||
"Turkish": "Türkçe",
|
||||
@@ -245,6 +245,18 @@ TR = {
|
||||
|
||||
# --- settings: history --------------------------------------------------
|
||||
"Copy selected to clipboard": "Seçiliyi panoya kopyala",
|
||||
"Delete selected": "Seçiliyi sil",
|
||||
"Clear history": "Geçmişi temizle",
|
||||
"Reload": "Yenile",
|
||||
"{ts} ({duration} s)": "{ts} ({duration} sn)",
|
||||
"Keep at most": "En fazla",
|
||||
" entries": " kayıt",
|
||||
"no limit": "sınırsız",
|
||||
"Once the history passes this many entries, the oldest one is dropped "
|
||||
"every time a new one arrives. Set it to 0 to keep everything.":
|
||||
"Geçmiş bu sayıyı aştıktan sonra, her yeni kayıt geldiğinde en eski kayıt "
|
||||
"silinir. Hepsini tutmak için 0 yaz.",
|
||||
"Delete the {count} selected entries?": "Seçili {count} kayıt silinsin mi?",
|
||||
"Delete the whole history? This cannot be undone.":
|
||||
"Geçmişin tamamı silinsin mi? Bu geri alınamaz.",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user