El 15/12/14 a las 08:54, Francesco Lodolo [:flod] escribió:
> Il 14/12/14 22:53, Ricardo Palomares Martínez ha scritto:
>> - Is the rule of changing the names of searchplugins when a
>> localization wants to ship a customized version a build requirement
>> (thus, affecting Thunderbird and SeaMonkey as well) or just part of
>> the productization guide for Firefox?
> For Firefox (desktop and Android) is a build requirement: if a
> searchplugin with the same name exists in both en-US and l10n
> repositories, the one in l10n will be simply ignored. That's why you
> need a different filename. I don't think SeaMonkey's and Thunderbird's
> build systems are different from that point of view.
Well, we have now SeaMonkey 2.33b1 builds (candidates, but good enough
for this testing) [1]. I've downloaded and tested two locale builds
significant for this topic: sv-SE and ru.
sv-SE modified the duckduckgo.xml searchplugin to add the locale
parameters Frank Wein commented on, but kept the file name untouched
[2]. The result is that no duckduckgo.xml at all is found in their
binary (at least, in the linux-i686).
On the other hand, ru also modified the DDG searchplugin to do the
same (add the locale parameters to the search), but it followed the
productization guide and renamed the searchplugin file name to
duckduckgo-ru.xml [3]. The result is that the plugin is shipped, and
it is the russian locale version.
So, by now we can conclude, with no doubt at all, that to make changes
to the default content of a searchplugin, the file itself must be
renamed. You will need to change the name also in the list.txt file.
BTW, sv-SE SeaMonkey localizers, you may want to fix this. :-)
[1]
ftp://ftp.mozilla.org/pub/seamonkey/nightly/2.33b1-candidates/build1/linux-i686/
[2]
http://hg.mozilla.org/releases/l10n/mozilla-beta/sv-SE/file/tip/suite/searchplugins
[3]
http://hg.mozilla.org/releases/l10n/mozilla-beta/ru/file/tip/suite/searchplugins
--
Proyecto NAVE (Mozilla es-ES Localization Team)
Mozilla Hispano Community