diff --git a/extensions/firefox/.gitignore b/extensions/firefox/.gitignore
index c64b8b910..1d2883265 100644
--- a/extensions/firefox/.gitignore
+++ b/extensions/firefox/.gitignore
@@ -1,3 +1 @@
-metadata.inc
-chrome.manifest.inc
locale/
diff --git a/gulpfile.js b/gulpfile.js
index 553467a41..7514b293d 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -571,7 +571,6 @@ gulp.task('default_preferences', gulp.series('default_preferences-pre',
gulp.task('locale', function () {
var VIEWER_LOCALE_OUTPUT = 'web/locale/';
- var METADATA_OUTPUT = 'extensions/firefox/';
var EXTENSION_LOCALE_OUTPUT = 'extensions/firefox/locale/';
console.log();
@@ -584,8 +583,6 @@ gulp.task('locale', function () {
var subfolders = fs.readdirSync(L10N_DIR);
subfolders.sort();
- var metadataContent = '';
- var chromeManifestContent = '';
var viewerOutput = '';
var locales = [];
for (var i = 0; i < subfolders.length; i++) {
@@ -604,25 +601,13 @@ gulp.task('locale', function () {
locales.push(locale);
- chromeManifestContent += 'locale pdf.js ' + locale + ' locale/' +
- locale + '/\n';
-
if (checkFile(path + '/viewer.properties')) {
viewerOutput += '[' + locale + ']\n' +
'@import url(' + locale + '/viewer.properties)\n\n';
}
-
- if (checkFile(path + '/metadata.inc')) {
- var metadata = fs.readFileSync(path + '/metadata.inc').toString();
- metadataContent += metadata;
- }
}
return merge([
- createStringSource('metadata.inc', metadataContent)
- .pipe(gulp.dest(METADATA_OUTPUT)),
- createStringSource('chrome.manifest.inc', chromeManifestContent)
- .pipe(gulp.dest(METADATA_OUTPUT)),
gulp.src(L10N_DIR + '/{' + locales.join(',') + '}' +
'/{viewer,chrome}.properties', { base: L10N_DIR, })
.pipe(gulp.dest(EXTENSION_LOCALE_OUTPUT)),
diff --git a/l10n/README.md b/l10n/README.md
index 4a8472107..29470bb8a 100644
--- a/l10n/README.md
+++ b/l10n/README.md
@@ -1,5 +1,5 @@
-Most of the files in this folder (except for the `en-US` folder and the
-`metadata.inc` files) have been imported from the Firefox Nightly branch;
+Most of the files in this folder (except for the `en-US` folder) have been
+imported from the Firefox Nightly branch;
please see https://hg.mozilla.org/l10n-central. Some of the files are
licensed under the MPL license. You can obtain a copy of the license at
https://mozilla.org/MPL/2.0.
diff --git a/l10n/ar/metadata.inc b/l10n/ar/metadata.inc
deleted file mode 100644
index 82ac9817d..000000000
--- a/l10n/ar/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- ar
- عارض PDF
- يستخدم HTML5 لعرض ملفات PDF مباشره من خلال Firefox.
-
-
diff --git a/l10n/ca/metadata.inc b/l10n/ca/metadata.inc
deleted file mode 100644
index 171370207..000000000
--- a/l10n/ca/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- ca
- Visor d'arxius PDF
- HTML5 per veure documents
-
-
diff --git a/l10n/cs/metadata.inc b/l10n/cs/metadata.inc
deleted file mode 100644
index e0cf2b81a..000000000
--- a/l10n/cs/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- cs
- PDF Viewer
- Používá HTML5 pro zobrazení PDF souborů přímo ve Firefoxu.
-
-
diff --git a/l10n/cy/metadata.inc b/l10n/cy/metadata.inc
deleted file mode 100644
index 9531a542b..000000000
--- a/l10n/cy/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- cy
- PDF Viewer
- Yn defnyddio HTML5 i arddangos ffeiliau PDF yn uniongyrchol yn Firefox.
-
-
diff --git a/l10n/da/metadata.inc b/l10n/da/metadata.inc
deleted file mode 100644
index 7e619352e..000000000
--- a/l10n/da/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- da
- PDF Viewer
- Benytter HTML5 til at vise PDF-filer direkte i Firefox.
-
-
diff --git a/l10n/de/metadata.inc b/l10n/de/metadata.inc
deleted file mode 100644
index 11710ad82..000000000
--- a/l10n/de/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- de
- PDF Viewer
- Nutzt HTML5, um PDFs direkt in Firefox anzuzeigen.
-
-
diff --git a/l10n/el/metadata.inc b/l10n/el/metadata.inc
deleted file mode 100644
index 7cf02c0e3..000000000
--- a/l10n/el/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- el
- Πρόγραμμα ανάγνωσης PDF
- Χρήση HTML5 για εμφάνιση αρχείων PDF κατευθείαν μέσα στο Firefox.
-
-
diff --git a/l10n/en-US/metadata.inc b/l10n/en-US/metadata.inc
deleted file mode 100644
index 12dd466a3..000000000
--- a/l10n/en-US/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- en-US
- PDF Viewer
- Uses HTML5 to display PDF files directly in Firefox.
-
-
diff --git a/l10n/fa/metadata.inc b/l10n/fa/metadata.inc
deleted file mode 100644
index c5b4f2460..000000000
--- a/l10n/fa/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- fa
- نمایشدهندهٔ پیدیاف
- از اچتیامال۵ برای نمایش پروندههای پیدیاف بهصورت مستقیم در فایرفاکس استفاده میکند.
-
-
diff --git a/l10n/fi/metadata.inc b/l10n/fi/metadata.inc
deleted file mode 100644
index 515205720..000000000
--- a/l10n/fi/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- fi
- PDF Lukuohjelma
- Näyttää PDF tiedostot suoraan Firefox:ssa HTML5:n avulla.
-
-
diff --git a/l10n/fr/metadata.inc b/l10n/fr/metadata.inc
deleted file mode 100644
index 874e93a18..000000000
--- a/l10n/fr/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- fr
- PDF Viewer
- Utilise HTML5 pour afficher les documents PDF directement dans Firefox.
-
-
diff --git a/l10n/he/metadata.inc b/l10n/he/metadata.inc
deleted file mode 100644
index 07a364983..000000000
--- a/l10n/he/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- he
- קורא PDF
- הצגת קבצי PDF ישירות ב־Firefox באמצעות HTML5.
-
-
diff --git a/l10n/it/metadata.inc b/l10n/it/metadata.inc
deleted file mode 100644
index 419259371..000000000
--- a/l10n/it/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- it
- PDF Viewer
- Usa HTML5 per visualizzare i file PDF direttamente in Firefox.
-
-
diff --git a/l10n/ja/metadata.inc b/l10n/ja/metadata.inc
deleted file mode 100644
index 26c04d89e..000000000
--- a/l10n/ja/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- ja
- PDF Viewer
- HTML5を使用して、Firefoxで直接PDFファイルを表示します。
-
-
diff --git a/l10n/ko/metadata.inc b/l10n/ko/metadata.inc
deleted file mode 100644
index 70117ba7b..000000000
--- a/l10n/ko/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- ko
- PDF 뷰어
- Firefox가 PDF 파일을 HTML5를 이용하여 직접 보여줍니다.
-
-
diff --git a/l10n/lt/metadata.inc b/l10n/lt/metadata.inc
deleted file mode 100644
index 8530fa6d0..000000000
--- a/l10n/lt/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- lt
- PDF peržiūros programa
- PDF bylos vaizduojamos tiesiogiai, naudojant HTML5 Firefox naršyklėje.
-
-
diff --git a/l10n/nl/metadata.inc b/l10n/nl/metadata.inc
deleted file mode 100644
index 99ea5a2da..000000000
--- a/l10n/nl/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- nl
- PDF-viewer
- Gebruikt HTML5 om PDF-bestanden direct in Firefox te openen.
-
-
diff --git a/l10n/pl/metadata.inc b/l10n/pl/metadata.inc
deleted file mode 100644
index 1c852fa3d..000000000
--- a/l10n/pl/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- pl
- Przeglądarka PDF
- Używa HTML5 do wyświetlania plików PDF bezpośrednio w Firefoksie.
-
-
diff --git a/l10n/pt-BR/metadata.inc b/l10n/pt-BR/metadata.inc
deleted file mode 100644
index 2fa449aa5..000000000
--- a/l10n/pt-BR/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- pt-BR
- PDF Viewer
- Aprensenta PDFs no browser usando a tecnologia HTML5.
-
-
diff --git a/l10n/ro/metadata.inc b/l10n/ro/metadata.inc
deleted file mode 100644
index 76178836a..000000000
--- a/l10n/ro/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- ro
- Cititor PDF
- Afișează fișierele PDF direct în Firefox.
-
-
diff --git a/l10n/ru/metadata.inc b/l10n/ru/metadata.inc
deleted file mode 100644
index a0dfb6bae..000000000
--- a/l10n/ru/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- ru
- PDF Viewer
- Показывает файлы PDF непосредственно в Firefox используя HTML5.
-
-
diff --git a/l10n/sr/metadata.inc b/l10n/sr/metadata.inc
deleted file mode 100644
index f2a27971d..000000000
--- a/l10n/sr/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- sr
- ПДФ читач
- Користи ХТМЛ5 да би приказао ПДФ датотеке директно у Фајерфоксу.
-
-
diff --git a/l10n/sv-SE/metadata.inc b/l10n/sv-SE/metadata.inc
deleted file mode 100644
index ec82bc1fb..000000000
--- a/l10n/sv-SE/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- sv
- PDF-läsare
- Använder HTML5 för att visa PDF-filer direkt i Firefox.
-
-
diff --git a/l10n/tr/metadata.inc b/l10n/tr/metadata.inc
deleted file mode 100644
index 378e38f63..000000000
--- a/l10n/tr/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- tr
- PDF Gösterici
- Firefox içerisinde PDFleri göstermek için HTML5 kullanır.
-
-
diff --git a/l10n/vi/metadata.inc b/l10n/vi/metadata.inc
deleted file mode 100644
index 9c49de537..000000000
--- a/l10n/vi/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- vi-VN
- Trình Xem PDF
- Dùng HTML5 để hiện thị PDF trực tiếp trên FireFox.
-
-
diff --git a/l10n/zh-CN/metadata.inc b/l10n/zh-CN/metadata.inc
deleted file mode 100644
index 88e6d7e96..000000000
--- a/l10n/zh-CN/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- zh-CN
- PDF 查看器
- 使用 HTML5 来支持在 Firefox 中直接显示 PDF 文件。
-
-
diff --git a/l10n/zh-TW/metadata.inc b/l10n/zh-TW/metadata.inc
deleted file mode 100644
index 2fc886ca1..000000000
--- a/l10n/zh-TW/metadata.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- zh-TW
- PDF 瀏覽器
- 利用 HTML5 技術在 Firefox 中直接顯示 PDF 格式檔案。
-
-