[fractal] Use Unicode apostrophes in new user-visible strings



commit 182cfd9bb772638e3bf54fceccd489d6b85881ab
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Wed Jan 16 19:02:33 2019 +0100

    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: &gtk::Window, backend: &Sender<BKCommand>) -> 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<BKCommand>, 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: &gtk::Window, backend: &Sender<BKCommand>) -> 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"));
                 }
             }
         }


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