Partnering:Firefox3:DistributionINI: Difference between revisions

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

Revision as of 13:04, 15 May 2008

# 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.type=folder item.4.title=Título de la Carpeta item.4.title.en-US=Folder Title item.4.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");