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:
parent
fbbcca777d
commit
f0da33329a
1 changed files with 1 additions and 1 deletions
|
@ -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 don’t 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");
|
||||||
|
|
Loading…
Reference in a new issue