_X-XfceSettingsName not getting 'expanded' with translations in .desktop files

Alexander Toresson alexander.toresson at gmail.com
Tue Oct 14 23:18:04 CEST 2008


On Tue, Oct 14, 2008 at 11:11 PM, Brian J. Tarricone <bjt23 at cornell.edu> wrote:
> Alexander Toresson wrote:
>> Hello,
>>
>> I just noticed that _X-XfceSettingsName won't get expanded to
>> X-XfceSettingsName[LANGCODE] in trunk and thus translations of the
>> entries in the settings manager fall back to using _GenericName, and
>> are thus needlessly long.
>>
>> I also took a look at how .desktop files are generated from
>> .desktop.in files, and as the process does seem to be done by intltool
>> (by invoking @INTLTOOL_DESKTOP_RULE@), is this a bug in intltool?
>
> Yes, you have a buggy intltool.  Either upgrade to intltool 0.40.4, or
> use a 0.3x.y version of intltool, and xfce4-dev-tools will patch it for
> you during autogen (at least it will try -- watch the output; if it
> fails, you're out of luck).
>

Ah, yeah. I get the following during autogen:

WARNING: Unable to patch intltool-merge from versions 0.40.0 through 0.40.3.
WARNING: Generated .desktop files may be invalid.
WARNING: Unable to patch intltool-merge from versions 0.40.0 through 0.40.3.
WARNING: Generated .desktop files may be invalid.

I will try to figure out why it fails tomorrow. Perhaps it conflicts
with a distro-specific patch to the same file.

// Alexander



More information about the Xfce4-dev mailing list