firefox-multilocale-chrome.patch
changeset 804 c64eecb7772c
parent 791 215db725bd82
child 805 e14da82b1332
equal deleted inserted replaced
803:2823515f76a2 804:c64eecb7772c
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent 839ad2a7997b5b64edf2454b42c733a0fc729270
     2 # Parent e6f3afc034d1bef0f7661469d8ca3ef7744c907e
     3 # User Wolfgang Rosenauer <wr@rosenauer.org>
     3 # User Wolfgang Rosenauer <wr@rosenauer.org>
     4 Add searchplugins to chrome packaging for proper localization
     4 Add searchplugins to chrome packaging for proper localization
     5 
     5 
     6 diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
     6 diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
     7 --- a/browser/app/profile/firefox.js
     7 --- a/browser/app/profile/firefox.js
    40  SEARCHPLUGINS_NAMES = $(shell cat $(call MERGE_FILE,/searchplugins/metrolist.txt))
    40  SEARCHPLUGINS_NAMES = $(shell cat $(call MERGE_FILE,/searchplugins/metrolist.txt))
    41  else
    41  else
    42 -SEARCHPLUGINS_NAMES = $(shell cat $(call MERGE_FILE,/searchplugins/list.txt))
    42 -SEARCHPLUGINS_NAMES = $(shell cat $(call MERGE_FILE,/searchplugins/list.txt))
    43 +SEARCHPLUGINS_NAMES = $(shell cat \
    43 +SEARCHPLUGINS_NAMES = $(shell cat \
    44 +  $(firstword $(wildcard $(LOCALE_SRCDIR)/searchplugins/list.txt) \
    44 +  $(firstword $(wildcard $(LOCALE_SRCDIR)/searchplugins/list.txt) \
    45 +  @srcdir@/en-US/searchplugins/list.txt ) ) ddg
    45 +  @srcdir@/en-US/searchplugins/list.txt ) )
    46  endif
    46  endif
    47  SEARCHPLUGINS_PATH := $(FINAL_TARGET)/searchplugins
    47  SEARCHPLUGINS_PATH := $(FINAL_TARGET)/searchplugins
    48  SEARCHPLUGINS := $(addsuffix .xml,$(SEARCHPLUGINS_NAMES))
    48  SEARCHPLUGINS := $(addsuffix .xml,$(SEARCHPLUGINS_NAMES))
    49 -PP_TARGETS += SEARCHPLUGINS
    49 -PP_TARGETS += SEARCHPLUGINS
    50 +#PP_TARGETS += SEARCHPLUGINS
    50 +#PP_TARGETS += SEARCHPLUGINS