desktop-entry: make Icon field non-translatable?
hadess at hadess.net
Mon Sep 10 09:39:26 UTC 2018
On Sun, 2018-09-09 at 21:08 -0400, Jeremy Bicha wrote:
> Originally, the desktop-entry-spec set the Icon field as "string". It
> was changed in 2006 to "localestring" which means it is translatable.
> Recently in GNOME, many projects have switched from intltool to
> gettext. gettext treats the Icon field as a translatable string
> without a way for projects to disable that. In GNOME, we include a
> comment to warn translators not to translate the Icon field but
> translators sometimes don't see the comment. That causes breakage
> because no one is providing translated icons here.
> Could we please change the Icon field back to "string"?
There are a number of such strings marked as translatable that
translators don't take enough care to translate. For example, the
RTL/LTR "translations", or calendar default settings in GTK+.
This problem would be better fixed with tools that would allow checking
for the validity of translations.
More information about the xdg