Bug 4268 - Clarify "Hunk lines" for i18n
Summary: Clarify "Hunk lines" for i18n
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Translations (show other bugs)
Version: 3.17.5
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-11-04 11:24 UTC by simon.legner
Modified: 2019-11-26 12:06 UTC (History)
0 users

See Also:


Attachments

Description simon.legner 2019-11-04 11:24:18 UTC
Please add a comment to the following strings to make translator's life easier:
- Hunk lines
- Pick color for hunk lines

I have no idea what "hunk" would mean in this context.
Comment 1 Paul 2019-11-04 11:58:33 UTC
Just to be clear, are you asking for po files (Content-Type: text/x-gettext-translation) to be given configurable highlighting colours when viewed in claws-mail?
Comment 2 Ricardo Mones 2019-11-04 12:13:57 UTC
>
> I have no idea what "hunk" would mean in this context.

https://www.gnu.org/software/diffutils/manual/html_node/Hunks.html

regards,
Comment 3 wwp 2019-11-04 13:07:35 UTC
Hunk lines are indeed lines in text blocks that describe what is different between several compared text files, in a `diff` output (could be the diff command or a diff comment from a repository management system). Such lines can appear in specific colors, in order to distinguish more easily what changed and what is described by the diff output (mostly: lines removed - commonly in red, lines added - commonly in green).

Simon, this tracker is not the right place to discuss translations or request for translation help (you didn't know, you did it, there's nothing wrong in that). May I invite you to join the translators mailing list and post any further request in there?
See: https://www.claws-mail.org/i18n.php?section=projects
Comment 4 simon.legner 2019-11-04 14:35:06 UTC
Hi all,

thanks for your replies. I wanted to motivate adding a `i18n:` comment for the two hunk strings in the source file src/prefs_msg_colors.c similar to the following example in order to give all translators an idea what this string is referring to.

src/plugins/fetchinfo/fetchinfo_plugin.c
>		/* i18n: Possible error message during plugin load */
>		g_warning("failed to write Fetchinfo configuration to file");

I'm doing software development myself and use diff/git regularly. Sill, I had no clue what "hunk" is referring to. And I still have no clue for a sensible German translation.

Thanks,
Simon

Note You need to log in before you can comment on or make changes to this bug.