firefox-multilocale-chrome.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 26 Jun 2013 10:30:29 +0200
branchfirefox22
changeset 656 1f947ce4bf72
parent 650 e8c83b144fd1
child 653 38c67b6b2f37
permissions -rw-r--r--
changelog
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     1
# HG changeset patch
650
e8c83b144fd1 22.0b4 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 642
diff changeset
     2
# Parent cd1ec2efff2b6c41550ce2b5b9b8ba8182eb9836
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     3
# User Wolfgang Rosenauer <wr@rosenauer.org>
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     4
Add searchplugins to chrome packaging for proper localization
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     5
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     6
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     7
--- a/browser/app/profile/firefox.js
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     8
+++ b/browser/app/profile/firefox.js
650
e8c83b144fd1 22.0b4 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 642
diff changeset
     9
@@ -342,16 +342,20 @@ pref("browser.download.panel.shown", fal
606
9d39369e1b4c FF19beta cycle preparation (does not build yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 541
diff changeset
    10
 pref("browser.download.panel.firstSessionCompleted", false);
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    11
 
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    12
 // search engines URL
289
3c0dff7ca9c4 Update to version 6.0b1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 251
diff changeset
    13
 pref("browser.search.searchEnginesURL",      "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    14
 
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    15
 // pointer to the default engine name
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    16
 pref("browser.search.defaultenginename",      "chrome://browser-region/locale/region.properties");
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    17
 
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    18
+// Tell the search service to load search plugins from the locale JAR
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    19
+pref("browser.search.loadFromJars", true);
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    20
+pref("browser.search.jarURIs", "chrome://browser/locale/searchplugins/");
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    21
+
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    22
 // disable logging for the search service by default
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    23
 pref("browser.search.log", false);
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    24
 
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    25
 // Ordering of Search Engines in the Engine list. 
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    26
 pref("browser.search.order.1",                "chrome://browser-region/locale/region.properties");
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    27
 pref("browser.search.order.2",                "chrome://browser-region/locale/region.properties");
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    28
 pref("browser.search.order.3",                "chrome://browser-region/locale/region.properties");
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    29
 
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    30
diff --git a/browser/locales/Makefile.in b/browser/locales/Makefile.in
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    31
--- a/browser/locales/Makefile.in
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    32
+++ b/browser/locales/Makefile.in
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    33
@@ -71,20 +71,22 @@ UNINSTALLER_PACKAGE_HOOK = $(RM) -r $(ST
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    34
 
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    35
 STUB_HOOK = $(NSINSTALL) -D "$(_ABS_DIST)/$(PKG_INST_PATH)"; \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    36
     $(RM) "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    37
     cp ../installer/windows/l10ngen/stub.exe "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    38
     chmod 0755 "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    39
     $(NULL)
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    40
 endif
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    41
 
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    42
-SEARCHPLUGINS_NAMES = $(shell cat $(call MERGE_FILE,/searchplugins/list.txt))
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    43
+SEARCHPLUGINS_NAMES = $(shell cat \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    44
+	$(firstword $(wildcard $(LOCALE_SRCDIR)/searchplugins/list.txt) \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    45
+	@srcdir@/en-US/searchplugins/list.txt ) )
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    46
 SEARCHPLUGINS_PATH := $(FINAL_TARGET)/searchplugins
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    47
 SEARCHPLUGINS := $(addsuffix .xml,$(SEARCHPLUGINS_NAMES))
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    48
-PP_TARGETS += SEARCHPLUGINS
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    49
+#PP_TARGETS += SEARCHPLUGINS
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    50
 
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    51
 # Required for l10n.mk - defines a list of app sub dirs that should
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    52
 # be included in langpack xpis.
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    53
 ifdef MOZ_METRO
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    54
 # metro build, include both app folders
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    55
 DIST_SUBDIRS = browser metro
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    56
 else
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    57
 DIST_SUBDIRS = $(DIST_SUBDIR)
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    58
@@ -142,20 +144,44 @@ install:: $(addprefix generic/profile/,$
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    59
 
251
4c9ebbedd59c adopt patches to new base
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 220
diff changeset
    60
 install:: $(call MERGE_FILES,$(addprefix profile/chrome/,$(PROFILE_CHROME)))
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    61
 	$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile/chrome
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    62
 
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    63
 # metro build calls back here for search engine plugins
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    64
 searchplugins: $(addprefix $(FINAL_TARGET)/searchplugins/,$(SEARCHPLUGINS))
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    65
 .PHONY: searchplugins
410
0af1b0003b9f working 12.0b1
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 409
diff changeset
    66
 
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    67
+tmp-search.jar.mn::
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    68
+	printf "$(AB_CD).jar:" > $@
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    69
+	printf "$(foreach plugin,$(SEARCHPLUGINS), \n locale/browser/searchplugins/$(plugin) ($(plugin)))" >> $@
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    70
+	@echo >> $@
409
ff30593d2daa switch to 12.0dev
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 289
diff changeset
    71
+
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    72
+searchplugins-jar:: $(SEARCHPLUGINS)
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    73
+	for SEARCHPLUGIN in $^; do \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    74
+	  $(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    75
+	  $$SEARCHPLUGIN > $$SEARCHPLUGIN-new ; \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    76
+	  mv $$SEARCHPLUGIN-new $$SEARCHPLUGIN ; \
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    77
+	done
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    78
+
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    79
+searchplugins-jar:: tmp-search.jar.mn
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    80
+	$(PYTHON) $(MOZILLA_DIR)/config/JarMaker.py \
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    81
+	  $(QUIET) -j $(FINAL_TARGET)/chrome \
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    82
+	  -s $(topsrcdir)/$(relativesrcdir)/en-US/searchplugins \
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    83
+	  -s $(LOCALE_SRCDIR)/searchplugins \
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    84
+	  $(MAKE_JARS_FLAGS) tmp-search.jar.mn
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    85
+
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    86
+libs:: searchplugins-jar
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    87
+
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    88
+GARBAGE += tmp-search.jar.mn
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    89
+
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    90
 libs-%:
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    91
 	$(NSINSTALL) -D $(DIST)/install
606
9d39369e1b4c FF19beta cycle preparation (does not build yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 541
diff changeset
    92
 	@$(MAKE) -C ../../toolkit/locales libs-$*
9d39369e1b4c FF19beta cycle preparation (does not build yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 541
diff changeset
    93
 	@$(MAKE) -C ../../services/sync/locales AB_CD=$* XPI_NAME=locale-$*
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    94
+	@$(MAKE) -B searchplugins-jar AB_CD=$* XPI_NAME=locale-$*
606
9d39369e1b4c FF19beta cycle preparation (does not build yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 541
diff changeset
    95
 	@$(MAKE) -C ../../extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$*
9d39369e1b4c FF19beta cycle preparation (does not build yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 541
diff changeset
    96
 	@$(MAKE) -C ../../intl/locales AB_CD=$* XPI_NAME=locale-$*
9d39369e1b4c FF19beta cycle preparation (does not build yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 541
diff changeset
    97
 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    98
 ifdef MOZ_METRO
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
    99
 	@$(MAKE) -C ../metro/locales AB_CD=$* XPI_NAME=locale-$*
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   100
 endif
606
9d39369e1b4c FF19beta cycle preparation (does not build yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 541
diff changeset
   101
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   102
 
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   103
diff --git a/browser/locales/en-US/searchplugins/google.xml b/browser/locales/en-US/searchplugins/google.xml
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   104
--- a/browser/locales/en-US/searchplugins/google.xml
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   105
+++ b/browser/locales/en-US/searchplugins/google.xml
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   106
@@ -9,24 +9,16 @@
650
e8c83b144fd1 22.0b4 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 642
diff changeset
   107
 <Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACuUlEQVRYw8VX60sUURSffybWv6MloxeV0Jug+hJB0YMoCCII1E3LnlYKlVkkUZKaRFEGFlgfMntYhlopVpaP1HXuPPbOzOmcOw/XZbed3ZndvXBYlr17zu+8fudcaWmlLKEsQWlFmUOBAsucY4tsSmQ8gjJTBMOpQjYjkoMGSiStUpHCnknmpXz+uLdJgY5eDsN/TJA1C9KdkUkTjraoWXXlBGDNaQZd/VwoP3xHhbVnGOxvVuHLL1MY5QZArEODbfUMllX70+kbACl8N2qAxgE2XmCLfltZI8O3CRtEXLVg00Xm2ynfAOoeacLA2+9G2t8P3lK98Lf3JsIH8OmH7eEzTEGmO6NT9p3JuBU+ADUB/40ASdsb+5KiFxAAw6pfHkt/p/G5Lu6MTZvhAyDP3VPdrqW90/zSRnmjWw8fwLG7C0VGOV5/dnGll2OXfEVeoFpZcUoOHwBJ0wvdA0FtdwS5YF0dg93XFHg1ZMDrYQNW17KcSC1nJtx3U4XH77nwdui3CaZDhAM/TSiP5c6qUhAu33qJeRFp6UnkpSMQgC1JAKZlC3Y1KsUFQEJ5dw/1/8kHWuEARKtk2HNdgctPdTENewYN0fPJxypUG1Zh74/PWsDQS2K8E/c12NmgQMU5BhXYksT/yaehSw8PgEuxn7HSUydhKkjuZIQ+N5xnwQEcv2cTkIGR3uxjzNY81LwoVLZpwQF0D3ChjCad33RRqujQchIYgDuG/2KbRX0CcDckP22ZFUBnH/dCWtuZ3SMqygTmv3/MCKcIt19RvFHMTbu6M1Eu7Yh9IwbMMEt0SGhdcOi2ClPzC9vvLBp48oELMLSq1SMv0HfakD+i5zuuKuHzwCqccmSMph6NY1pOqdWoNgbHTcEDB3AvjOZBxSV/mJT8aVZWwsdpmeQ8zyNOJOJFMBx3bJFN6R++on7RvMlpZAAAAABJRU5ErkJggg==</Image>
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   108
 <Url type="application/x-suggestions+json" method="GET" template="https://www.google.com/complete/search?client=firefox&amp;q={searchTerms}"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   109
 <Url type="text/html" method="GET" template="https://www.google.com/search">
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   110
   <Param name="q" value="{searchTerms}"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   111
   <Param name="ie" value="utf-8"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   112
   <Param name="oe" value="utf-8"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   113
   <Param name="aq" value="t"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   114
   <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   115
-#if MOZ_UPDATE_CHANNEL == beta
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   116
-  <MozParam name="client" condition="defaultEngine" trueValue="firefox-beta" falseValue="firefox"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   117
-#elif MOZ_UPDATE_CHANNEL == aurora
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   118
-  <MozParam name="client" condition="defaultEngine" trueValue="firefox-aurora" falseValue="firefox"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   119
-#elif MOZ_UPDATE_CHANNEL == nightly
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   120
-  <MozParam name="client" condition="defaultEngine" trueValue="firefox-nightly" falseValue="firefox"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   121
-#else
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   122
   <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   123
-#endif
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   124
   <MozParam name="channel" condition="purpose" purpose="contextmenu" value="rcs"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   125
   <MozParam name="channel" condition="purpose" purpose="keyword" value="fflb"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   126
   <MozParam name="channel" condition="purpose" purpose="homepage" value="np"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   127
   <MozParam name="source" condition="purpose" purpose="homepage" value="hp"/>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   128
 </Url>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   129
 <SearchForm>https://www.google.com/</SearchForm>
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   130
 </SearchPlugin>
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   131
diff --git a/browser/locales/jar.mn b/browser/locales/jar.mn
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   132
--- a/browser/locales/jar.mn
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   133
+++ b/browser/locales/jar.mn
650
e8c83b144fd1 22.0b4 update
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 642
diff changeset
   134
@@ -116,16 +116,17 @@
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   135
     locale/browser/syncQuota.properties         (%chrome/browser/syncQuota.properties)
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   136
 #endif
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   137
 % locale browser-region @AB_CD@ %locale/browser-region/
220
2538fd6a51be update to 2.0b10/4.0b10
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 198
diff changeset
   138
     locale/browser-region/region.properties        (%chrome/browser-region/region.properties)
2538fd6a51be update to 2.0b10/4.0b10
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 198
diff changeset
   139
 # the following files are browser-specific overrides
541
830e50bbfc79 working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 515
diff changeset
   140
     locale/browser/netError.dtd                (%chrome/overrides/netError.dtd)
830e50bbfc79 working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 515
diff changeset
   141
     locale/browser/appstrings.properties       (%chrome/overrides/appstrings.properties)
830e50bbfc79 working Aurora 17.0 build
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 515
diff changeset
   142
     locale/browser/downloads/settingsChange.dtd  (%chrome/overrides/settingsChange.dtd)
642
b30da62025bc 21 is now beta
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 606
diff changeset
   143
+    locale/browser/searchplugins/list.txt      (%searchplugins/list.txt)
198
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   144
 % override chrome://global/locale/netError.dtd chrome://browser/locale/netError.dtd
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   145
 % override chrome://global/locale/appstrings.properties chrome://browser/locale/appstrings.properties
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   146
 % override chrome://mozapps/locale/downloads/settingsChange.dtd chrome://browser/locale/downloads/settingsChange.dtd
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   147
 % locale testpilot @AB_CD@ %locale/feedback/
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   148
     locale/feedback/main.dtd                       (%feedback/main.dtd)
447791e42c9b Package searchplugins into langpack chrome and load from there
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
   149
     locale/feedback/main.properties                (%feedback/main.properties)
467
a9baaad57fa4 refreshed patches and removed obsolete ones
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 462
diff changeset
   150
 % locale pdf.js @AB_CD@ %locale/pdfviewer/
a9baaad57fa4 refreshed patches and removed obsolete ones
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 462
diff changeset
   151
     locale/pdfviewer/viewer.properties             (%pdfviewer/viewer.properties)