From 9727991b4ad6b7ef108b138fca802aed646fcff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 16 May 2023 11:08:12 +0200 Subject: [PATCH] room-details: Add translator comments --- data/resources/ui/content-audio-history-viewer.ui | 1 + data/resources/ui/content-room-details-general-page.ui | 1 + src/session/content/room_details/mod.rs | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/data/resources/ui/content-audio-history-viewer.ui b/data/resources/ui/content-audio-history-viewer.ui index 2cd55598..0498a81d 100644 --- a/data/resources/ui/content-audio-history-viewer.ui +++ b/data/resources/ui/content-audio-history-viewer.ui @@ -8,6 +8,7 @@ + Audio diff --git a/data/resources/ui/content-room-details-general-page.ui b/data/resources/ui/content-room-details-general-page.ui index 1fbd4099..ac30cdad 100644 --- a/data/resources/ui/content-room-details-general-page.ui +++ b/data/resources/ui/content-room-details-general-page.ui @@ -173,6 +173,7 @@ + Audio details.next-page 'audio-history' diff --git a/src/session/content/room_details/mod.rs b/src/session/content/room_details/mod.rs index 59c10f5a..624f0058 100644 --- a/src/session/content/room_details/mod.rs +++ b/src/session/content/room_details/mod.rs @@ -297,11 +297,12 @@ impl RoomDetails { audio_page }; + // Translators: As in 'Audio file'. self.set_title(Some(&gettext("Audio"))); imp.main_stack.set_visible_child(&audio_page); } PageName::None => { - warn!("Can't switch to PageName::None"); + warn!("Can’t switch to PageName::None"); } }