Re-add the en-US chrome.properties
l10n file, to avoid it being removed at mozilla-central (PR 11256 follow-up)
Unfortunately I forgot to test `gulp mozcentraldiff` with PR 11256, which is really bad since it will cause the en-US `chrome.properties` l10n file to be deleted at mozilla-central; sorry about breaking this! In order to address this we'll have to re-add (only) the en-US `chrome.properties` l10n file, which is simple enough. Furthermore, since we're not doing any sort of build-specific parsing of the l10n files, we can just copy the en-US files as-is rather than having to run `gulp locale` during `gulp mozcentral`.
This commit is contained in:
parent
3c23ac212e
commit
ee57832de2
@ -837,7 +837,7 @@ function preprocessDefaultPreferences(content) {
|
||||
}
|
||||
|
||||
gulp.task('mozcentral-pre', gulp.series('buildnumber', 'default_preferences',
|
||||
'locale', function() {
|
||||
function() {
|
||||
console.log();
|
||||
console.log('### Building mozilla-central extension');
|
||||
var defines = builder.merge(DEFINES, { MOZCENTRAL: true, SKIP_BABEL: true, });
|
||||
@ -872,7 +872,7 @@ gulp.task('mozcentral-pre', gulp.series('buildnumber', 'default_preferences',
|
||||
]))
|
||||
.pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + 'web')),
|
||||
|
||||
gulp.src('web/locale/en-US/*.properties')
|
||||
gulp.src('l10n/en-US/*.properties')
|
||||
.pipe(gulp.dest(MOZCENTRAL_L10N_DIR)),
|
||||
gulp.src(FIREFOX_EXTENSION_DIR + 'README.mozilla')
|
||||
.pipe(replace(/\bPDFJSSCRIPT_VERSION\b/g, version))
|
||||
|
19
l10n/en-US/chrome.properties
Normal file
19
l10n/en-US/chrome.properties
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright 2012 Mozilla Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Chrome notification bar messages and buttons
|
||||
unsupported_feature=This PDF document might not be displayed correctly.
|
||||
unsupported_feature_forms=This PDF document contains forms. The filling of form fields is not supported.
|
||||
open_with_different_viewer=Open With Different Viewer
|
||||
open_with_different_viewer.accessKey=o
|
Loading…
Reference in New Issue
Block a user