mobile/locales/jar.mn
author Nick Alexander <nalexander@mozilla.com>
Tue, 04 Nov 2014 17:03:55 -0500
changeset 226008 32c3529eb076
parent 208102 a48cbea17696
permissions -rw-r--r--
Bug 883254 - Add the duckduckgo searchplugin to certain locales. f=glandium, r=mfinkle, a=sledru The purpose of this patch is to union a set of extra search plugins into the set of search plugins for a specific subset of locales in a multi-locale build. This is a temporary hack for a single release; for this release, we don't care about burning single-locale repacks. I don't think we support finding a localized JAR resource -- like (%searchplugins/list.txt) -- from the object directory directly, so: * I made the list filename depend on the locale; * generated the locale-dependent list at build time; * had the generated JAR include the list from the object directory.

#filter substitution
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


@AB_CD@.jar:
% locale browser @AB_CD@ %locale/@AB_CD@/browser/
  locale/@AB_CD@/browser/region.properties        (%chrome/region.properties)

# In addition, per-locale searchplugin XML files, and the master
# searchplugins/list.txt, are generated at build-time.

# Fennec-specific overrides of generic strings
* locale/@AB_CD@/browser/netError.dtd             (%overrides/netError.dtd)
% override chrome://global/locale/netError.dtd    chrome://browser/locale/netError.dtd
* locale/@AB_CD@/browser/appstrings.properties    (%overrides/appstrings.properties)
% override chrome://global/locale/appstrings.properties chrome://browser/locale/appstrings.properties
* locale/@AB_CD@/browser/passwordmgr.properties    (%overrides/passwordmgr.properties)
% override chrome://passwordmgr/locale/passwordmgr.properties chrome://browser/locale/passwordmgr.properties