Partnering:Firefox3:DistributionINI
Jump to navigation
Jump to search
With the release of Firefox 3,
# Partner Distribution Configuration File # Author: Dan Mills <thunder@mozilla.com> # id: short string unique to this distribution # about: a short descriptive (ui-visible) string for this # distribution # version: version of the extra distribution pieces (not the version # of Firefox) [Global] id=testpartner version=1.0 about=Afiliado de Prueba about.en-US=Test Partner # This section contains the global js prefs. You do should not list # the localized preferences here (see below) # Boolean preferences should be 'true' or 'false', w/o quotes. e.g.: # my.bool.preference=true # # Integer preferences should be unquoted numbers. e.g.: # my.int.preference=123 # # String preferences should be in quotes. e.g.: # my.string.preference="foo" [Preferences] mozilla.partner.id="testpartner" app.distributor="testpartner" app.distributor.channel= browser.search.distributionID="com.testpartner" # This section is used as a template for locale-specific properties # files. They work similarly to the GlobalPrefs section, except that # the %LOCALE% string gets substituted with the language string. [LocalizablePreferences] browser.startup.homepage="http://sandmill.org/%LOCALE%/%LOCALE%/" browser.startup.homepage_reset="http://sandmill.org/%LOCALE%/" # This section is an example of an override for a particular locale. # The override sections do not interpolate %LOCALE% into strings. # Preferences set in override sections are *merged* with the # localizable defaults. That is, if you want a pref in # [LocalizablePreferences] to not be set in a particular locale, # you'll need to unset it explicitly ("pref.name=" on a line of its # own). [LocalizablePreferences-en-US] browser.foo="testpartner" #browser.startup.homepage="http://cheese.com/" #browser.startup.homepage="http://cheese.com/%LOCALE%/" # Search Plugins # Search plugins do no need to be listed in this ini file. Instead, # create a directory structure like the following, and they will be # automatically loaded: # * distribution/ # * searchplugins/ # * common/ # * <plugin.xml> # * <plugin.xml> # * ... # * locale/ # * <locale>/ # * <plugin.xml> # * <plugin.xml> # * ... # * <locale>/ # * <plugin.xml> # * <plugin.xml> # * ... # If a directory for the locale the browser is running in doesn't # exist, Firefox will automatically try the 'default' locale, as defined # by the distribution.searchplugins.defaultLocale preference. # Bookmarks # There are two "toplevel" sections, BookmarksToolbar and BookmarksMenu. # These can reference other sections via the "folder" type item. These # folder sections must be named "BookmarksFolder-<id>". # Each section contains a list of numbered item settings, where each # item represents a bookmark, separator, folder, or the default # bookmarks in that container (if any). The default type is bookmark. [BookmarksToolbar] item.1.title=Queso item.1.link=http://queso.com/ item.1.description=Quesos deliciosos! item.1.title.en-US=Cheese item.1.link.en-US=http://cheese.com/ item.1.description.en-US=Delicious cheeses! item.1.title.ja-JP=チーズ item.1.link.ja-JP=http://ja.wikipedia.org/wiki/%E3%83%81%E3%83%BC%E3%82%BA item.1.description.ja-JP=美味しいチーズです! item.2.type=default item.3.type=separator item.4.title=Foo Feed item.4.siteLink=http://blog.mozilla.com/ item.4.feedLink=http://blog.mozilla.com/feed/ item.4.type=livemark item.5.type=folder item.5.title=Título de la Carpeta item.5.title.en-US=Folder Title item.5.folderId=1 [BookmarksMenu] item.1.type=folder item.1.title=Another Folder Title item.1.folderId=2 [BookmarksFolder-1] item.1.title=Example Bookmarklet item.1.link=javascript: alert("hi"); item.2.title=Another Example Bookmark item.2.link=http://example.com/foo item.2.description=This is a sample site. [BookmarksFolder-2] item.1.title=Another Example Bookmarklet item.1.link=javascript: alert("hello");