Bug 1329226. Part 2 - Make it possible for Report Site Issue button to be localized. r=Pike

MozReview-Commit-ID: JcCOsGWAHcz

--HG--
extra : rebase_source : 2c934bb4a5f8ae09cd5c9141ebb4a865241ee97a
This commit is contained in:
Mike Taylor 2017-01-24 16:37:25 -06:00
parent 68c7a9ca0a
commit 87b13ce00d
6 changed files with 13 additions and 3 deletions

View File

@ -1,2 +1,10 @@
# 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/.
# LOCALIZATION NOTE(wc-reporter.label): This string will be used in the
# Firefox menu panel below its button. Localized length should be considered.
wc-reporter.label=Report Site Issue
# LOCALIZATION NOTE(wc-reporter.tooltip): A site compatibility issue is
# a website bug that exists in one browser (Firefox), but not another.
wc-reporter.tooltip=Report a site compatibility issue

View File

@ -5,4 +5,4 @@
[features/webcompat-reporter@mozilla.org] @AB_CD@.jar:
% locale webcompat-reporter @AB_CD@ %locale/@AB_CD@/
locale/@AB_CD@/ (en-US/*)
locale/@AB_CD@/webcompat.properties (%webcompat.properties)

View File

@ -7,7 +7,7 @@
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
DEFINES['MOZ_APP_MAXVERSION'] = CONFIG['MOZ_APP_MAXVERSION']
DIRS += ['locale']
DIRS += ['locales']
FINAL_TARGET_FILES.features['webcompat-reporter@mozilla.org'] += [
'bootstrap.js'

View File

@ -107,7 +107,7 @@ endif
@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)
@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
ifdef NIGHTLY_BUILD
@$(MAKE) -C ../extensions/webcompat-reporter/locale AB_CD=$* XPI_NAME=locale-$*
@$(MAKE) -C ../extensions/webcompat-reporter/locales AB_CD=$* XPI_NAME=locale-$*
endif
repackage-win32-installer: WIN32_INSTALLER_OUT=$(ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe

View File

@ -8,6 +8,7 @@ def test(mod, path, entity = None):
if mod not in ("netwerk", "dom", "toolkit", "security/manager",
"devtools/client", "devtools/shared",
"browser",
"browser/extensions/webcompat-reporter",
"extensions/spellcheck",
"other-licenses/branding/firefox",
"browser/branding/official",

View File

@ -11,6 +11,7 @@ dirs = browser
other-licenses/branding/firefox
browser/branding/official
devtools/client
browser/extensions/webcompat-reporter
[includes]
# non-central apps might want to use %(topsrcdir)s here, or other vars