uibuilder: Fix the room permission string

Improve the room permission string to allow translations.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
This commit is contained in:
Alistair Francis 2019-09-01 12:52:15 -07:00
parent fbbcca777d
commit f0da33329a

View file

@ -49,7 +49,7 @@ impl UI {
let sventry = SVEntry::default(); let sventry = SVEntry::default();
sventry_stack.add_named(&sventry.column, "Text Entry"); sventry_stack.add_named(&sventry.column, "Text Entry");
let sventry_disabled = gtk::Label::new(Some(&i18n( let sventry_disabled = gtk::Label::new(Some(&i18n(
"You don\u{2019}t have permission to post to this room", "You dont have permission to post to this room",
))); )));
sventry_disabled.set_hexpand(false); sventry_disabled.set_hexpand(false);
sventry_disabled.get_style_context().add_class("dim-label"); sventry_disabled.get_style_context().add_class("dim-label");