Skip to content
Snippets Groups Projects
Verified Commit 2afb4320 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Better tooltips

parent b316c997
No related branches found
No related tags found
No related merge requests found
Pipeline #3745 passed
......@@ -74,8 +74,8 @@ item_tooltip_cb (GtkListItem *item)
}
else if (tries + utries > 0)
{
g_string_printf (tooltip, ngettext ("%d try, %d converted",
"%d tries, %d converted",
g_string_printf (tooltip, ngettext ("%d try (%d converted)",
"%d tries (%d converted)",
tries + utries),
tries + utries, tries);
}
......@@ -83,7 +83,7 @@ item_tooltip_cb (GtkListItem *item)
if (kicks > 0)
{
if (tries > 0 || utries > 0)
g_string_append_printf (tooltip, ", ");
g_string_append_printf (tooltip, " and ");
g_string_append_printf (tooltip,
ngettext ("%d kick", "%d kicks", kicks),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment