Skip to content

Commit

Permalink
Merge pull request #1026 from nextcloud/fix/stable30-user-lang
Browse files Browse the repository at this point in the history
[stable30] fix: Use the user configured UI language for PDFjs instead of browser language
  • Loading branch information
AndyScherzinger authored Aug 29, 2024
2 parents 399c12c + 32da1b0 commit 4cccde1
Show file tree
Hide file tree
Showing 29 changed files with 1,026 additions and 990 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ module.exports = {
PDFViewerApplicationOptions: true,
PDFViewerApplication: true,
pdfjsLib: true,
SUPPORTED_LANGUAGES: true,
},
extends: [
'@nextcloud',
]
],
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

4 changes: 2 additions & 2 deletions js/files_pdfviewer-main.js

Large diffs are not rendered by default.

26 changes: 11 additions & 15 deletions js/files_pdfviewer-main.js.license
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Feross Aboukhadijeh
SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
SPDX-FileCopyrightText: Denis Pushkarev
SPDX-FileCopyrightText: David Clark
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Anthony Fu <https://github.com/antfu>
Expand All @@ -34,32 +33,32 @@ This file is generated from multiple sources. Included packages:
- @nextcloud/axios
- version: 2.5.0
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.0.1
- license: GPL-3.0-or-later
- @nextcloud/dialogs
- version: 5.3.5
- version: 6.0.0
- license: AGPL-3.0-or-later
- semver
- version: 7.6.2
- license: ISC
- @nextcloud/event-bus
- version: 3.3.1
- license: GPL-3.0-or-later
- @nextcloud/l10n
- version: 3.1.0
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 2.7.0
- version: 3.0.2
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 2.2.1
- version: 3.0.1
- license: GPL-3.0-or-later
- @nextcloud/vue
- version: 8.11.1
- license: AGPL-3.0-or-later
- @vueuse/core
- version: 10.9.0
- version: 11.0.1
- license: MIT
- @nextcloud/vue
- version: 8.17.0
- license: AGPL-3.0-or-later
- @vueuse/shared
- version: 10.9.0
- version: 11.0.1
- license: MIT
- axios
- version: 1.7.4
Expand All @@ -70,9 +69,6 @@ This file is generated from multiple sources. Included packages:
- buffer
- version: 6.0.3
- license: MIT
- core-js
- version: 3.33.0
- license: MIT
- css-loader
- version: 6.8.1
- license: MIT
Expand Down
2 changes: 1 addition & 1 deletion js/files_pdfviewer-main.js.map

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPDX-FileCopyrightText: @nextcloud/dialogs developers

This file is generated from multiple sources. Included packages:
- @nextcloud/dialogs
- version: 5.3.5
- version: 6.0.0
- license: AGPL-3.0-or-later
- vue
- version: 2.7.16
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions js/files_pdfviewer-public.js

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions js/files_pdfviewer-public.js.license
Original file line number Diff line number Diff line change
@@ -1,40 +1,18 @@
SPDX-License-Identifier: MIT
SPDX-License-Identifier: ISC
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-FileCopyrightText: Tobias Koppers @sokra
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
SPDX-FileCopyrightText: John Molakvoæ <skjnldsv@protonmail.com>
SPDX-FileCopyrightText: GitHub Inc.
SPDX-FileCopyrightText: Denis Pushkarev
SPDX-FileCopyrightText: Christoph Wurst


