bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [sr #108887] Icon= in .desktop files


From: Egmont Koblinger
Subject: [bug-gettext] [sr #108887] Icon= in .desktop files
Date: Wed, 26 Jun 2019 04:48:04 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

Follow-up Comment #11, sr #108887 (project gettext):

> Maybe a different solution would be to make translating the Icon key opt-in?
So by default it’s skipped when extracting strings, but the developer can
decide to have it translatable in the rare cases where it is needed.

May I recommend to go with annotations on the preceding line, such as

    # @notranslate
    Icon=foo

I'd personally prefer to keep it default translateable, thus opt-out. This way
developers "just" need to add this line to hundreds of apps, but there's no
risk of temporary breakages. Also one doesn't have to remember which keys
default to which behavior (fewer surprises).

I'm not against a default-off opt-in behavior either (e.g. @translate above
Icon=) for certain keys including Icon, but be aware that there's a risk of
temporarily breaking apps that do use localized icons. At least it would be
nice if you could get a list of such apps and send them an FYI to update their
software before gettext gets updated.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?108887>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]