From 182cfd9bb772638e3bf54fceccd489d6b85881ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Wed, 16 Jan 2019 19:02:33 +0100 Subject: [PATCH] Use Unicode apostrophes in new user-visible strings See https://developer.gnome.org/hig/stable/typography.html --- fractal-gtk/src/actions/account_settings.rs | 2 +- fractal-gtk/src/actions/room_history.rs | 2 +- fractal-gtk/src/actions/room_settings.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fractal-gtk/src/actions/account_settings.rs b/fractal-gtk/src/actions/account_settings.rs index 6f68ecb2..76986d9a 100644 --- a/fractal-gtk/src/actions/account_settings.rs +++ b/fractal-gtk/src/actions/account_settings.rs @@ -34,7 +34,7 @@ pub fn new(window: >k::Window, backend: &Sender) -> gio::SimpleActi a.change_state(&ButtonState::Insensitive.into()); let _ = backend.send(BKCommand::SetUserAvatar(file.to_string())); } else { - ErrorDialog::new(false, &i18n("Couldn't open file")); + ErrorDialog::new(false, &i18n("Couldn’t open file")); } } }); diff --git a/fractal-gtk/src/actions/room_history.rs b/fractal-gtk/src/actions/room_history.rs index 17d1ecbf..3c7e4657 100644 --- a/fractal-gtk/src/actions/room_history.rs +++ b/fractal-gtk/src/actions/room_history.rs @@ -117,7 +117,7 @@ pub fn new(backend: Sender, ui: UI) -> gio::SimpleActionGroup { if let Some(path) = save(&window, &name, &[]) { // TODO use glib to copy file if let Err(_) = fs::copy(fname.clone(), path) { - ErrorDialog::new(false, &i18n("Couldn't save file")); + ErrorDialog::new(false, &i18n("Couldn’t save file")); } } gtk::Continue(false) diff --git a/fractal-gtk/src/actions/room_settings.rs b/fractal-gtk/src/actions/room_settings.rs index 4e9c64fc..26deef15 100644 --- a/fractal-gtk/src/actions/room_settings.rs +++ b/fractal-gtk/src/actions/room_settings.rs @@ -39,7 +39,7 @@ pub fn new(window: >k::Window, backend: &Sender) -> gio::SimpleActi a.change_state(&ButtonState::Insensitive.into()); let _ = backend.send(BKCommand::SetRoomAvatar(id, file.to_string())); } else { - ErrorDialog::new(false, &i18n("Couldn't open file")); + ErrorDialog::new(false, &i18n("Couldn’t open file")); } } }