diff options
| author | salmonik <salmonik@tuta.io> | 2026-09-05 19:35:21 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-09-05 19:35:21 +0200 |
| commit | 8e868894cbcaf421c263f3555af4d29bef653420 (patch) | |
| tree | a6b6f1de5caeef59367e52a8b7cfa6c2cd9f201d /src/lang.rs | |
| parent | remove ` from TTS and make events use lang.rs (diff) | |
| download | senator-sperma-8e868894cbcaf421c263f3555af4d29bef653420.tar.gz senator-sperma-8e868894cbcaf421c263f3555af4d29bef653420.zip | |
feat: piper now not a subprocess, cache system for TTS
Diffstat (limited to '')
| -rw-r--r-- | src/lang.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lang.rs b/src/lang.rs index de0c7d7..53888eb 100644 --- a/src/lang.rs +++ b/src/lang.rs | |||
| @@ -114,13 +114,6 @@ pub fn fmt_voice_join_failed(e: &dyn std::fmt::Display) -> String { | |||
| 114 | pub const L_TTS_SAVED: &str = "TTS zapisany"; | 114 | pub const L_TTS_SAVED: &str = "TTS zapisany"; |
| 115 | pub const L_TTS_PLAYING: &str = "Grom TTS na kanale głosowym"; | 115 | pub const L_TTS_PLAYING: &str = "Grom TTS na kanale głosowym"; |
| 116 | 116 | ||
| 117 | pub fn fmt_tts_piper_launch(e: &str) -> String { | ||
| 118 | format!("Piper sie nie uruchomił w czas: `{e}`") | ||
| 119 | } | ||
| 120 | pub fn fmt_tts_piper_failed(e: &str) -> String { | ||
| 121 | format!("Piper TTS sie nie powiodło: `{e}`") | ||
| 122 | } | ||
| 123 | |||
| 124 | // ── Trigger command ─────────────────────────────────────────────────── | 117 | // ── Trigger command ─────────────────────────────────────────────────── |
| 125 | 118 | ||
| 126 | pub const L_TRIGGER_UPDATED: &str = "Trigger zaktualizowany"; | 119 | pub const L_TRIGGER_UPDATED: &str = "Trigger zaktualizowany"; |
