Skip to content

Commit 55c2955

Browse files
authored
update text (#2313)
1 parent 6af64f8 commit 55c2955

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

core/Widgets/DateTimePicker/ScheduleButton.vala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ public class Widgets.ScheduleButton : Gtk.Grid {
6969
Object (
7070
is_board: false,
7171
valign: Gtk.Align.CENTER,
72-
tooltip_text: label,
72+
tooltip_text: _("The date you plan to work on this task"),
7373
label: label
7474
);
7575
}
7676

7777
public ScheduleButton.for_board (string label = _("Date")) {
7878
Object (
7979
is_board: true,
80-
tooltip_text: label,
80+
tooltip_text: _("The date you plan to work on this task"),
8181
label: label
8282
);
8383
}
@@ -167,7 +167,7 @@ public class Widgets.ScheduleButton : Gtk.Grid {
167167
css_classes = { "title-4", "caption", "font-bold" }
168168
};
169169

170-
due_label = new Gtk.Label (_("Set a Due Date")) {
170+
due_label = new Gtk.Label (_("When do you plan to work on this?")) {
171171
xalign = 0,
172172
use_markup = true,
173173
halign = START,
@@ -205,12 +205,12 @@ public class Widgets.ScheduleButton : Gtk.Grid {
205205

206206
public void update_from_item (Objects.Item item) {
207207
if (is_board) {
208-
due_label.label = _("Set a Due Date");
209-
tooltip_text = label;
208+
due_label.label = _("When do you plan to work on this?");
209+
tooltip_text = _("The date you plan to work on this task");
210210
due_image.icon_name = "month-symbolic";
211211
} else {
212212
due_label.label = label;
213-
tooltip_text = label;
213+
tooltip_text = _("The date you plan to work on this task");
214214
due_image.icon_name = "month-symbolic";
215215
}
216216

core/Widgets/DeadlineButton.vala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public class Widgets.DeadlineButton : Adw.Bin {
5151
deadline_date_label.label = _("Set Deadline");
5252
deadline_date_label.remove_css_class ("error");
5353

54-
deadline_relative_label.label = null;
54+
deadline_relative_label.label = _("The latest date to complete this task");
5555
} else if (button_type == DeadlineButtonType.CARD) {
56-
deadline_label.label = _("Set a Deadline");
56+
deadline_label.label = _("What is the latest date to complete this?");
5757
deadline_label.tooltip_text = null;
5858
deadline_icon.remove_css_class ("error");
5959
}
@@ -83,21 +83,21 @@ public class Widgets.DeadlineButton : Adw.Bin {
8383
public DeadlineButton () {
8484
Object (
8585
button_type: DeadlineButtonType.BUTTON,
86-
tooltip_text: _("Set a Deadline")
86+
tooltip_text: _("The latest date to complete this task")
8787
);
8888
}
8989

9090
public DeadlineButton.with_detail () {
9191
Object (
9292
button_type: DeadlineButtonType.BUTTON_DETAIL,
93-
tooltip_text: _("Set a Deadline")
93+
tooltip_text: _("The latest date to complete this task")
9494
);
9595
}
9696

9797
public DeadlineButton.card () {
9898
Object (
9999
button_type: DeadlineButtonType.CARD,
100-
tooltip_text: _("Set a Deadline")
100+
tooltip_text: _("The latest date to complete this task")
101101
);
102102
}
103103

@@ -132,7 +132,7 @@ public class Widgets.DeadlineButton : Adw.Bin {
132132
halign = START
133133
};
134134

135-
deadline_relative_label = new Gtk.Label (null) {
135+
deadline_relative_label = new Gtk.Label (_("The latest date to complete this task")) {
136136
halign = START
137137
};
138138
deadline_relative_label.add_css_class ("dimmed");
@@ -150,7 +150,7 @@ public class Widgets.DeadlineButton : Adw.Bin {
150150
css_classes = { "title-4", "caption", "font-bold" }
151151
};
152152

153-
deadline_label = new Gtk.Label (_("Set a Deadline")) {
153+
deadline_label = new Gtk.Label (_("What is the latest date to complete this?")) {
154154
xalign = 0,
155155
use_markup = true,
156156
halign = START,

0 commit comments

Comments
 (0)