aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/main.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/main.vala b/lib/main.vala
index cf196650..7aac365c 100644
--- a/lib/main.vala
+++ b/lib/main.vala
@@ -366,8 +366,8 @@ public class Indicator.Keyboard.Service : Object {
var builder = new VariantBuilder (new VariantType ("a{sv}"));
builder.add ("{sv}", "visible", new Variant.boolean (visible));
if (name != null) {
- var suffix = _ ("input source");
- builder.add ("{sv}", "accessible-desc", new Variant.string (@"$((!) name) $suffix"));
+ var description = _ ("%s input source").printf ((!) name);
+ builder.add ("{sv}", "accessible-desc", new Variant.string (description));
}
if (icon != null) {
builder.add ("{sv}", "icon", ((!) icon).serialize ());