Merge pull request #11096 from timvandermeij/updates

Update translations/packages and upgrade to `eslint` version 6
This commit is contained in:
Tim van der Meij 2019-08-25 15:05:52 +02:00 committed by GitHub
commit 97d3294d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 829 additions and 634 deletions

View File

@ -4,7 +4,7 @@
],
"parserOptions": {
"ecmaVersion": 5,
"ecmaVersion": 6,
},
"env": {

View File

@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* globals pdfjsLib, pdfjsViewer */
'use strict';

View File

@ -226,6 +226,10 @@ invalid_file_error=Səhv və ya zədələnmiş olmuş PDF fayl.
missing_file_error=PDF fayl yoxdur.
unexpected_response_error=Gözlənilməz server cavabı.
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 Annotation types).

View File

@ -13,7 +13,7 @@
# limitations under the License.
# Chrome notification bar messages and buttons
unsupported_feature=Този PDF може и да не се покаже правилно.
unsupported_feature=Този документ PDF може да не бъде правилно показан.
unsupported_feature_forms=Този документ PDF съдържа формуляри. Попълването на полета на формуляри не се поддържа.
open_with_different_viewer=Отваряне с друга програма
open_with_different_viewer.accessKey=О

View File

@ -226,6 +226,10 @@ invalid_file_error=Archivo PDF invalido o dañado.
missing_file_error=Archivo PDF no encontrado.
unexpected_response_error=Respuesta inesperada del servidor.
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 Annotation types).

View File

@ -168,9 +168,22 @@ find_reached_bottom=पृष्ठ के नीचे में जा पह
# "{{current}}" and "{{total}}" will be replaced by a number representing the
# index of the currently active find result, respectively a number representing
# the total number of matches in the document.
find_match_count={[ plural(total) ]}
find_match_count[one]={{total}} में {{current}} मेल
find_match_count[two]={{total}} में {{current}} मेल
find_match_count[few]={{total}} में {{current}} मेल
find_match_count[many]={{total}} में {{current}} मेल
find_match_count[other]={{total}} में {{current}} मेल
# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are
# [zero|one|two|few|many|other], with [other] as the default value.
# "{{limit}}" will be replaced by a numerical value.
find_match_count_limit={[ plural(limit) ]}
find_match_count_limit[zero]={{limit}} से अधिक मेल
find_match_count_limit[one]={{limit}} से अधिक मेल
find_match_count_limit[two]={{limit}} से अधिक मेल
find_match_count_limit[few]={{limit}} से अधिक मेल
find_match_count_limit[many]={{limit}} से अधिक मेल
find_match_count_limit[other]={{limit}} से अधिक मेल
find_not_found=वाक्यांश नहीं मिला
# Error panel labels

View File

@ -164,7 +164,7 @@ find_previous_label=Previe
find_next.title=Trovar le successive occurrentia del phrase
find_next_label=Sequente
find_highlight=Evidentiar toto
find_match_case_label=Distinger majusculas/minusculas
find_match_case_label=Distinguer majusculas/minusculas
find_entire_word_label=Parolas integre
find_reached_top=Le initio del documento ha essite attingite, on continua ab le fin
find_reached_bottom=Le fin del documento ha essite attingite, on continua ab le initio

View File

