Skip to content

Commit

Permalink
Disabled in Prefs not translated
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLauinger77 committed Jun 10, 2024
1 parent 9c9b058 commit 52d2a08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Adw, Gdk, GObject, Gtk } from '../dependencies/prefs/gi.js';
import { _ } from '../dependencies/prefs.js';

/**
* A Widget to implement the shortcuts in the preference window.
Expand Down Expand Up @@ -98,7 +99,7 @@ export const ShortcutListener = GObject.registerClass({
return l ? `${label} / ${l}` : label;
}, '');

return kbLabel || 'Disabled';
return kbLabel || _('Disabled');
}

_onActivated() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<property name="tooltip-text" translatable="yes">Replace the keyboard shortcuts. Press 'space' or 'return' when listening for a shortcut to append a new one to the existing shortcuts instead.</property>
<child>
<object class="GtkLabel" id="keybindingLabel">
<property name="label">Disabled</property>
<property name="label" translatable="yes">Disabled</property>
</object>
</child>
<child>
Expand Down

0 comments on commit 52d2a08

Please sign in to comment.