Use proper quotes in strings

This commit is contained in:
Alexandre Franke 2022-04-03 23:45:05 +02:00 committed by Alexandre Franke
parent 296dd710f5
commit a3e588c78e
14 changed files with 19 additions and 19 deletions

View File

@ -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">Fractals 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>

View File

@ -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 distributions documentation for more details.</property>
</object>
</child>
</object>

View File

@ -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">Cant 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">Cant scan QR code?</property>
<property name="wrap">True</property>
<property name="wrap-mode">word-char</property>
<property name="justify">center</property>

View File

@ -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 doesnt 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 doesnt 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>

View File

@ -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 dont 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>

View File

@ -187,7 +187,7 @@ impl DeviceList {
}));
}
Err(error) => {
error!("Couldn't load device list: {}", error);
error!("Couldnt load device list: {}", error);
self.update_list(vec![DeviceItem::for_error(gettext(
"Failed to load connected devices.",
))]);

View File

@ -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("Fractals 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| {

View File

@ -282,7 +282,7 @@ impl InviteeList {
self.set_state(InviteeListState::Matching);
}
Err(error) => {
error!("Couldn't load matching users: {}", error);
error!("Couldnt load matching users: {}", error);
self.set_state(InviteeListState::Error);
self.clear_list();
}

View File

@ -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!("Couldnt 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 couldnt decrypt this message."));
}
Some(AnyMessageLikeEventContent::RoomRedaction(_)) => {
let child = if let Some(Ok(child)) = parent.child().map(|w| w.downcast::<MessageText>())

View File

@ -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,
),

View File

@ -94,7 +94,7 @@ mod imp {
glib::ParamSpecEnum::new(
"membership",
"Membership",
"This member's membership state.",
"This members membership state.",
Membership::static_type(),
Membership::default() as i32,
glib::ParamFlags::READABLE | glib::ParamFlags::EXPLICIT_NOTIFY,

View File

@ -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 rooms timeline",
Event::static_type(),
glib::ParamFlags::READABLE,
),
@ -635,7 +635,7 @@ impl Room {
},
Err(error) => {
error!(
"Couldnt get the user's read receipt for room {}: {}",
"Couldnt get the users read receipt for room {}: {}",
obj.room_id(),
error
);
@ -700,7 +700,7 @@ impl Room {
}
Err(error) => {
error!(
"Couldnt get the event of the user's read receipt for room {}: {}",
"Couldnt get the event of the users read receipt for room {}: {}",
self.room_id(),
error
);

View File

@ -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("Cant contain `:`"));
(false, true)
} else if room_address.find('#').is_some() {
priv_
.room_address_error
.set_text(&gettext("Can't contain `#`"));
.set_text(&gettext("Cant contain `#`"));
(false, true)
} else if room_address.len() > MAX_BYTES {
priv_

View File

@ -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.