Mark the goto popup label as translatable for localized colons

It could arguably not be translatable and only `filename:line` display,
but as we have already a space on the right of the colon it's not, and
allowing translation is not a problem and can give better localization.
This commit is contained in:
Colomban Wendling 2016-02-28 13:27:31 +01:00
parent b46e183cbc
commit 8b61b9f941

View File

@ -1979,9 +1979,11 @@ static void show_goto_popup(GeanyDocument *doc, GPtrArray *tags, gboolean have_b
gchar *text;
if (! first && have_best)
text = g_markup_printf_escaped("<b>%s: %lu</b>", fname, tmtag->line);
/* For translators: it's the filename and line number of a tag in the goto-tag popup menu */
text = g_markup_printf_escaped(_("<b>%s: %lu</b>"), fname, tmtag->line);
else
text = g_markup_printf_escaped("%s: %lu", fname, tmtag->line);
/* For translators: it's the filename and line number of a tag in the goto-tag popup menu */
text = g_markup_printf_escaped(_("%s: %lu"), fname, tmtag->line);
image = gtk_image_new_from_pixbuf(symbols_icons[get_tag_class(tmtag)].pixbuf);
label = g_object_new(GTK_TYPE_LABEL, "label", text, "use-markup", TRUE, "xalign", 0.0, NULL);