Use Unicode apostrophes in new user-visible strings

See https://developer.gnome.org/hig/stable/typography.html
This commit is contained in:
Piotr Drąg 2019-01-16 19:02:33 +01:00
parent 2c7fcb5e95
commit 182cfd9bb7
3 changed files with 3 additions and 3 deletions

View file

@ -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("Couldnt open file"));
}
}
});

View file

@ -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("Couldnt save file"));
}
}
gtk::Continue(false)

View file

@ -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("Couldnt open file"));
}
}
}