room-details: Add translator comments

This commit is contained in:
Kévin Commaille 2023-05-16 11:08:12 +02:00 committed by Kévin Commaille
parent 36017efffb
commit 9727991b4a
3 changed files with 4 additions and 1 deletions

View file

@ -8,6 +8,7 @@
<object class="GtkHeaderBar">
<property name="title-widget">
<object class="AdwWindowTitle">
<!-- Translators: As in 'Audio file'. -->
<property name="title" translatable="yes">Audio</property>
</object>
</property>

View file

@ -173,6 +173,7 @@
</child>
<child>
<object class="AdwActionRow">
<!-- Translators: As in 'Audio file'. -->
<property name="title" translatable="yes">Audio</property>
<property name="action-name">details.next-page</property>
<property name="action-target">'audio-history'</property>

View file

@ -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!("Cant switch to PageName::None");
}
}