[fractal] room-history: Make title of location preview translatable



commit 5f5ebd57304d1fbba5126b333d0ed04acee95467
Author: Kévin Commaille <zecakeh tedomum fr>
Date:   Sun Oct 2 19:51:27 2022 +0200

    room-history: Make title of location preview translatable

 src/session/content/room_history/mod.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/session/content/room_history/mod.rs b/src/session/content/room_history/mod.rs
index 21203885a..33edea632 100644
--- a/src/session/content/room_history/mod.rs
+++ b/src/session/content/room_history/mod.rs
@@ -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(());
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]