Skip to content

Commit

Permalink
I18N: Annotate literals in advisory command
Browse files Browse the repository at this point in the history
The comment is extracted by "xgettext -c" and placed to gettext
catalogs. It helps the translators not know which words not to
translate:

    #. Note for translators: "critical" etc. quoted words are
    #. literals that should not be translated.
    #: commands/advisory/arguments.hpp:155
    msgid ""
    "Limit to packages in advisories with specified severity. List option. Can be "
    "\"critical\", \"important\", \"moderate\", \"low\", \"none\"."
    msgstr ""

Fixes: #1159
  • Loading branch information
ppisar committed Jan 12, 2024
1 parent b2eb54a commit 69120f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dnf5daemon-client/commands/advisory/arguments.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ class AdvisorySeverityOption : public libdnf5::cli::session::AppendStringListOpt
command,
"advisory-severities",
'\0',
/* Note for translators: "critical" etc. quoted words are
literals that should not be translated. */
_("Limit to packages in advisories with specified severity. List option. Can be "
"\"critical\", \"important\", \"moderate\", \"low\", \"none\"."),
_("ADVISORY_SEVERITY,..."),
Expand Down

0 comments on commit 69120f9

Please sign in to comment.