feat: use more fitting encryption info message

This commit is contained in:
B. Petersen
2026-01-23 15:25:16 +01:00
committed by bjoern
parent 3325270896
commit 448c0d2268
8 changed files with 14 additions and 22 deletions

View File

@@ -63,10 +63,7 @@ pub enum StockMessage {
#[strum(props(fallback = "GIF"))]
Gif = 23,
#[strum(props(fallback = "End-to-end encryption available"))]
E2eAvailable = 25,
#[strum(props(fallback = "No encryption"))]
#[strum(props(fallback = "No encryption."))]
EncrNone = 28,
#[strum(props(fallback = "Fingerprints"))]
@@ -707,11 +704,6 @@ pub(crate) async fn gif(context: &Context) -> String {
translated(context, StockMessage::Gif).await
}
/// Stock string: `End-to-end encryption available.`.
pub(crate) async fn e2e_available(context: &Context) -> String {
translated(context, StockMessage::E2eAvailable).await
}
/// Stock string: `No encryption.`.
pub(crate) async fn encr_none(context: &Context) -> String {
translated(context, StockMessage::EncrNone).await