Bug 844016 - Move webapprt locale files. r=Pike

--HG--
rename : browser/locales/en-US/webapp-uninstaller/webapp-uninstaller.properties => webapprt/locales/en-US/webapp-uninstaller/webapp-uninstaller.properties
rename : browser/locales/en-US/webapprt/webapp.dtd => webapprt/locales/en-US/webapprt/webapp.dtd
rename : browser/locales/en-US/webapprt/webapp.properties => webapprt/locales/en-US/webapprt/webapp.properties
This commit is contained in:
Mike Hommey 2013-04-12 10:23:10 +02:00
parent df951b7ca1
commit 17bde9bad3
17 changed files with 58 additions and 14 deletions

View File

@ -151,6 +151,9 @@ libs-%:
$(NSINSTALL) -D $(DIST)/install
@$(MAKE) -C ../../toolkit/locales libs-$*
@$(MAKE) -C ../../services/sync/locales AB_CD=$* XPI_NAME=locale-$*
ifdef MOZ_WEBAPP_RUNTIME
@$(MAKE) -C ../../webapprt/locales AB_CD=$* XPI_NAME=locale-$*
endif
@$(MAKE) -C ../../extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$*
@$(MAKE) -C ../../intl/locales AB_CD=$* XPI_NAME=locale-$*
@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)

View File

@ -6,8 +6,8 @@ def test(mod, path, entity = None):
import re
# ignore anything but Firefox
if mod not in ("netwerk", "dom", "toolkit", "security/manager",
"browser", "browser/metro", "extensions/reporter",
"extensions/spellcheck",
"browser", "browser/metro", "webapprt",
"extensions/reporter", "extensions/spellcheck",
"other-licenses/branding/firefox",
"browser/branding/official",
"services/sync"):

View File

@ -132,9 +132,3 @@
% locale pdf.js @AB_CD@ %locale/pdfviewer/
locale/pdfviewer/viewer.properties (%pdfviewer/viewer.properties)
locale/pdfviewer/chrome.properties (%pdfviewer/chrome.properties)
#ifdef MOZ_WEBAPP_RUNTIME
../../webapprt/chrome/@AB_CD@.jar:
% locale webapprt @AB_CD@ %locale/webapprt/
locale/webapprt/webapp.dtd (%webapprt/webapp.dtd)
locale/webapprt/webapp.properties (%webapprt/webapp.properties)
#endif

View File

@ -17,6 +17,7 @@ dirs = browser
# RFE: that needs to be supported by compare-locales, too, though
toolkit = toolkit/locales/l10n.ini
services_sync = services/sync/locales/l10n.ini
webapprt = webapprt/locales/l10n.ini
[extras]
dirs = extensions/spellcheck

View File

@ -96,6 +96,6 @@ webapp_uninstaller::
$(INSTALL) $(addprefix $(MOZILLA_DIR)/toolkit/mozapps/installer/windows/nsis/,$(TOOLKIT_NSIS_FILES)) $(CONFIG_DIR)
$(INSTALL) $(addprefix $(MOZILLA_DIR)/other-licenses/nsis/Plugins/,$(CUSTOM_NSIS_PLUGINS)) $(CONFIG_DIR)
cd $(CONFIG_DIR) && $(MAKENSISU) webapp-uninstaller.nsi
$(NSINSTALL) -D $(FINAL_TARGET)
cp $(CONFIG_DIR)/webapp-uninstaller.exe $(FINAL_TARGET)
$(NSINSTALL) -D $(DIST)/bin
cp $(CONFIG_DIR)/webapp-uninstaller.exe $(DIST)/bin
endif

2
webapprt/defs.mk Normal file
View File

@ -0,0 +1,2 @@
DIST_SUBDIR=webapprt
XPI_ROOT_APPID=webapprt@mozilla.org

View File

@ -32,6 +32,8 @@ LIBS = \
NSDISTMODE = copy
PROGRAMS_DEST = $(DIST)/bin
include $(topsrcdir)/config/rules.mk
CXXFLAGS += \

View File

@ -0,0 +1,15 @@
# 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/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
DEFINES += -DAB_CD=$(AB_CD)
include $(topsrcdir)/config/rules.mk

9
webapprt/locales/jar.mn Normal file
View File

@ -0,0 +1,9 @@
#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 webapprt @AB_CD@ %locale/webapprt/
locale/webapprt/webapp.dtd (%webapprt/webapp.dtd)
locale/webapprt/webapp.properties (%webapprt/webapp.properties)

View File

@ -0,0 +1,9 @@
; 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/.
[general]
depth = ../..
[compare]
dirs = webapprt

View File

@ -0,0 +1,4 @@
# vim: set filetype=python:
# 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/.

View File

@ -34,6 +34,8 @@ LIBS = \
$(XPCOM_STANDALONE_GLUE_LDOPTS) \
$(NULL)
PROGRAMS_DEST = $(DIST)/bin
include $(topsrcdir)/config/rules.mk
GRE_BUILDID := $(shell cat $(DEPTH)/config/buildid)

View File

@ -11,4 +11,5 @@ elif CONFIG['OS_ARCH'] == 'Darwin':
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk2':
DIRS += ['gtk2']
DIRS += ['locales']
TEST_DIRS += ['test']

View File

@ -69,12 +69,12 @@ endif
# Uninstaller
ifdef LOCALE_MERGEDIR
PPL_LOCALE_ARGS = \
--l10n-dir=$(LOCALE_MERGEDIR)/browser/webapp-uninstaller \
--l10n-dir=$(call EXPAND_LOCALE_SRCDIR,browser/locales)/webapp-uninstaller \
--l10n-dir=$(topsrcdir)/browser/locales/en-US/webapp-uninstaller \
--l10n-dir=$(LOCALE_MERGEDIR)/webapprt/webapp-uninstaller \
--l10n-dir=$(call EXPAND_LOCALE_SRCDIR,webapprt/locales)/webapp-uninstaller \
--l10n-dir=$(topsrcdir)/webapprt/locales/en-US/webapp-uninstaller \
$(NULL)
else
PPL_LOCALE_ARGS=$(call EXPAND_LOCALE_SRCDIR,browser/locales)/webapp-uninstaller
PPL_LOCALE_ARGS=$(call EXPAND_LOCALE_SRCDIR,webapprt/locales)/webapp-uninstaller
endif
libs::
@ -94,6 +94,8 @@ libs::
GARBAGE_DIRS += instgen
PROGRAMS_DEST = $(DIST)/bin
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/toolkit/mozapps/installer/windows/nsis/makensis.mk