Skip to content

Commit

Permalink
Add translation context for "Left" / "Right" (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter authored Jan 30, 2024
1 parent 1f2c97e commit 14b360c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Views/Clicking.vala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public class MouseTouchpad.ClickingView : Switchboard.SettingsPage {
var primary_button_label = new Granite.HeaderLabel (_("Primary Button"));

var mouse_left = new Gtk.CheckButton () {
tooltip_text = _("Left")
/// TRANSLATORS: Used as "Primary Button: Left"
tooltip_text = NC_("mouse-button", "Left")
};
mouse_left.add_css_class ("image-button");

Expand All @@ -41,7 +42,8 @@ public class MouseTouchpad.ClickingView : Switchboard.SettingsPage {

var mouse_right = new Gtk.CheckButton () {
group = mouse_left,
tooltip_text = _("Right")
/// TRANSLATORS: Used as "Primary Button: Right";
tooltip_text = NC_("mouse-button", "Right")
};
mouse_right.add_css_class ("image-button");

Expand Down

0 comments on commit 14b360c

Please sign in to comment.