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
...@@ -74,8 +74,8 @@ item_tooltip_cb (GtkListItem *item) ...@@ -74,8 +74,8 @@ item_tooltip_cb (GtkListItem *item)
} }
else if (tries + utries > 0) else if (tries + utries > 0)
{ {
g_string_printf (tooltip, ngettext ("%d try, %d converted", g_string_printf (tooltip, ngettext ("%d try (%d converted)",
"%d tries, %d converted", "%d tries (%d converted)",
tries + utries), tries + utries),
tries + utries, tries); tries + utries, tries);
} }
...@@ -83,7 +83,7 @@ item_tooltip_cb (GtkListItem *item) ...@@ -83,7 +83,7 @@ item_tooltip_cb (GtkListItem *item)
if (kicks > 0) if (kicks > 0)
{ {
if (tries > 0 || utries > 0) if (tries > 0 || utries > 0)
g_string_append_printf (tooltip, ", "); g_string_append_printf (tooltip, " and ");
g_string_append_printf (tooltip, g_string_append_printf (tooltip,
ngettext ("%d kick", "%d kicks", kicks), 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