This file is generated from multiple sources. Included packages:
- @nextcloud/auth
- version: 2.3.0
- license: GPL-3.0-or-later
- semver
- version: 7.6.2
- license: ISC
- @nextcloud/event-bus
- version: 3.3.1
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 2.7.0
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 2.2.1
- license: GPL-3.0-or-later
- core-js
- version: 3.33.0
- license: MIT
- process
- version: 0.11.10
- license: MIT
- webpack
- version: 5.88.2
- license: MIT
- files_pdfviewer
- version: 3.0.0
- license: AGPL-3.0-or-later
2 changes: 1 addition & 1 deletion js/files_pdfviewer-public.js.map

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MIT
SPDX-License-Identifier: ISC
SPDX-License-Identifier: GPL-3.0-or-later
Expand All @@ -7,7 +6,6 @@ SPDX-License-Identifier: BSD-2-Clause
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-License-Identifier: (MPL-2.0 OR Apache-2.0)
SPDX-FileCopyrightText: xiaokai <kexiaokai@gmail.com>
SPDX-FileCopyrightText: uuid developers
SPDX-FileCopyrightText: rhysd <lin90162@yahoo.co.jp>
SPDX-FileCopyrightText: inline-style-parser developers
SPDX-FileCopyrightText: escape-html developers
Expand All @@ -20,7 +18,6 @@ SPDX-FileCopyrightText: T. Jameson Little <t.jameson.little@gmail.com>
SPDX-FileCopyrightText: Stefan Thomas <justmoon@members.fsf.org> (http://www.justmoon.net)
SPDX-FileCopyrightText: Sindre Sorhus
SPDX-FileCopyrightText: Roman Shtylman <shtylman@gmail.com>
SPDX-FileCopyrightText: Philipp Kewisch
SPDX-FileCopyrightText: Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)
SPDX-FileCopyrightText: Paul Vorbach <paul@vorb.de> (http://vorb.de)
SPDX-FileCopyrightText: Matt Zabriskie
Expand All @@ -38,7 +35,6 @@ SPDX-FileCopyrightText: Evan You
SPDX-FileCopyrightText: Eugene Sharygin <eush77@gmail.com>
SPDX-FileCopyrightText: Eric Norris (https://github.com/ericnorris)
SPDX-FileCopyrightText: Dr.-Ing. Mario Heiderich, Cure53 <mario@cure53.de> (https://cure53.de/)
SPDX-FileCopyrightText: Denis Pushkarev
SPDX-FileCopyrightText: David Clark
SPDX-FileCopyrightText: Christoph Wurst
SPDX-FileCopyrightText: Borys Serebrov
Expand Down Expand Up @@ -71,58 +67,49 @@ This file is generated from multiple sources. Included packages:
- version: 2.5.0
- license: GPL-3.0-or-later
- @nextcloud/browser-storage
- version: 0.3.0
- version: 0.4.0
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 3.0.1
- license: GPL-3.0-or-later
- vue-demi
- version: 0.14.8
- license: MIT
- @vueuse/core
- version: 10.11.0
- license: MIT
- vue-demi
- version: 0.14.8
- license: MIT
- @vueuse/shared
- version: 10.11.0
- license: MIT
- @nextcloud/dialogs
- version: 5.3.5
- version: 6.0.0
- license: AGPL-3.0-or-later
- semver
- version: 7.6.2
- license: ISC
- @nextcloud/event-bus
- version: 3.3.1
- license: GPL-3.0-or-later
- @nextcloud/logger
- version: 2.7.0
- @nextcloud/l10n
- version: 3.1.0
- license: GPL-3.0-or-later
- @nextcloud/paths
- version: 2.1.0
- @nextcloud/logger
- version: 3.0.2
- license: GPL-3.0-or-later
- @nextcloud/router
- version: 2.2.1
- version: 3.0.1
- license: GPL-3.0-or-later
- @nextcloud/vue-select
- version: 3.25.0
- version: 3.25.1
- license: MIT
- uuid
- version: 9.0.1
- @vueuse/core
- version: 11.0.1
- license: MIT
- @nextcloud/vue
- version: 8.11.1
- version: 8.17.0
- license: AGPL-3.0-or-later
- @ungap/structured-clone
- version: 1.2.0
- license: ISC
- @vueuse/shared
- version: 10.11.1
- license: MIT
- vue-demi
- version: 0.14.10
- license: MIT
- @vueuse/core
- version: 10.9.0
- version: 10.11.1
- license: MIT
- @vueuse/shared
- version: 10.9.0
- version: 11.0.1
- license: MIT
- axios
- version: 1.7.4
Expand All @@ -148,17 +135,14 @@ This file is generated from multiple sources. Included packages:
- comma-separated-tokens
- version: 2.0.3
- license: MIT
- core-js
- version: 3.33.0
- license: MIT
- crypt
- version: 0.0.2
- license: BSD-3-Clause
- css-loader
- version: 6.8.1
- license: MIT
- debounce
- version: 2.0.0
- version: 2.1.0
- license: MIT
- decode-named-character-reference
- version: 1.0.2
Expand All @@ -170,7 +154,7 @@ This file is generated from multiple sources. Included packages:
- version: 3.1.5
- license: (MPL-2.0 OR Apache-2.0)
- emoji-mart-vue-fast
- version: 15.0.1
- version: 15.0.2
- license: BSD-3-Clause
- escape-html
- version: 1.0.3
Expand All @@ -193,9 +177,6 @@ This file is generated from multiple sources. Included packages:
- hast-util-whitespace
- version: 2.0.1
- license: MIT
- ical.js
- version: 1.5.0
- license: MPL-2.0
- ieee754
- version: 1.2.1
- license: BSD-3-Clause
Expand All @@ -208,6 +189,9 @@ This file is generated from multiple sources. Included packages:
- is-buffer
- version: 1.1.6
- license: MIT
- is-plain-obj
- version: 4.1.0
- license: MIT
- lodash.get
- version: 4.4.2
- license: MIT
Expand All @@ -227,10 +211,10 @@ This file is generated from multiple sources. Included packages:
- version: 3.0.1
- license: MIT
- mdast-util-from-markdown
- version: 2.0.0
- version: 2.0.1
- license: MIT
- mdast-util-gfm-autolink-literal
- version: 2.0.0
- version: 2.0.1
- license: MIT
- mdast-util-gfm-footnote
- version: 2.0.0
Expand All @@ -254,7 +238,7 @@ This file is generated from multiple sources. Included packages:
- version: 4.1.0
- license: MIT
- mdast-util-to-hast
- version: 13.1.0
- version: 13.2.0
- license: MIT
- mdast-util-to-markdown
- version: 2.1.0
Expand All @@ -263,25 +247,25 @@ This file is generated from multiple sources. Included packages:
- version: 4.0.0
- license: MIT
- micromark-core-commonmark
- version: 2.0.0
- version: 2.0.1
- license: MIT
- micromark-extension-gfm-autolink-literal
- version: 2.0.0
- version: 2.1.0
- license: MIT
- micromark-extension-gfm-footnote
- version: 2.0.0
- version: 2.1.0
- license: MIT
- micromark-extension-gfm-strikethrough
- version: 2.0.0
- version: 2.1.0
- license: MIT
- micromark-extension-gfm-table
- version: 2.0.0
- version: 2.1.0
- license: MIT
- micromark-extension-gfm-tagfilter
- version: 2.0.0
- license: MIT
- micromark-extension-gfm-task-list-item
- version: 2.0.1
- version: 2.1.0
- license: MIT
- micromark-extension-gfm
- version: 3.0.0
Expand Down Expand Up @@ -335,7 +319,7 @@ This file is generated from multiple sources. Included packages:
- version: 2.0.0
- license: MIT
- micromark-util-subtokenize
- version: 2.0.0
- version: 2.0.1
- license: MIT
- micromark
- version: 4.0.0
Expand All @@ -350,7 +334,7 @@ This file is generated from multiple sources. Included packages:
- version: 0.11.10
- license: MIT
- property-information
- version: 6.4.1
- version: 6.5.0
- license: MIT
- rehype-external-links
- version: 3.0.0
Expand Down Expand Up @@ -397,11 +381,8 @@ This file is generated from multiple sources. Included packages:
- typescript-event-target
- version: 1.1.1
- license: MIT
- is-plain-obj
- version: 4.1.0
- license: MIT
- unified
- version: 11.0.4
- version: 11.0.5
- license: MIT
- unist-builder
- version: 4.0.0
Expand All @@ -425,7 +406,7 @@ This file is generated from multiple sources. Included packages:
- version: 4.0.2
- license: MIT
- vfile
- version: 6.0.1
- version: 6.0.2
- license: MIT
- vue-color
- version: 2.8.1
Expand Down
Loading

0 comments on commit 4cccde1

Please sign in to comment.