Skip to content

Commit

Permalink
gio-tool-info: Move translator comments so they’re visible
Browse files Browse the repository at this point in the history
The tooling won’t pick them up unless they’re directly above the gettext
calls.

Spotted by Piotr Drąg in
https://gitlab.gnome.org/GNOME/glib/-/commit/ec03755355fd542d2e3dfeba500e2c7353f706a4#note_1808152.

Signed-off-by: Philip Withnall <[email protected]>
  • Loading branch information
pwithnall committed Aug 12, 2023
1 parent 3029f08 commit faee7d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gio/gio-tool-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ show_info (GFile *file, GFileInfo *info)
g_file_info_get_display_name (info) : NULL;
if (name)
{
/* Translators: This is a noun and represents and attribute of a file */
flatten = flatten_string (name);
/* Translators: This is a noun and represents and attribute of a file */
g_print (_("display name: %s\n"), flatten);
g_free (flatten);
}
Expand All @@ -171,8 +171,8 @@ show_info (GFile *file, GFileInfo *info)
g_file_info_get_edit_name (info) : NULL;
if (name)
{
/* Translators: This is a noun and represents and attribute of a file */
flatten = flatten_string (name);
/* Translators: This is a noun and represents and attribute of a file */
g_print (_("edit name: %s\n"), flatten);
g_free (flatten);
}
Expand Down

0 comments on commit faee7d0

Please sign in to comment.