[Thunar-dev] xfdesktop and thunar
Brian J. Tarricone
bjt23 at cornell.edu
Fri Apr 28 09:53:58 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Benedikt Meurer wrote:
> Brian J. Tarricone schrieb:
>>>> Well finally, here are the screenshots:
>>>>
>>>> http://www.dcc.ufrj.br/~rcoacci/thunar.jpg
>>>> http://www.dcc.ufrj.br/~rcoacci/xfdesktop.jpg
>>>>
>>>> The first one shows the properties dialog from Thunar
>>>> an the second one, from xfdektop. Tha language is pt_BR. Notice the "??" in
>>>> the xfdesktop dialog.
>>>> Those are the last thunar and xfdesktop svn versions.
>>>> Hope it helps
>>> It's also weird that the file context menu on the desktop and parts of
>>> the dialog are in English, if your locale is actually set to pt_BR. Were
>>> both packages started with the same locale? Or do you manually (or
>>> otherwise) switch locales after the desktop has started? This might be
>>> completely off the mark, but personally I've never seen this problem.
>>>
>>> BTW, as far as I understand, the dialog in xfdesktop is actually copied
>> >from thunar, but isn't really the _same_ dialog. I recall seeing these
>>> same strings in the translation files for both packages. So this has
>>> possibly nothing to do with thunar and the thread should probably be on
>>> xfce4-dev.
>> The Launcher properties page is actually supplied by a Thunar plugin.
>> I'm not sure how the translation works at all, since the strings would
>> be in a thunar's .mo file, and it would be trying to look in
>> xfdesktop's. Unless Benny did some trickery.
>
> Well, weird thing is, GETTEXT_PACKAGE is Thunar for the plugins, and
> bindtextdomain() is not called by the plugins (have to fix that). So,
> where does the translation come from?
I bet some of them - like "Use startup notification" and "Run in
terminal" come from menueditor. Well, actually, the latter does, but
the former has its mnemonic in a different place (which may indicate why
it's blank in the screenshot; though I thought gettext would just return
the English string if it didn't find one). Menueditor does have
"Command". I'm sure there's an "Options" somewhere. Not sure about the
others, but you get the idea...
If the plugins call bindtextdomain(), won't this mess up xfdesktop's
translations? Or does gettext just accumulate text domains, and not
replace them when you call bindtextdomain() again?
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEUcoW6XyW6VEeAnsRArGJAJ0aThqf/27FKD9ZsBO+fe3o6uIW6QCfQrjp
WBt3o89PB2gFoJycRYF+iBY=
=NuFQ
-----END PGP SIGNATURE-----
More information about the Thunar-dev
mailing list