room-history: Make title of location preview translatable
This commit is contained in:
parent
4e355341a3
commit
5f5ebd5730
1 changed files with 2 additions and 1 deletions
|
@ -925,7 +925,8 @@ impl RoomHistory {
|
|||
let geo_uri = format!("geo:{},{}", location.latitude(), location.longitude());
|
||||
|
||||
let window = self.root().unwrap().downcast::<gtk::Window>().unwrap();
|
||||
let dialog = AttachmentDialog::for_location(&window, "Your Location", &geo_uri);
|
||||
let dialog =
|
||||
AttachmentDialog::for_location(&window, &gettext("Your Location"), &geo_uri);
|
||||
if dialog.run_future().await != gtk::ResponseType::Ok {
|
||||
return Ok(());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue