Bug #410972 “Add comments for messages extracted from .desktop f...” : Bugs : intltool (original) (raw)

Add comments for messages extracted from .desktop files

This bug affects 2 people

Affects Status Importance Assigned to Milestone
intltool Triaged Wishlist Unassigned

Bug Description

For translators' sake, could be interesting add comments explaing the .desktop key associated with message. I don't think this can be managed adding comments in .desktop file, like currently occurs in .c sources and similar.

Example

.desktop file contains

_Name=Web Browser
_Description=Browse the web

Related messages in .po file could appear like

# Translators: this message will be used as Name
msgid "Web Browser"
msgstr ""

# Translators: this message will be used as Description
msgid "Browse the web"
msgstr ""