[geany/geany] 8b61b9: Mark the goto popup label as translatable for localized colons
Colomban Wendling
git-noreply at xxxxx
Sun Feb 28 12:27:31 UTC 2016
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 28 Feb 2016 12:27:31 UTC
Commit: 8b61b9f94166e32a921cf839377f0a3b6bfeec3c
https://github.com/geany/geany/commit/8b61b9f94166e32a921cf839377f0a3b6bfeec3c
Log Message:
-----------
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.
Modified Paths:
--------------
src/symbols.c
Modified: src/symbols.c
6 lines changed, 4 insertions(+), 2 deletions(-)
===================================================================
@@ -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);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list