@ -91,7 +91,7 @@ document_properties_kb={{size_kb}} კბ ({{size_b}} ბაიტი)
# will be replaced by the PDF file size in megabytes, respectively in bytes.
document_properties_mb={{size_mb}} მბ ({{size_b}} ბაიტი)
document_properties_title=სათაური:
document_properties_author=შემქმნელი:
document_properties_author=შემდგენი:
document_properties_subject=თემა:
document_properties_keywords=საკვანძო სიტყვები:
document_properties_creation_date=შექმნის თარიღი:
@ -99,8 +99,8 @@ document_properties_modification_date=ჩასწორების თარ
# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}"
# will be replaced by the creation/modification date, and time, of the PDF file.
document_properties_date_string={{date}}, {{time}}
document_properties_creator=გამომშვები:
document_properties_producer=PDF-გამომშვები:
document_properties_creator=შემქმნელი:
document_properties_producer=PDF-შემქმნელი:
document_properties_version=PDF-ვერსია:
document_properties_page_count=გვერდების რაოდენობა:
document_properties_page_size=გვერდის ზომა:
@ -243,4 +243,4 @@ password_cancel=გაუქმება
printing_not_supported=გაფრთხილება: ამობეჭდვა ამ ბრაუზერში არაა სრულად მხარდაჭერილი.
printing_not_ready=გაფრთხილება: PDF სრულად ჩატვირთული არაა, ამობეჭდვის დასაწყებად.
web_fonts_disabled=ვებშრიფტები გამორთულია: ჩაშენებული PDF-შრიფტების გამოყენება ვერ ხერხდება.
document_colors_not_allowed=PDF-დოკუმენტებს არ აქვს საკუთარი ფერების გამოყენების ნებართვა: ბრაუზერში გამორთულია გვერდებისთვის საკუთარი ფერების გამოყენების უფლება.
document_colors_not_allowed=PDF-დოკუმენტებს არ აქვს საკუთარი ფერების გამოყენების ნებართვა: ბრაუზერში გამორთულია გვერდებისთვის საკუთარი ფერების გამოყენების უფლება.

View File

@ -22,10 +22,13 @@
# respectively a number representing the total number of pages in the document.
zoom.title=Nasa´a ka´nu/Nasa´a luli
open_file_label=Síne
# Secondary toolbar and context menu
# Document properties dialog box
# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}"
# will be replaced by the PDF file size in kilobytes, respectively in bytes.
@ -33,9 +36,24 @@ zoom.title=Nasa´a ka´nu/Nasa´a luli
# will be replaced by the PDF file size in megabytes, respectively in bytes.
# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}"
# will be replaced by the creation/modification date, and time, of the PDF file.
document_properties_date_string={{date}}, {{time}}
# LOCALIZATION NOTE (document_properties_page_size_dimension_string):
# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by
# the size, respectively their unit of measurement and orientation, of the (current) page.
document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}})
# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string):
# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by
# the size, respectively their unit of measurement, name, and orientation, of the (current) page.
document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})
# LOCALIZATION NOTE (document_properties_linearized): The linearization status of
# the document; usually called "Fast Web View" in English locales of Adobe software.
document_properties_linearized_yes=Kuvi
document_properties_close=Nakasɨ
# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by
# a numerical per cent value.
print_progress_percent={{progress}}%
print_progress_close=Nkuvi-ka
# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
@ -48,10 +66,22 @@ zoom.title=Nasa´a ka´nu/Nasa´a luli
# number.
# Find panel button title and messages
# LOCALIZATION NOTE (find_match_count): The supported plural forms are
# [one|two|few|many|other], with [other] as the default value.
# "{{current}}" and "{{total}}" will be replaced by a number representing the
# index of the currently active find result, respectively a number representing
# the total number of matches in the document.
find_match_count={[ plural(total) ]}
# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are
# [zero|one|two|few|many|other], with [other] as the default value.
# "{{limit}}" will be replaced by a numerical value.
find_match_count_limit={[ plural(limit) ]}
# Error panel labels
error_close=Nakasɨ
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (build: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
@ -62,11 +92,17 @@ zoom.title=Nasa´a ka´nu/Nasa´a luli
# Predefined zoom values
# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a
# numerical scale value.
page_scale_percent={{scale}}%
# Loading indicator messages
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
password_cancel=Nkuvi-ka

View File

@ -72,6 +72,8 @@ scroll_horizontal_label=ਲੇਟਵਾਂ ਸਰਕਾਉਣਾ
scroll_wrapped.title=ਸਮੇਟੇ ਸਰਕਾਉਣ ਨੂੰ ਵਰਤੋਂ
scroll_wrapped_label=ਸਮੇਟਿਆ ਸਰਕਾਉਣਾ
spread_none.title=ਸਫ਼ਾ ਫੈਲਾਅ ਵਿੱਚ ਸ਼ਾਮਲ ਨਾ ਹੋਵੋ
spread_none_label=ਕੋਈ ਫੈਲਾਅ ਨਹੀਂ
# Document properties dialog box
document_properties.title=…ਦਸਤਾਵੇਜ਼ ਦੀ ਵਿਸ਼ੇਸ਼ਤਾ
@ -220,6 +222,10 @@ invalid_file_error=ਗਲਤ ਜਾਂ ਨਿਕਾਰਾ PDF ਫਾਈਲ ਹ
missing_file_error=ਨਾ-ਮੌਜੂਦ PDF ਫਾਈਲ।
unexpected_response_error=ਅਣਜਾਣ ਸਰਵਰ ਜਵਾਬ।
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 Annotation types).

