Use proper quotes in strings
This commit is contained in:
parent
296dd710f5
commit
a3e588c78e
|
@ -61,7 +61,7 @@
|
|||
<style>
|
||||
<class name="body"/>
|
||||
</style>
|
||||
<property name="label">Fractal's support for encryption is unstable so you might lose access to your encrypted message history. It is recommended to backup your encryption keys from another Matrix client before proceeding.</property>
|
||||
<property name="label">Fractal’s support for encryption is unstable so you might lose access to your encrypted message history. It is recommended to backup your encryption keys from another Matrix client before proceeding.</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap-mode">word-char</property>
|
||||
<property name="xalign">0.0</property>
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
<property name="wrap">true</property>
|
||||
<property name="wrap-mode">word-char</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<property name="label" translatable="yes">Check the application logs and your distribution's documentation for more details.</property>
|
||||
<property name="label" translatable="yes">Check the application logs and your distribution’s documentation for more details.</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Can't scan QR code?</property>
|
||||
<property name="label" translatable="yes">Can’t scan QR code?</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap-mode">word-char</property>
|
||||
<property name="justify">center</property>
|
||||
|
@ -213,7 +213,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Can't scan QR code?</property>
|
||||
<property name="label" translatable="yes">Can’t scan QR code?</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap-mode">word-char</property>
|
||||
<property name="justify">center</property>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<object class="AdwPreferencesPage">
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="description" translatable="yes">Auto-discovery, also known as "well-known lookup", allows to discover the URL of a Matrix homeserver from a domain name. This should only be disabled if your homeserver doesn’t support auto-discovery or if you want to provide the URL yourself.</property>
|
||||
<property name="description" translatable="yes">Auto-discovery, also known as “well-known lookup”, allows to discover the URL of a Matrix homeserver from a domain name. This should only be disabled if your homeserver doesn’t support auto-discovery or if you want to provide the URL yourself.</property>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">_Auto-discovery</property>
|
||||
|
|
|
@ -205,7 +205,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">If you don't have any of these you can reset your identity, but be aware this makes your old messages inaccessible forever.</property>
|
||||
<property name="label" translatable="yes">If you don’t have any of these you can reset your identity, but be aware this makes your old messages inaccessible forever.</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap-mode">word-char</property>
|
||||
<property name="justify">center</property>
|
||||
|
|
|
@ -187,7 +187,7 @@ impl DeviceList {
|
|||
}));
|
||||
}
|
||||
Err(error) => {
|
||||
error!("Couldn't load device list: {}", error);
|
||||
error!("Couldn’t load device list: {}", error);
|
||||
self.update_list(vec![DeviceItem::for_error(gettext(
|
||||
"Failed to load connected devices.",
|
||||
))]);
|
||||
|
|
|
@ -226,7 +226,7 @@ impl DeviceRow {
|
|||
self.imp().delete_logout_button.set_loading(true);
|
||||
|
||||
let window: Option<gtk::Window> = self.root().and_then(|root| root.downcast().ok());
|
||||
let dialog = gtk::MessageDialog::new(window.as_ref(), gtk::DialogFlags::MODAL, gtk::MessageType::Info, gtk::ButtonsType::OkCancel, &gettext("Fractal's support for encryption is unstable so you might lose access to your encrypted message history. It is recommended to backup your encryption keys from another Matrix client before proceeding."));
|
||||
let dialog = gtk::MessageDialog::new(window.as_ref(), gtk::DialogFlags::MODAL, gtk::MessageType::Info, gtk::ButtonsType::OkCancel, &gettext("Fractal’s support for encryption is unstable so you might lose access to your encrypted message history. It is recommended to backup your encryption keys from another Matrix client before proceeding."));
|
||||
dialog.show();
|
||||
dialog.connect_response(
|
||||
clone!(@weak self as obj, @weak dialog => move |_, response| {
|
||||
|
|
|
@ -282,7 +282,7 @@ impl InviteeList {
|
|||
self.set_state(InviteeListState::Matching);
|
||||
}
|
||||
Err(error) => {
|
||||
error!("Couldn't load matching users: {}", error);
|
||||
error!("Couldn’t load matching users: {}", error);
|
||||
self.set_state(InviteeListState::Error);
|
||||
self.clear_list();
|
||||
}
|
||||
|
|
|
@ -394,7 +394,7 @@ fn build_content(parent: &adw::Bin, event: &Event, compact: bool) {
|
|||
child.sticker(content, &event.room().session(), compact);
|
||||
}
|
||||
Some(AnyMessageLikeEventContent::RoomEncrypted(content)) => {
|
||||
warn!("Couldn't decrypt event {:?}", content);
|
||||
warn!("Couldn’t decrypt event {:?}", content);
|
||||
let child = if let Some(Ok(child)) = parent.child().map(|w| w.downcast::<MessageText>())
|
||||
{
|
||||
child
|
||||
|
@ -403,7 +403,7 @@ fn build_content(parent: &adw::Bin, event: &Event, compact: bool) {
|
|||
parent.set_child(Some(&child));
|
||||
child
|
||||
};
|
||||
child.text(gettext("Fractal couldn't decrypt this message."));
|
||||
child.text(gettext("Fractal couldn’t decrypt this message."));
|
||||
}
|
||||
Some(AnyMessageLikeEventContent::RoomRedaction(_)) => {
|
||||
let child = if let Some(Ok(child)) = parent.child().map(|w| w.downcast::<MessageText>())
|
||||
|
|
|
@ -92,7 +92,7 @@ mod imp {
|
|||
glib::ParamSpecBoolean::new(
|
||||
"can-hide-header",
|
||||
"Can hide header",
|
||||
"Whether this event is allowed to hide it's header or not.",
|
||||
"Whether this event is allowed to hide its header or not.",
|
||||
false,
|
||||
glib::ParamFlags::READABLE,
|
||||
),
|
||||
|
|
|
@ -94,7 +94,7 @@ mod imp {
|
|||
glib::ParamSpecEnum::new(
|
||||
"membership",
|
||||
"Membership",
|
||||
"This member's membership state.",
|
||||
"This member’s membership state.",
|
||||
Membership::static_type(),
|
||||
Membership::default() as i32,
|
||||
glib::ParamFlags::READABLE | glib::ParamFlags::EXPLICIT_NOTIFY,
|
||||
|
|
|
@ -197,7 +197,7 @@ mod imp {
|
|||
glib::ParamSpecObject::new(
|
||||
"latest-read",
|
||||
"Latest Read",
|
||||
"The latest read event in the room's timeline",
|
||||
"The latest read event in the room’s timeline",
|
||||
Event::static_type(),
|
||||
glib::ParamFlags::READABLE,
|
||||
),
|
||||
|
@ -635,7 +635,7 @@ impl Room {
|
|||
},
|
||||
Err(error) => {
|
||||
error!(
|
||||
"Couldn’t get the user's read receipt for room {}: {}",
|
||||
"Couldn’t get the user’s read receipt for room {}: {}",
|
||||
obj.room_id(),
|
||||
error
|
||||
);
|
||||
|
@ -700,7 +700,7 @@ impl Room {
|
|||
}
|
||||
Err(error) => {
|
||||
error!(
|
||||
"Couldn’t get the event of the user's read receipt for room {}: {}",
|
||||
"Couldn’t get the event of the user’s read receipt for room {}: {}",
|
||||
self.room_id(),
|
||||
error
|
||||
);
|
||||
|
|
|
@ -326,12 +326,12 @@ impl RoomCreation {
|
|||
let (is_address_valid, has_error) = if room_address.find(':').is_some() {
|
||||
priv_
|
||||
.room_address_error
|
||||
.set_text(&gettext("Can't contain `:`"));
|
||||
.set_text(&gettext("Can’t contain `:`"));
|
||||
(false, true)
|
||||
} else if room_address.find('#').is_some() {
|
||||
priv_
|
||||
.room_address_error
|
||||
.set_text(&gettext("Can't contain `#`"));
|
||||
.set_text(&gettext("Can’t contain `#`"));
|
||||
(false, true)
|
||||
} else if room_address.len() > MAX_BYTES {
|
||||
priv_
|
||||
|
|
|
@ -10,7 +10,7 @@ pub use self::{
|
|||
},
|
||||
verification_list::VerificationList,
|
||||
};
|
||||
/// The time a verification is valid after it's creation.
|
||||
/// The time a verification is valid after its creation.
|
||||
#[allow(dead_code)]
|
||||
pub const VERIFICATION_CREATION_TIMEOUT: Duration = Duration::from_secs(60 * 10);
|
||||
/// The time a verification is valid after it was received by the client.
|
||||
|
|
Loading…
Reference in New Issue