Commit f5fabe8b authored by Alexandre Franke's avatar Alexandre Franke

Fix typography

parent a413a643
......@@ -17,7 +17,7 @@
<property name="attached_to">main_window</property>
<property name="message_type">question</property>
<property name="text" translatable="yes">Invitation</property>
<property name="secondary_text" translatable="yes">You've been invited to join to "", you can accept or reject</property>
<property name="secondary_text" translatable="yes">You’ve been invited to join "", you can accept or reject</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="can_focus">False</property>
......
......@@ -158,7 +158,7 @@ pub fn backend_loop(rx: Receiver<BKResponse>) {
Ok(BKResponse::NewRoomError(err, internal_id)) => {
println!("ERROR: {:?}", err);
let error = gettext("Can't create the room, try again");
let error = gettext("Cant create the room, try again");
let panel = RoomPanel::NoRoom;
APPOP!(remove_room, (internal_id));
APPOP!(show_error, (error));
......@@ -166,13 +166,13 @@ pub fn backend_loop(rx: Receiver<BKResponse>) {
},
Ok(BKResponse::JoinRoomError(err)) => {
println!("ERROR: {:?}", err);
let error = format!("{}", gettext("Can't join to the room, try again."));
let error = format!("{}", gettext("Can’t join the room, try again."));
let panel = RoomPanel::NoRoom;
APPOP!(show_error, (error));
APPOP!(room_panel, (panel));
},
Ok(BKResponse::LoginError(_)) => {
let error = gettext("Can't login, try again");
let error = gettext("Cant login, try again");
let st = AppState::Login;
APPOP!(show_error, (error));
APPOP!(set_state, (st));
......
......@@ -57,7 +57,7 @@ impl AppOp {
let btn = self.ui.builder
.get_object::<gtk::Button>("directory_search_button")
.expect("Can't find directory_search_button in ui file.");
btn.set_label(gettext("Searching...").as_str());
btn.set_label(gettext("Searching").as_str());
btn.set_sensitive(false);
if !more {
......
......@@ -93,10 +93,10 @@ impl AppOp {
let to_invite = self.ui.builder
.get_object::<gtk::ListBox>(invid)
.expect("Can't find to_invite in ui file.");
.expect("Cant find to_invite in ui file.");
let dialog = self.ui.builder
.get_object::<gtk::Dialog>(dialogid)
.expect("Can't find invite_user_dialog in ui file.");
.expect("Cant find invite_user_dialog in ui file.");
let idx = self.invite_list.iter().position(|x| x.uid == uid);
if let Some(i) = idx {
......@@ -210,11 +210,11 @@ impl AppOp {
let secondary;
if let Some(ref sender) = r.inv_sender {
let sender_name = sender.get_alias();
let sentence_template = gettext("You've been invited to join to <b>{room_name}</b> room by <b>{sender_name}</b>");
let sentence_template = gettext("Youve been invited to join to <b>{room_name}</b> room by <b>{sender_name}</b>");
secondary = sentence_template.replace("{room_name}", room_name.as_str())
.replace("{sender_name}", sender_name.as_str());
} else {
let sentence_template = gettext("You've been invited to join to <b>{room_name}</b>");
let sentence_template = gettext("Youve been invited to join to <b>{room_name}</b>");
secondary = sentence_template.replace("{room_name}", room_name.as_str());
}
......
......@@ -162,7 +162,7 @@ impl AppOp {
};
if password != passconf {
self.show_error(gettext("Passwords didn't match, try again"));
self.show_error(gettext("Passwords didnt match, try again"));
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment