Skip to content

Commit

Permalink
translation fix #39
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylur committed Jun 8, 2023
1 parent 9d7298d commit c636998
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion widgets@aylur/pref/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class DateMenuTweakPage extends SubPage {
this.add(buttonGroup);
buttonGroup.add(new PositionRow(_('Position'), settings, 'date-menu-position', 'date-menu-offset'));
buttonGroup.add(new SwitchRow(_('Remove Padding'), settings, 'date-menu-remove-padding'));
buttonGroup.add(new DropDownRow(_('Indicator Position'), settings, 'date-menu-indicator-position', [_('Left'), _('Right'), 'Hide']));
buttonGroup.add(new DropDownRow(_('Indicator Position'), settings, 'date-menu-indicator-position', [_('Left'), _('Right'), _('Hide')]));
buttonGroup.add(new EntryRow(_('Format'), settings, 'date-menu-date-format'));
const textBox = new Gtk.Box();
textBox.append(new Gtk.Label({
Expand Down
2 changes: 1 addition & 1 deletion widgets@aylur/pref/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class PositionRow extends Adw.ActionRow {
_init(title, settings, position, offset, subtitle = '') {
super._init({title, subtitle});

const glist = Gtk.DropDown.new_from_strings(['Left', 'Center', 'Right']);
const glist = Gtk.DropDown.new_from_strings([_('Left'), _('Center'), _('Right')]);
glist.valign = Gtk.Align.CENTER;
settings.bind(
position,
Expand Down
2 changes: 1 addition & 1 deletion widgets@aylur/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class AboutPage extends Adw.PreferencesPage {
const donateRow = new Adw.ActionRow();
donateGroup.add(donateRow);

let pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(`${Me.path}'/media/prefs/kofi.png`, -1, 50, true);
let pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(`${Me.path}/media/prefs/kofi.png`, -1, 50, true);
let donateImage = Gtk.Picture.new_for_pixbuf(pixbuf);
donateRow.add_prefix(new Gtk.LinkButton({
child: donateImage,
Expand Down

0 comments on commit c636998

Please sign in to comment.