View File

@ -242,5 +242,5 @@ password_cancel=Cancelar
printing_not_supported=Aviso: a impressão não é totalmente suportada por este navegador.
printing_not_ready=Aviso: o PDF ainda não está totalmente carregado.
web_fonts_disabled=Os tipos de letra web estão desativados: não é possível utilizar os tipos de letra PDF incorporados.
web_fonts_disabled=Os tipos de letra web estão desativados: não é possível utilizar os tipos de letra PDF embutidos.
document_colors_not_allowed=Os documentos PDF não permitem a utilização das suas próprias cores: “Permitir às páginas escolher as suas próprias cores” está desativado no navegador.

View File

@ -226,6 +226,10 @@ invalid_file_error=Datoteca PDF nunvalida u donnegiada.
missing_file_error=Datoteca PDF manconta.
unexpected_response_error=Resposta nunspetgada dal server.
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 Annotation types).

View File

@ -226,6 +226,10 @@ invalid_file_error=Di-wasto o masira ang PDF file.
missing_file_error=Nawawalang PDF file.
unexpected_response_error=Hindi inaasahang tugon ng server.
# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 Annotation types).

1343
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,22 +2,22 @@
"name": "pdf.js",
"version": "2.0.0",
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/runtime": "^7.4.5",
"acorn": "^6.1.1",
"autoprefixer": "^9.6.0",
"@babel/core": "^7.5.5",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/runtime": "^7.5.5",
"acorn": "^6.3.0",
"autoprefixer": "^9.6.1",
"babel-loader": "^8.0.6",
"canvas": "^2.5.0",
"canvas": "^2.6.0",
"core-js": "^2.6.9",
"escodegen": "^1.11.1",
"eslint": "^5.16.0",
"eslint-plugin-import": "^2.18.0",
"escodegen": "^1.12.0",
"eslint": "^6.2.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-mozilla": "1.2.1",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-unicorn": "^7.1.0",
"eslint-plugin-unicorn": "^10.0.0",
"fancy-log": "^1.3.3",
"globals": "^11.12.0",
"gulp": "^4.0.2",
@ -28,21 +28,21 @@
"gulp-zip": "^4.2.0",
"jasmine": "^3.4.0",
"jasmine-core": "^3.4.0",
"jsdoc": "^3.6.2",
"jsdoc": "^3.6.3",
"jstransformer-markdown-it": "^2.1.0",
"merge-stream": "^1.0.1",
"mkdirp": "^0.5.1",
"node-ensure": "^0.0.0",
"rimraf": "^2.6.3",
"rimraf": "^2.7.1",
"streamqueue": "^1.1.2",
"systemjs": "^0.21.6",
"systemjs-plugin-babel": "^0.0.25",
"terser": "^4.0.0",
"terser": "^4.2.1",
"ttest": "^2.0.0",
"typogr": "^0.6.8",
"vinyl": "^2.2.0",
"vinyl-fs": "^3.0.3",
"webpack": "^4.35.0",
"webpack": "^4.39.2",
"webpack-stream": "^4.0.3",
"wintersmith": "^2.5.0",
"yargs": "^11.1.0"