@elextr commented on this pull request.
Looks ok by quick inspection
> if (! first && have_best)
- /* For translators: it's the filename and line number
of a symbol in the goto-symbol popup menu */
- text = g_markup_printf_escaped(_("<b>%s:%lu:</b> %s"),
fname, tmtag->line, sym);
+ /* For translators: it's the filename and the line
number of a symbol in the goto-symbol popup menu */
+ text = g_markup_printf_escaped(_("<b>%s:%lu</b>"),
fname, tmtag->line);
Remove the translation mark so its not forgotten and spams next translate
cycle, its computer language `file:line`, not human language, so its
untranslatable.
> else
- /* For translators: it's the filename and line number
of a symbol in the goto-symbol popup menu */
- text = g_markup_printf_escaped(_("<i>%s:%lu:</i> %s"),
fname, tmtag->line, sym);
+ /* For translators: it's the filename and the line
number of a symbol in the goto-symbol popup menu */
+ text = g_markup_printf_escaped(_("%s:%lu"), fname,
tmtag->line);
ditto
> else
- /* For translators: it's the filename and line number
of a symbol in the goto-symbol popup menu */
- text = g_markup_printf_escaped(_("<i>%s:%lu:</i> %s"),
fname, tmtag->line, sym);
+ /* For translators: it's the filename and the line
number of a symbol in the goto-symbol popup menu */
+ text = g_markup_printf_escaped(_("%s:%lu"), fname,
tmtag->line);
+
+ /* For translators: it's the filename, line number, and
signature of a symbol in the goto-symbol popup menu */
+ tooltip =
g_markup_printf_escaped(_("%s:%lu\n<small><tt>%s</tt></small>"), fname,
tmtag->line, sym);
ditto
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3547#pullrequestreview-1663637201
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3547/review/[email protected]>