From: Cyperghost Date: Wed, 23 Oct 2024 07:37:59 +0000 (+0200) Subject: Load localization for fancybox X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8260782881733f866acd04a8764d319c640e1752;p=GitHub%2FWoltLab%2FWCF.git Load localization for fancybox --- diff --git a/ts/WoltLabSuite/Core/Component/Image/Viewer.ts b/ts/WoltLabSuite/Core/Component/Image/Viewer.ts index 96dee8b18a..dbced78862 100644 --- a/ts/WoltLabSuite/Core/Component/Image/Viewer.ts +++ b/ts/WoltLabSuite/Core/Component/Image/Viewer.ts @@ -1,6 +1,24 @@ import { Fancybox } from "@fancyapps/ui"; +const LOCALS = ["cs", "de", "en", "es", "fr", "it", "ja", "lv", "pl", "sk"]; + export function setup() { - Fancybox.bind("[data-fancybox]"); - Fancybox.bind('[data-fancybox="attachments"]'); + void getLocalization().then((l10n) => { + Fancybox.bind("[data-fancybox]", { + l10n: l10n, + }); + Fancybox.bind('[data-fancybox="attachments"]', { + l10n: l10n, + }); + }); +} + +export async function getLocalization(): Promise> { + let local = document.documentElement.lang; + + if (!LOCALS.includes(local)) { + local = "en"; + } + + return (await import(`@fancyapps/ui/l10n/${local}`))[local]; } diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.esm.js deleted file mode 100644 index 7ae7efc848..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.esm.js +++ /dev/null @@ -1 +0,0 @@ -const o={PANUP:"Posunout nahoru",PANDOWN:"Posunout dolů",PANLEFT:"Posunout vlevo",PANRIGHT:"Posunout vpravo",ZOOMIN:"Přiblížit",ZOOMOUT:"Oddálit",TOGGLEZOOM:"Přepnout úroveň přiblížení",TOGGLE1TO1:"Přepnout úroveň přiblížení",ITERATEZOOM:"Přepnout úroveň přiblížení",ROTATECCW:"Otočit směrem vlevo",ROTATECW:"Otočit směrem vpravo",FLIPX:"Převrátit vodorovně",FLIPY:"Převrátit svisle",FITX:"Přizpůsobit na šířku",FITY:"Přizpůsobit na výšku",RESET:"Resetovat",TOGGLEFS:"Režim celé obrazovky",CLOSE:"Zavřít",NEXT:"Další",PREV:"Předchozí",MODAL:"Toto okno lze zavřít klávesou ESC",ERROR:"Někde se stala chyba, zkuste to prosím znovu",IMAGE_ERROR:"Obrázek nenalezen",ELEMENT_NOT_FOUND:"HTML element nenalezen",AJAX_NOT_FOUND:"Chyba AJAX načítání: Nenalezeno",AJAX_FORBIDDEN:"Chyba AJAX načítání: Zamítnuto",IFRAME_ERROR:"Chyba načítání stránky",TOGGLE_ZOOM:"Přepnout úroveň přiblížení",TOGGLE_THUMBS:"Zobrazit/skrýt miniatury",TOGGLE_SLIDESHOW:"Spustit/zastavit automatické přehrávání",TOGGLE_FULLSCREEN:"Režim celé obrazovky",DOWNLOAD:"Stáhnout"};export{o as cs}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.js new file mode 100644 index 0000000000..eefcf79c3f --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.js @@ -0,0 +1 @@ +!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((o="undefined"!=typeof globalThis?globalThis:o||self).Fancybox=o.Fancybox||{},o.Fancybox.l10n=o.Fancybox.l10n||{}))}(this,(function(o){"use strict";const e={PANUP:"Posunout nahoru",PANDOWN:"Posunout dolů",PANLEFT:"Posunout vlevo",PANRIGHT:"Posunout vpravo",ZOOMIN:"Přiblížit",ZOOMOUT:"Oddálit",TOGGLEZOOM:"Přepnout úroveň přiblížení",TOGGLE1TO1:"Přepnout úroveň přiblížení",ITERATEZOOM:"Přepnout úroveň přiblížení",ROTATECCW:"Otočit směrem vlevo",ROTATECW:"Otočit směrem vpravo",FLIPX:"Převrátit vodorovně",FLIPY:"Převrátit svisle",FITX:"Přizpůsobit na šířku",FITY:"Přizpůsobit na výšku",RESET:"Resetovat",TOGGLEFS:"Režim celé obrazovky",CLOSE:"Zavřít",NEXT:"Další",PREV:"Předchozí",MODAL:"Toto okno lze zavřít klávesou ESC",ERROR:"Někde se stala chyba, zkuste to prosím znovu",IMAGE_ERROR:"Obrázek nenalezen",ELEMENT_NOT_FOUND:"HTML element nenalezen",AJAX_NOT_FOUND:"Chyba AJAX načítání: Nenalezeno",AJAX_FORBIDDEN:"Chyba AJAX načítání: Zamítnuto",IFRAME_ERROR:"Chyba načítání stránky",TOGGLE_ZOOM:"Přepnout úroveň přiblížení",TOGGLE_THUMBS:"Zobrazit/skrýt miniatury",TOGGLE_SLIDESHOW:"Spustit/zastavit automatické přehrávání",TOGGLE_FULLSCREEN:"Režim celé obrazovky",DOWNLOAD:"Stáhnout"};o.cs=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.umd.js deleted file mode 100644 index eefcf79c3f..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/cs.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((o="undefined"!=typeof globalThis?globalThis:o||self).Fancybox=o.Fancybox||{},o.Fancybox.l10n=o.Fancybox.l10n||{}))}(this,(function(o){"use strict";const e={PANUP:"Posunout nahoru",PANDOWN:"Posunout dolů",PANLEFT:"Posunout vlevo",PANRIGHT:"Posunout vpravo",ZOOMIN:"Přiblížit",ZOOMOUT:"Oddálit",TOGGLEZOOM:"Přepnout úroveň přiblížení",TOGGLE1TO1:"Přepnout úroveň přiblížení",ITERATEZOOM:"Přepnout úroveň přiblížení",ROTATECCW:"Otočit směrem vlevo",ROTATECW:"Otočit směrem vpravo",FLIPX:"Převrátit vodorovně",FLIPY:"Převrátit svisle",FITX:"Přizpůsobit na šířku",FITY:"Přizpůsobit na výšku",RESET:"Resetovat",TOGGLEFS:"Režim celé obrazovky",CLOSE:"Zavřít",NEXT:"Další",PREV:"Předchozí",MODAL:"Toto okno lze zavřít klávesou ESC",ERROR:"Někde se stala chyba, zkuste to prosím znovu",IMAGE_ERROR:"Obrázek nenalezen",ELEMENT_NOT_FOUND:"HTML element nenalezen",AJAX_NOT_FOUND:"Chyba AJAX načítání: Nenalezeno",AJAX_FORBIDDEN:"Chyba AJAX načítání: Zamítnuto",IFRAME_ERROR:"Chyba načítání stránky",TOGGLE_ZOOM:"Přepnout úroveň přiblížení",TOGGLE_THUMBS:"Zobrazit/skrýt miniatury",TOGGLE_SLIDESHOW:"Spustit/zastavit automatické přehrávání",TOGGLE_FULLSCREEN:"Režim celé obrazovky",DOWNLOAD:"Stáhnout"};o.cs=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.esm.js deleted file mode 100644 index 47318a84e4..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.esm.js +++ /dev/null @@ -1 +0,0 @@ -const e={PANUP:"Aufwärts bewegen",PANDOWN:"Nach unten bewegen",PANLEFT:"Nach links bewegen",PANRIGHT:"Nach rechts bewegen",ZOOMIN:"Vergrößern",ZOOMOUT:"Verkleinern",TOGGLEZOOM:"Zoomstufe umschalten",TOGGLE1TO1:"Zoomstufe umschalten",ITERATEZOOM:"Zoomstufe umschalten",ROTATECCW:"Gegen den Uhrzeigersinn drehen",ROTATECW:"Im Uhrzeigersinn drehen",FLIPX:"Horizontal spiegeln",FLIPY:"Vertikal spiegeln",FITX:"Horizontal einpassen",FITY:"Vertikal anpassen",RESET:"Zurücksetzen",TOGGLEFS:"Vollbild umschalten",CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",MODAL:"Sie können diesen modalen Inhalt mit der ESC-Taste schließen",ERROR:"Etwas ist schief gelaufen, bitte versuchen Sie es später noch einmal",IMAGE_ERROR:"Bild nicht gefunden",ELEMENT_NOT_FOUND:"HTML-Element nicht gefunden",AJAX_NOT_FOUND:"Fehler beim Laden von AJAX: Nicht gefunden",AJAX_FORBIDDEN:"Fehler beim Laden von AJAX: Verboten",IFRAME_ERROR:"Fehler beim Laden der Seite",TOGGLE_ZOOM:"Zoomstufe umschalten",TOGGLE_THUMBS:"Miniaturansichten umschalten",TOGGLE_SLIDESHOW:"Diashow wechseln",TOGGLE_FULLSCREEN:"Vollbildmodus umschalten",DOWNLOAD:"Herunterladen"};export{e as de}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.js new file mode 100644 index 0000000000..b21c6eb4df --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Fancybox=e.Fancybox||{},e.Fancybox.l10n=e.Fancybox.l10n||{}))}(this,(function(e){"use strict";const n={PANUP:"Aufwärts bewegen",PANDOWN:"Nach unten bewegen",PANLEFT:"Nach links bewegen",PANRIGHT:"Nach rechts bewegen",ZOOMIN:"Vergrößern",ZOOMOUT:"Verkleinern",TOGGLEZOOM:"Zoomstufe umschalten",TOGGLE1TO1:"Zoomstufe umschalten",ITERATEZOOM:"Zoomstufe umschalten",ROTATECCW:"Gegen den Uhrzeigersinn drehen",ROTATECW:"Im Uhrzeigersinn drehen",FLIPX:"Horizontal spiegeln",FLIPY:"Vertikal spiegeln",FITX:"Horizontal einpassen",FITY:"Vertikal anpassen",RESET:"Zurücksetzen",TOGGLEFS:"Vollbild umschalten",CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",MODAL:"Sie können diesen modalen Inhalt mit der ESC-Taste schließen",ERROR:"Etwas ist schief gelaufen, bitte versuchen Sie es später noch einmal",IMAGE_ERROR:"Bild nicht gefunden",ELEMENT_NOT_FOUND:"HTML-Element nicht gefunden",AJAX_NOT_FOUND:"Fehler beim Laden von AJAX: Nicht gefunden",AJAX_FORBIDDEN:"Fehler beim Laden von AJAX: Verboten",IFRAME_ERROR:"Fehler beim Laden der Seite",TOGGLE_ZOOM:"Zoomstufe umschalten",TOGGLE_THUMBS:"Miniaturansichten umschalten",TOGGLE_SLIDESHOW:"Diashow wechseln",TOGGLE_FULLSCREEN:"Vollbildmodus umschalten",DOWNLOAD:"Herunterladen"};e.de=n})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.umd.js deleted file mode 100644 index b21c6eb4df..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/de.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).Fancybox=e.Fancybox||{},e.Fancybox.l10n=e.Fancybox.l10n||{}))}(this,(function(e){"use strict";const n={PANUP:"Aufwärts bewegen",PANDOWN:"Nach unten bewegen",PANLEFT:"Nach links bewegen",PANRIGHT:"Nach rechts bewegen",ZOOMIN:"Vergrößern",ZOOMOUT:"Verkleinern",TOGGLEZOOM:"Zoomstufe umschalten",TOGGLE1TO1:"Zoomstufe umschalten",ITERATEZOOM:"Zoomstufe umschalten",ROTATECCW:"Gegen den Uhrzeigersinn drehen",ROTATECW:"Im Uhrzeigersinn drehen",FLIPX:"Horizontal spiegeln",FLIPY:"Vertikal spiegeln",FITX:"Horizontal einpassen",FITY:"Vertikal anpassen",RESET:"Zurücksetzen",TOGGLEFS:"Vollbild umschalten",CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",MODAL:"Sie können diesen modalen Inhalt mit der ESC-Taste schließen",ERROR:"Etwas ist schief gelaufen, bitte versuchen Sie es später noch einmal",IMAGE_ERROR:"Bild nicht gefunden",ELEMENT_NOT_FOUND:"HTML-Element nicht gefunden",AJAX_NOT_FOUND:"Fehler beim Laden von AJAX: Nicht gefunden",AJAX_FORBIDDEN:"Fehler beim Laden von AJAX: Verboten",IFRAME_ERROR:"Fehler beim Laden der Seite",TOGGLE_ZOOM:"Zoomstufe umschalten",TOGGLE_THUMBS:"Miniaturansichten umschalten",TOGGLE_SLIDESHOW:"Diashow wechseln",TOGGLE_FULLSCREEN:"Vollbildmodus umschalten",DOWNLOAD:"Herunterladen"};e.de=n})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.esm.js deleted file mode 100644 index 813f1cbe68..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.esm.js +++ /dev/null @@ -1 +0,0 @@ -const o=Object.assign(Object.assign({},{PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"}),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"});export{o as en}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.js new file mode 100644 index 0000000000..8c02b10938 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.js @@ -0,0 +1 @@ +!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((o="undefined"!=typeof globalThis?globalThis:o||self).Fancybox=o.Fancybox||{},o.Fancybox.l10n=o.Fancybox.l10n||{}))}(this,(function(o){"use strict";const e=Object.assign(Object.assign({},{PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"}),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"});o.en=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.umd.js deleted file mode 100644 index 8c02b10938..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/en.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((o="undefined"!=typeof globalThis?globalThis:o||self).Fancybox=o.Fancybox||{},o.Fancybox.l10n=o.Fancybox.l10n||{}))}(this,(function(o){"use strict";const e=Object.assign(Object.assign({},{PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"}),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"});o.en=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.esm.js deleted file mode 100644 index 01857d07a7..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.esm.js +++ /dev/null @@ -1 +0,0 @@ -const a={PANUP:"Mover hacia arriba",PANDOWN:"Mover hacia abajo",PANLEFT:"Mover hacia la izquierda",PANRIGHT:"Mover hacia la derecha",ZOOMIN:"Mover a la derecha",ZOOMOUT:"Disminuir el zoom",TOGGLEZOOM:"Alternar nivel de zoom",TOGGLE1TO1:"Alternar nivel de zoom",ITERATEZOOM:"Alternar nivel de zoom",ROTATECCW:"Girar en sentido antihorario",ROTATECW:"Rotar las agujas del reloj",FLIPX:"Voltear horizontalmente",FLIPY:"Voltear verticalmente",FITX:"Ajustar horizontalmente",FITY:"Ajustar verticalmente",RESET:"Reiniciar",TOGGLEFS:"Alternar pantalla completa",CLOSE:"Cerrar",NEXT:"Siguiente",PREV:"Anterior",MODAL:"Puedes cerrar esta ventana con la tecla ESC",ERROR:"Algo salió mal, inténtalo de nuevo más tarde",IMAGE_ERROR:"Imagen no encontrada",ELEMENT_NOT_FOUND:"Elemento HTML no encontrado",AJAX_NOT_FOUND:"Error al cargar el AJAX : No encontrado",AJAX_FORBIDDEN:"Error al cargar el AJAX : Prohibido",IFRAME_ERROR:"Error al cargar la página",TOGGLE_ZOOM:"Cambiar el nivel de zoom",TOGGLE_THUMBS:"Cambiar a miniaturas",TOGGLE_SLIDESHOW:"Cambiar a modo presentación",TOGGLE_FULLSCREEN:"Cambiar a modo pantalla completa",DOWNLOAD:"Descargar"};export{a as es}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.js new file mode 100644 index 0000000000..c25bc3d676 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((a="undefined"!=typeof globalThis?globalThis:a||self).Fancybox=a.Fancybox||{},a.Fancybox.l10n=a.Fancybox.l10n||{}))}(this,(function(a){"use strict";const e={PANUP:"Mover hacia arriba",PANDOWN:"Mover hacia abajo",PANLEFT:"Mover hacia la izquierda",PANRIGHT:"Mover hacia la derecha",ZOOMIN:"Mover a la derecha",ZOOMOUT:"Disminuir el zoom",TOGGLEZOOM:"Alternar nivel de zoom",TOGGLE1TO1:"Alternar nivel de zoom",ITERATEZOOM:"Alternar nivel de zoom",ROTATECCW:"Girar en sentido antihorario",ROTATECW:"Rotar las agujas del reloj",FLIPX:"Voltear horizontalmente",FLIPY:"Voltear verticalmente",FITX:"Ajustar horizontalmente",FITY:"Ajustar verticalmente",RESET:"Reiniciar",TOGGLEFS:"Alternar pantalla completa",CLOSE:"Cerrar",NEXT:"Siguiente",PREV:"Anterior",MODAL:"Puedes cerrar esta ventana con la tecla ESC",ERROR:"Algo salió mal, inténtalo de nuevo más tarde",IMAGE_ERROR:"Imagen no encontrada",ELEMENT_NOT_FOUND:"Elemento HTML no encontrado",AJAX_NOT_FOUND:"Error al cargar el AJAX : No encontrado",AJAX_FORBIDDEN:"Error al cargar el AJAX : Prohibido",IFRAME_ERROR:"Error al cargar la página",TOGGLE_ZOOM:"Cambiar el nivel de zoom",TOGGLE_THUMBS:"Cambiar a miniaturas",TOGGLE_SLIDESHOW:"Cambiar a modo presentación",TOGGLE_FULLSCREEN:"Cambiar a modo pantalla completa",DOWNLOAD:"Descargar"};a.es=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.umd.js deleted file mode 100644 index c25bc3d676..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/es.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((a="undefined"!=typeof globalThis?globalThis:a||self).Fancybox=a.Fancybox||{},a.Fancybox.l10n=a.Fancybox.l10n||{}))}(this,(function(a){"use strict";const e={PANUP:"Mover hacia arriba",PANDOWN:"Mover hacia abajo",PANLEFT:"Mover hacia la izquierda",PANRIGHT:"Mover hacia la derecha",ZOOMIN:"Mover a la derecha",ZOOMOUT:"Disminuir el zoom",TOGGLEZOOM:"Alternar nivel de zoom",TOGGLE1TO1:"Alternar nivel de zoom",ITERATEZOOM:"Alternar nivel de zoom",ROTATECCW:"Girar en sentido antihorario",ROTATECW:"Rotar las agujas del reloj",FLIPX:"Voltear horizontalmente",FLIPY:"Voltear verticalmente",FITX:"Ajustar horizontalmente",FITY:"Ajustar verticalmente",RESET:"Reiniciar",TOGGLEFS:"Alternar pantalla completa",CLOSE:"Cerrar",NEXT:"Siguiente",PREV:"Anterior",MODAL:"Puedes cerrar esta ventana con la tecla ESC",ERROR:"Algo salió mal, inténtalo de nuevo más tarde",IMAGE_ERROR:"Imagen no encontrada",ELEMENT_NOT_FOUND:"Elemento HTML no encontrado",AJAX_NOT_FOUND:"Error al cargar el AJAX : No encontrado",AJAX_FORBIDDEN:"Error al cargar el AJAX : Prohibido",IFRAME_ERROR:"Error al cargar la página",TOGGLE_ZOOM:"Cambiar el nivel de zoom",TOGGLE_THUMBS:"Cambiar a miniaturas",TOGGLE_SLIDESHOW:"Cambiar a modo presentación",TOGGLE_FULLSCREEN:"Cambiar a modo pantalla completa",DOWNLOAD:"Descargar"};a.es=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.esm.js deleted file mode 100644 index 4b342c8e3d..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.esm.js +++ /dev/null @@ -1 +0,0 @@ -const e={PANUP:"Déplacer vers le haut",PANDOWN:"Déplacer vers le bas",PANLEFT:"Déplacer vers la gauche",PANRIGHT:"Déplacer vers la droite",ZOOMIN:"Zoom avant",ZOOMOUT:"Zoom arrière",TOGGLEZOOM:"Basculer le niveau de zoom",TOGGLE1TO1:"Basculer le niveau de zoom",ITERATEZOOM:"Basculer le niveau de zoom",ROTATECCW:"Tourner dans le sens antihoraire",ROTATECW:"Le sens des aiguilles d'une montre",FLIPX:"Retourner horizontalement",FLIPY:"Retourner verticalement",FITX:"Ajuster horizontalement",FITY:"Ajuster verticalement",RESET:"Réinitialiser",TOGGLEFS:"Basculer en plein écran",CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",MODAL:"Vous pouvez fermer ce contenu modal avec la touche ESC",ERROR:"Quelque chose s'est mal passé, veuillez réessayer plus tard",IMAGE_ERROR:"Image introuvable",ELEMENT_NOT_FOUND:"Élément HTML introuvable",AJAX_NOT_FOUND:"Erreur lors du chargement d'AJAX : introuvable",AJAX_FORBIDDEN:"Erreur lors du chargement d'AJAX : Interdit",IFRAME_ERROR:"Erreur lors du chargement de la page",TOGGLE_ZOOM:"Basculer le niveau de zoom",TOGGLE_THUMBS:"Basculer les vignettes",TOGGLE_SLIDESHOW:"Basculer le diaporama",TOGGLE_FULLSCREEN:"Basculer en mode plein écran",DOWNLOAD:"Télécharger"};export{e as fr}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.js new file mode 100644 index 0000000000..1d3c6ef7ea --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.js @@ -0,0 +1 @@ +!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(((e="undefined"!=typeof globalThis?globalThis:e||self).Fancybox=e.Fancybox||{},e.Fancybox.l10n=e.Fancybox.l10n||{}))}(this,(function(e){"use strict";const r={PANUP:"Déplacer vers le haut",PANDOWN:"Déplacer vers le bas",PANLEFT:"Déplacer vers la gauche",PANRIGHT:"Déplacer vers la droite",ZOOMIN:"Zoom avant",ZOOMOUT:"Zoom arrière",TOGGLEZOOM:"Basculer le niveau de zoom",TOGGLE1TO1:"Basculer le niveau de zoom",ITERATEZOOM:"Basculer le niveau de zoom",ROTATECCW:"Tourner dans le sens antihoraire",ROTATECW:"Le sens des aiguilles d'une montre",FLIPX:"Retourner horizontalement",FLIPY:"Retourner verticalement",FITX:"Ajuster horizontalement",FITY:"Ajuster verticalement",RESET:"Réinitialiser",TOGGLEFS:"Basculer en plein écran",CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",MODAL:"Vous pouvez fermer ce contenu modal avec la touche ESC",ERROR:"Quelque chose s'est mal passé, veuillez réessayer plus tard",IMAGE_ERROR:"Image introuvable",ELEMENT_NOT_FOUND:"Élément HTML introuvable",AJAX_NOT_FOUND:"Erreur lors du chargement d'AJAX : introuvable",AJAX_FORBIDDEN:"Erreur lors du chargement d'AJAX : Interdit",IFRAME_ERROR:"Erreur lors du chargement de la page",TOGGLE_ZOOM:"Basculer le niveau de zoom",TOGGLE_THUMBS:"Basculer les vignettes",TOGGLE_SLIDESHOW:"Basculer le diaporama",TOGGLE_FULLSCREEN:"Basculer en mode plein écran",DOWNLOAD:"Télécharger"};e.fr=r})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.umd.js deleted file mode 100644 index 1d3c6ef7ea..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/fr.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(((e="undefined"!=typeof globalThis?globalThis:e||self).Fancybox=e.Fancybox||{},e.Fancybox.l10n=e.Fancybox.l10n||{}))}(this,(function(e){"use strict";const r={PANUP:"Déplacer vers le haut",PANDOWN:"Déplacer vers le bas",PANLEFT:"Déplacer vers la gauche",PANRIGHT:"Déplacer vers la droite",ZOOMIN:"Zoom avant",ZOOMOUT:"Zoom arrière",TOGGLEZOOM:"Basculer le niveau de zoom",TOGGLE1TO1:"Basculer le niveau de zoom",ITERATEZOOM:"Basculer le niveau de zoom",ROTATECCW:"Tourner dans le sens antihoraire",ROTATECW:"Le sens des aiguilles d'une montre",FLIPX:"Retourner horizontalement",FLIPY:"Retourner verticalement",FITX:"Ajuster horizontalement",FITY:"Ajuster verticalement",RESET:"Réinitialiser",TOGGLEFS:"Basculer en plein écran",CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",MODAL:"Vous pouvez fermer ce contenu modal avec la touche ESC",ERROR:"Quelque chose s'est mal passé, veuillez réessayer plus tard",IMAGE_ERROR:"Image introuvable",ELEMENT_NOT_FOUND:"Élément HTML introuvable",AJAX_NOT_FOUND:"Erreur lors du chargement d'AJAX : introuvable",AJAX_FORBIDDEN:"Erreur lors du chargement d'AJAX : Interdit",IFRAME_ERROR:"Erreur lors du chargement de la page",TOGGLE_ZOOM:"Basculer le niveau de zoom",TOGGLE_THUMBS:"Basculer les vignettes",TOGGLE_SLIDESHOW:"Basculer le diaporama",TOGGLE_FULLSCREEN:"Basculer en mode plein écran",DOWNLOAD:"Télécharger"};e.fr=r})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.esm.js deleted file mode 100644 index b196d64971..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.esm.js +++ /dev/null @@ -1 +0,0 @@ -const t={PANUP:"Sposta su",PANDOWN:"Sposta giù",PANLEFT:"Sposta a sinistra",PANRIGHT:"Sposta a destra",ZOOMIN:"Ingrandisci",ZOOMOUT:"Rimpicciolisci",TOGGLEZOOM:"Alterna il livello di zoom",TOGGLE1TO1:"Alterna il livello di zoom",ITERATEZOOM:"Attiva/disattiva livello di zoom",ROTATECCW:"Ruota in senso antiorario",ROTATECW:"Ruota in senso orario",FLIPX:"Capovolgi orizzontalmente",FLIPY:"Capovolgi verticalmente",FITX:"Adatta orizzontalmente",FITY:"Adatta verticalmente",RESET:"Reimposta",TOGGLEFS:"Attiva/disattiva schermo intero",CLOSE:"Chiudi",NEXT:"Successivo",PREV:"Precedente",MODAL:"Puoi chiudere questo contenuto modale con il tasto ESC",ERROR:"Qualcosa è andato storto, riprova più tardi",IMAGE_ERROR:"Immagine non trovata",ELEMENT_NOT_FOUND:"Elemento HTML non trovato",AJAX_NOT_FOUND:"Errore durante il caricamento di AJAX: Non trovato",AJAX_FORBIDDEN:"Errore durante il caricamento di AJAX: Vietato",IFRAME_ERROR:"Errore durante il caricamento della pagina",TOGGLE_ZOOM:"Attiva/disattiva livello di zoom",TOGGLE_THUMBS:"Attiva/disattiva miniature",TOGGLE_SLIDESHOW:"Attiva/disattiva presentazione",TOGGLE_FULLSCREEN:"Attiva/disattiva modalità a schermo intero",DOWNLOAD:"Scarica"};export{t as it}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.js new file mode 100644 index 0000000000..fe7703ff50 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).Fancybox=t.Fancybox||{},t.Fancybox.l10n=t.Fancybox.l10n||{}))}(this,(function(t){"use strict";const i={PANUP:"Sposta su",PANDOWN:"Sposta giù",PANLEFT:"Sposta a sinistra",PANRIGHT:"Sposta a destra",ZOOMIN:"Ingrandisci",ZOOMOUT:"Rimpicciolisci",TOGGLEZOOM:"Alterna il livello di zoom",TOGGLE1TO1:"Alterna il livello di zoom",ITERATEZOOM:"Attiva/disattiva livello di zoom",ROTATECCW:"Ruota in senso antiorario",ROTATECW:"Ruota in senso orario",FLIPX:"Capovolgi orizzontalmente",FLIPY:"Capovolgi verticalmente",FITX:"Adatta orizzontalmente",FITY:"Adatta verticalmente",RESET:"Reimposta",TOGGLEFS:"Attiva/disattiva schermo intero",CLOSE:"Chiudi",NEXT:"Successivo",PREV:"Precedente",MODAL:"Puoi chiudere questo contenuto modale con il tasto ESC",ERROR:"Qualcosa è andato storto, riprova più tardi",IMAGE_ERROR:"Immagine non trovata",ELEMENT_NOT_FOUND:"Elemento HTML non trovato",AJAX_NOT_FOUND:"Errore durante il caricamento di AJAX: Non trovato",AJAX_FORBIDDEN:"Errore durante il caricamento di AJAX: Vietato",IFRAME_ERROR:"Errore durante il caricamento della pagina",TOGGLE_ZOOM:"Attiva/disattiva livello di zoom",TOGGLE_THUMBS:"Attiva/disattiva miniature",TOGGLE_SLIDESHOW:"Attiva/disattiva presentazione",TOGGLE_FULLSCREEN:"Attiva/disattiva modalità a schermo intero",DOWNLOAD:"Scarica"};t.it=i})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.umd.js deleted file mode 100644 index fe7703ff50..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/it.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).Fancybox=t.Fancybox||{},t.Fancybox.l10n=t.Fancybox.l10n||{}))}(this,(function(t){"use strict";const i={PANUP:"Sposta su",PANDOWN:"Sposta giù",PANLEFT:"Sposta a sinistra",PANRIGHT:"Sposta a destra",ZOOMIN:"Ingrandisci",ZOOMOUT:"Rimpicciolisci",TOGGLEZOOM:"Alterna il livello di zoom",TOGGLE1TO1:"Alterna il livello di zoom",ITERATEZOOM:"Attiva/disattiva livello di zoom",ROTATECCW:"Ruota in senso antiorario",ROTATECW:"Ruota in senso orario",FLIPX:"Capovolgi orizzontalmente",FLIPY:"Capovolgi verticalmente",FITX:"Adatta orizzontalmente",FITY:"Adatta verticalmente",RESET:"Reimposta",TOGGLEFS:"Attiva/disattiva schermo intero",CLOSE:"Chiudi",NEXT:"Successivo",PREV:"Precedente",MODAL:"Puoi chiudere questo contenuto modale con il tasto ESC",ERROR:"Qualcosa è andato storto, riprova più tardi",IMAGE_ERROR:"Immagine non trovata",ELEMENT_NOT_FOUND:"Elemento HTML non trovato",AJAX_NOT_FOUND:"Errore durante il caricamento di AJAX: Non trovato",AJAX_FORBIDDEN:"Errore durante il caricamento di AJAX: Vietato",IFRAME_ERROR:"Errore durante il caricamento della pagina",TOGGLE_ZOOM:"Attiva/disattiva livello di zoom",TOGGLE_THUMBS:"Attiva/disattiva miniature",TOGGLE_SLIDESHOW:"Attiva/disattiva presentazione",TOGGLE_FULLSCREEN:"Attiva/disattiva modalità a schermo intero",DOWNLOAD:"Scarica"};t.it=i})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.esm.js deleted file mode 100644 index d3fb0a5496..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.esm.js +++ /dev/null @@ -1 +0,0 @@ -const O={PANUP:"上に移動",PANDOWN:"下に移動",PANLEFT:"左に移動",PANRIGHT:"右に動く",ZOOMIN:"ズームイン",ZOOMOUT:"ズームアウトする",TOGGLEZOOM:"ズーム レベルの切り替え",TOGGLE1TO1:"ズーム レベルの切り替え",ITERATEZOOM:"ズーム レベルの切り替え",ROTATECCW:"反時計回りに回転",ROTATECW:"時計回りに回転します",FLIPX:"左右反転",FLIPY:"上下反転",FITX:"水平に合わせる",FITY:"縦に合わせる",RESET:"リセット",TOGGLEFS:"フルスクリーン切り替え",CLOSE:"近い",NEXT:"次",PREV:"前",MODAL:"このモーダル コンテンツは ESC キーで閉じることができます",ERROR:"何かが間違っています。後でもう一度試してください",IMAGE_ERROR:"画像が見つかりません",ELEMENT_NOT_FOUND:"HTML 要素が見つかりません",AJAX_NOT_FOUND:"AJAX の読み込みエラー: 見つかりません",AJAX_FORBIDDEN:"AJAX のロード中にエラーが発生しました: 禁止されています",IFRAME_ERROR:"ページ読み込みエラー",TOGGLE_ZOOM:"ズーム レベルの切り替え",TOGGLE_THUMBS:"サムネイルの切り替え",TOGGLE_SLIDESHOW:"スライドショーの切り替え",TOGGLE_FULLSCREEN:"全画面モードの切り替え",DOWNLOAD:"ダウンロード"};export{O as ja}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.js new file mode 100644 index 0000000000..b2cef41a51 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.js @@ -0,0 +1 @@ +!function(O,E){"object"==typeof exports&&"undefined"!=typeof module?E(exports):"function"==typeof define&&define.amd?define(["exports"],E):E(((O="undefined"!=typeof globalThis?globalThis:O||self).Fancybox=O.Fancybox||{},O.Fancybox.l10n=O.Fancybox.l10n||{}))}(this,(function(O){"use strict";const E={PANUP:"上に移動",PANDOWN:"下に移動",PANLEFT:"左に移動",PANRIGHT:"右に動く",ZOOMIN:"ズームイン",ZOOMOUT:"ズームアウトする",TOGGLEZOOM:"ズーム レベルの切り替え",TOGGLE1TO1:"ズーム レベルの切り替え",ITERATEZOOM:"ズーム レベルの切り替え",ROTATECCW:"反時計回りに回転",ROTATECW:"時計回りに回転します",FLIPX:"左右反転",FLIPY:"上下反転",FITX:"水平に合わせる",FITY:"縦に合わせる",RESET:"リセット",TOGGLEFS:"フルスクリーン切り替え",CLOSE:"近い",NEXT:"次",PREV:"前",MODAL:"このモーダル コンテンツは ESC キーで閉じることができます",ERROR:"何かが間違っています。後でもう一度試してください",IMAGE_ERROR:"画像が見つかりません",ELEMENT_NOT_FOUND:"HTML 要素が見つかりません",AJAX_NOT_FOUND:"AJAX の読み込みエラー: 見つかりません",AJAX_FORBIDDEN:"AJAX のロード中にエラーが発生しました: 禁止されています",IFRAME_ERROR:"ページ読み込みエラー",TOGGLE_ZOOM:"ズーム レベルの切り替え",TOGGLE_THUMBS:"サムネイルの切り替え",TOGGLE_SLIDESHOW:"スライドショーの切り替え",TOGGLE_FULLSCREEN:"全画面モードの切り替え",DOWNLOAD:"ダウンロード"};O.ja=E})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.umd.js deleted file mode 100644 index b2cef41a51..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/ja.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(O,E){"object"==typeof exports&&"undefined"!=typeof module?E(exports):"function"==typeof define&&define.amd?define(["exports"],E):E(((O="undefined"!=typeof globalThis?globalThis:O||self).Fancybox=O.Fancybox||{},O.Fancybox.l10n=O.Fancybox.l10n||{}))}(this,(function(O){"use strict";const E={PANUP:"上に移動",PANDOWN:"下に移動",PANLEFT:"左に移動",PANRIGHT:"右に動く",ZOOMIN:"ズームイン",ZOOMOUT:"ズームアウトする",TOGGLEZOOM:"ズーム レベルの切り替え",TOGGLE1TO1:"ズーム レベルの切り替え",ITERATEZOOM:"ズーム レベルの切り替え",ROTATECCW:"反時計回りに回転",ROTATECW:"時計回りに回転します",FLIPX:"左右反転",FLIPY:"上下反転",FITX:"水平に合わせる",FITY:"縦に合わせる",RESET:"リセット",TOGGLEFS:"フルスクリーン切り替え",CLOSE:"近い",NEXT:"次",PREV:"前",MODAL:"このモーダル コンテンツは ESC キーで閉じることができます",ERROR:"何かが間違っています。後でもう一度試してください",IMAGE_ERROR:"画像が見つかりません",ELEMENT_NOT_FOUND:"HTML 要素が見つかりません",AJAX_NOT_FOUND:"AJAX の読み込みエラー: 見つかりません",AJAX_FORBIDDEN:"AJAX のロード中にエラーが発生しました: 禁止されています",IFRAME_ERROR:"ページ読み込みエラー",TOGGLE_ZOOM:"ズーム レベルの切り替え",TOGGLE_THUMBS:"サムネイルの切り替え",TOGGLE_SLIDESHOW:"スライドショーの切り替え",TOGGLE_FULLSCREEN:"全画面モードの切り替え",DOWNLOAD:"ダウンロード"};O.ja=E})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.esm.js deleted file mode 100644 index aebc38a0fd..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.esm.js +++ /dev/null @@ -1 +0,0 @@ -const t={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu",CLOSE:"Aizvērt",NEXT:"Nākošais",PREV:"Iepriekšējais",MODAL:"Šo modālo saturu var aizvērt ar ESC taustiņu",ERROR:"Kaut kas nogāja greizi. Lūdzu, vēlāk mēģiniet vēlreiz",IMAGE_ERROR:"Attēls nav atrasts",ELEMENT_NOT_FOUND:"HTML elements nav atrasts",AJAX_NOT_FOUND:"Ielādējot AJAX, radās kļūda: Nav atrasts",AJAX_FORBIDDEN:"Ielādējot AJAX, radās kļūda: Aizliegts",IFRAME_ERROR:"Ielādējot lapu, radās kļūda",TOGGLE_ZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE_THUMBS:"Pārslēgt sīktēlus",TOGGLE_SLIDESHOW:"Pārslēgt slaidrādi",TOGGLE_FULLSCREEN:"Pārslēgt pilnekrāna režīmu",DOWNLOAD:"Lejupielādēt"};export{t as lv}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.js new file mode 100644 index 0000000000..415e15b26b --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).Fancybox=t.Fancybox||{},t.Fancybox.l10n=t.Fancybox.l10n||{}))}(this,(function(t){"use strict";const i={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu",CLOSE:"Aizvērt",NEXT:"Nākošais",PREV:"Iepriekšējais",MODAL:"Šo modālo saturu var aizvērt ar ESC taustiņu",ERROR:"Kaut kas nogāja greizi. Lūdzu, vēlāk mēģiniet vēlreiz",IMAGE_ERROR:"Attēls nav atrasts",ELEMENT_NOT_FOUND:"HTML elements nav atrasts",AJAX_NOT_FOUND:"Ielādējot AJAX, radās kļūda: Nav atrasts",AJAX_FORBIDDEN:"Ielādējot AJAX, radās kļūda: Aizliegts",IFRAME_ERROR:"Ielādējot lapu, radās kļūda",TOGGLE_ZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE_THUMBS:"Pārslēgt sīktēlus",TOGGLE_SLIDESHOW:"Pārslēgt slaidrādi",TOGGLE_FULLSCREEN:"Pārslēgt pilnekrāna režīmu",DOWNLOAD:"Lejupielādēt"};t.lv=i})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.umd.js deleted file mode 100644 index 415e15b26b..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/lv.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).Fancybox=t.Fancybox||{},t.Fancybox.l10n=t.Fancybox.l10n||{}))}(this,(function(t){"use strict";const i={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu",CLOSE:"Aizvērt",NEXT:"Nākošais",PREV:"Iepriekšējais",MODAL:"Šo modālo saturu var aizvērt ar ESC taustiņu",ERROR:"Kaut kas nogāja greizi. Lūdzu, vēlāk mēģiniet vēlreiz",IMAGE_ERROR:"Attēls nav atrasts",ELEMENT_NOT_FOUND:"HTML elements nav atrasts",AJAX_NOT_FOUND:"Ielādējot AJAX, radās kļūda: Nav atrasts",AJAX_FORBIDDEN:"Ielādējot AJAX, radās kļūda: Aizliegts",IFRAME_ERROR:"Ielādējot lapu, radās kļūda",TOGGLE_ZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE_THUMBS:"Pārslēgt sīktēlus",TOGGLE_SLIDESHOW:"Pārslēgt slaidrādi",TOGGLE_FULLSCREEN:"Pārslēgt pilnekrāna režīmu",DOWNLOAD:"Lejupielādēt"};t.lv=i})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.esm.js deleted file mode 100644 index de336eb218..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.esm.js +++ /dev/null @@ -1 +0,0 @@ -const o={PANUP:"Przesuń w górę",PANDOWN:"Przesuń w dół",PANLEFT:"Przesuń w lewo",PANRIGHT:"Przesuń w prawo",ZOOMIN:"Zbliż",ZOOMOUT:"Oddal",TOGGLEZOOM:"Zbliż/oddal",TOGGLE1TO1:"Zmieść/skala 1:1",ITERATEZOOM:"Zbliż/oddal",ROTATECCW:"Obróć w lewo",ROTATECW:"Obróć w prawo",FLIPX:"Obróć w poziomie",FLIPY:"Obróć w pionie",FITX:"Dopasuj do szerokości ekranu",FITY:"Dopasuj do wysokości ekranu",RESET:"Resetuj",TOGGLEFS:"Włącz/wyłącz tryb pełnego ekranu",CLOSE:"Zamknij",NEXT:"Dalej",PREV:"Wstecz",MODAL:"Wciśnij ESC, by zamknąć",ERROR:"Coś poszło nie tak. Spróbuj ponownie później",IMAGE_ERROR:"Wczytywanie obrazu nie powiodło się",ELEMENT_NOT_FOUND:"Element HTML nie został odnaleziony",AJAX_NOT_FOUND:"Żądanie AJAX nie powiodło się: brak właściwego zasobu",AJAX_FORBIDDEN:"Żądanie AJAX nie powiodło się: braku dostępu",IFRAME_ERROR:"Nie udało się załadować poprawnie tej strony",TOGGLE_ZOOM:"Zbliż/oddal",TOGGLE_THUMBS:"Wyświetl/ukryj miniatury",TOGGLE_SLIDESHOW:"Włącz/wyłącz pokaz slajdów",TOGGLE_FULLSCREEN:"Włącz/wyłącz tryb pełnego ekranu",DOWNLOAD:"Pobierz"};export{o as pl}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.js new file mode 100644 index 0000000000..669c820844 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.js @@ -0,0 +1 @@ +!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((o="undefined"!=typeof globalThis?globalThis:o||self).Fancybox=o.Fancybox||{},o.Fancybox.l10n=o.Fancybox.l10n||{}))}(this,(function(o){"use strict";const e={PANUP:"Przesuń w górę",PANDOWN:"Przesuń w dół",PANLEFT:"Przesuń w lewo",PANRIGHT:"Przesuń w prawo",ZOOMIN:"Zbliż",ZOOMOUT:"Oddal",TOGGLEZOOM:"Zbliż/oddal",TOGGLE1TO1:"Zmieść/skala 1:1",ITERATEZOOM:"Zbliż/oddal",ROTATECCW:"Obróć w lewo",ROTATECW:"Obróć w prawo",FLIPX:"Obróć w poziomie",FLIPY:"Obróć w pionie",FITX:"Dopasuj do szerokości ekranu",FITY:"Dopasuj do wysokości ekranu",RESET:"Resetuj",TOGGLEFS:"Włącz/wyłącz tryb pełnego ekranu",CLOSE:"Zamknij",NEXT:"Dalej",PREV:"Wstecz",MODAL:"Wciśnij ESC, by zamknąć",ERROR:"Coś poszło nie tak. Spróbuj ponownie później",IMAGE_ERROR:"Wczytywanie obrazu nie powiodło się",ELEMENT_NOT_FOUND:"Element HTML nie został odnaleziony",AJAX_NOT_FOUND:"Żądanie AJAX nie powiodło się: brak właściwego zasobu",AJAX_FORBIDDEN:"Żądanie AJAX nie powiodło się: braku dostępu",IFRAME_ERROR:"Nie udało się załadować poprawnie tej strony",TOGGLE_ZOOM:"Zbliż/oddal",TOGGLE_THUMBS:"Wyświetl/ukryj miniatury",TOGGLE_SLIDESHOW:"Włącz/wyłącz pokaz slajdów",TOGGLE_FULLSCREEN:"Włącz/wyłącz tryb pełnego ekranu",DOWNLOAD:"Pobierz"};o.pl=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.umd.js deleted file mode 100644 index 669c820844..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/pl.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((o="undefined"!=typeof globalThis?globalThis:o||self).Fancybox=o.Fancybox||{},o.Fancybox.l10n=o.Fancybox.l10n||{}))}(this,(function(o){"use strict";const e={PANUP:"Przesuń w górę",PANDOWN:"Przesuń w dół",PANLEFT:"Przesuń w lewo",PANRIGHT:"Przesuń w prawo",ZOOMIN:"Zbliż",ZOOMOUT:"Oddal",TOGGLEZOOM:"Zbliż/oddal",TOGGLE1TO1:"Zmieść/skala 1:1",ITERATEZOOM:"Zbliż/oddal",ROTATECCW:"Obróć w lewo",ROTATECW:"Obróć w prawo",FLIPX:"Obróć w poziomie",FLIPY:"Obróć w pionie",FITX:"Dopasuj do szerokości ekranu",FITY:"Dopasuj do wysokości ekranu",RESET:"Resetuj",TOGGLEFS:"Włącz/wyłącz tryb pełnego ekranu",CLOSE:"Zamknij",NEXT:"Dalej",PREV:"Wstecz",MODAL:"Wciśnij ESC, by zamknąć",ERROR:"Coś poszło nie tak. Spróbuj ponownie później",IMAGE_ERROR:"Wczytywanie obrazu nie powiodło się",ELEMENT_NOT_FOUND:"Element HTML nie został odnaleziony",AJAX_NOT_FOUND:"Żądanie AJAX nie powiodło się: brak właściwego zasobu",AJAX_FORBIDDEN:"Żądanie AJAX nie powiodło się: braku dostępu",IFRAME_ERROR:"Nie udało się załadować poprawnie tej strony",TOGGLE_ZOOM:"Zbliż/oddal",TOGGLE_THUMBS:"Wyświetl/ukryj miniatury",TOGGLE_SLIDESHOW:"Włącz/wyłącz pokaz slajdów",TOGGLE_FULLSCREEN:"Włącz/wyłącz tryb pełnego ekranu",DOWNLOAD:"Pobierz"};o.pl=e})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.esm.js deleted file mode 100644 index e524f932bf..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.esm.js +++ /dev/null @@ -1 +0,0 @@ -const a={PANUP:"Posunúť hore",PANDOWN:"Posunúť dole",PANLEFT:"Posunúť vľavo",PANRIGHT:"Posunúť vpravo",ZOOMIN:"Priblížiť",ZOOMOUT:"Oddialiť",TOGGLEZOOM:"Prepnúť úroveň priblíženia",TOGGLE1TO1:"Prepnúť úroveň priblíženia",ITERATEZOOM:"Prepnúť úroveň priblíženia",ROTATECCW:"Otočiť doľava",ROTATECW:"Otočiť doprava",FLIPX:"Prevrátiť vodorovne",FLIPY:"Prevrátiť zvisle",FITX:"Prispôsobiť na šírku",FITY:"Prispôsobiť na výšku",RESET:"Resetovať",TOGGLEFS:"Režim celej obrazovky",CLOSE:"Zavrieť",NEXT:"Ďalší",PREV:"Predchádzajúci",MODAL:"Môžete zavrieť toto okno klávesou ESC",ERROR:"Nastala chyba. Skúste to, prosím, znovu",IMAGE_ERROR:"Obrázok sa nenašiel",ELEMENT_NOT_FOUND:"HTML element sa nenašiel",AJAX_NOT_FOUND:"Chyba načítania: nenájdené",AJAX_FORBIDDEN:"Chyba načítania: zamietnuté",IFRAME_ERROR:"Chyba načítania stránky",TOGGLE_ZOOM:"Prepnúť úroveň priblíženia",TOGGLE_THUMBS:"Zobraziť/skryť miniatúry",TOGGLE_SLIDESHOW:"Spustiť/zastaviť automatické prehrávanie",TOGGLE_FULLSCREEN:"Režim celej obrazovky",DOWNLOAD:"Stiahnuť"};export{a as sk}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.js new file mode 100644 index 0000000000..ab0f1b5669 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a(((e="undefined"!=typeof globalThis?globalThis:e||self).Fancybox=e.Fancybox||{},e.Fancybox.l10n=e.Fancybox.l10n||{}))}(this,(function(e){"use strict";const a={PANUP:"Posunúť hore",PANDOWN:"Posunúť dole",PANLEFT:"Posunúť vľavo",PANRIGHT:"Posunúť vpravo",ZOOMIN:"Priblížiť",ZOOMOUT:"Oddialiť",TOGGLEZOOM:"Prepnúť úroveň priblíženia",TOGGLE1TO1:"Prepnúť úroveň priblíženia",ITERATEZOOM:"Prepnúť úroveň priblíženia",ROTATECCW:"Otočiť doľava",ROTATECW:"Otočiť doprava",FLIPX:"Prevrátiť vodorovne",FLIPY:"Prevrátiť zvisle",FITX:"Prispôsobiť na šírku",FITY:"Prispôsobiť na výšku",RESET:"Resetovať",TOGGLEFS:"Režim celej obrazovky",CLOSE:"Zavrieť",NEXT:"Ďalší",PREV:"Predchádzajúci",MODAL:"Môžete zavrieť toto okno klávesou ESC",ERROR:"Nastala chyba. Skúste to, prosím, znovu",IMAGE_ERROR:"Obrázok sa nenašiel",ELEMENT_NOT_FOUND:"HTML element sa nenašiel",AJAX_NOT_FOUND:"Chyba načítania: nenájdené",AJAX_FORBIDDEN:"Chyba načítania: zamietnuté",IFRAME_ERROR:"Chyba načítania stránky",TOGGLE_ZOOM:"Prepnúť úroveň priblíženia",TOGGLE_THUMBS:"Zobraziť/skryť miniatúry",TOGGLE_SLIDESHOW:"Spustiť/zastaviť automatické prehrávanie",TOGGLE_FULLSCREEN:"Režim celej obrazovky",DOWNLOAD:"Stiahnuť"};e.sk=a})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.umd.js deleted file mode 100644 index ab0f1b5669..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/sk.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a(((e="undefined"!=typeof globalThis?globalThis:e||self).Fancybox=e.Fancybox||{},e.Fancybox.l10n=e.Fancybox.l10n||{}))}(this,(function(e){"use strict";const a={PANUP:"Posunúť hore",PANDOWN:"Posunúť dole",PANLEFT:"Posunúť vľavo",PANRIGHT:"Posunúť vpravo",ZOOMIN:"Priblížiť",ZOOMOUT:"Oddialiť",TOGGLEZOOM:"Prepnúť úroveň priblíženia",TOGGLE1TO1:"Prepnúť úroveň priblíženia",ITERATEZOOM:"Prepnúť úroveň priblíženia",ROTATECCW:"Otočiť doľava",ROTATECW:"Otočiť doprava",FLIPX:"Prevrátiť vodorovne",FLIPY:"Prevrátiť zvisle",FITX:"Prispôsobiť na šírku",FITY:"Prispôsobiť na výšku",RESET:"Resetovať",TOGGLEFS:"Režim celej obrazovky",CLOSE:"Zavrieť",NEXT:"Ďalší",PREV:"Predchádzajúci",MODAL:"Môžete zavrieť toto okno klávesou ESC",ERROR:"Nastala chyba. Skúste to, prosím, znovu",IMAGE_ERROR:"Obrázok sa nenašiel",ELEMENT_NOT_FOUND:"HTML element sa nenašiel",AJAX_NOT_FOUND:"Chyba načítania: nenájdené",AJAX_FORBIDDEN:"Chyba načítania: zamietnuté",IFRAME_ERROR:"Chyba načítania stránky",TOGGLE_ZOOM:"Prepnúť úroveň priblíženia",TOGGLE_THUMBS:"Zobraziť/skryť miniatúry",TOGGLE_SLIDESHOW:"Spustiť/zastaviť automatické prehrávanie",TOGGLE_FULLSCREEN:"Režim celej obrazovky",DOWNLOAD:"Stiahnuť"};e.sk=a})); diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/zh_CN.esm.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/zh_CN.esm.js deleted file mode 100644 index 878640c8e7..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/zh_CN.esm.js +++ /dev/null @@ -1 +0,0 @@ -const O={PANUP:"上移",PANDOWN:"下移",PANLEFT:"左移",PANRIGHT:"右移",ZOOMIN:"放大",ZOOMOUT:"缩小",TOGGLEZOOM:"切换缩放级别",TOGGLE1TO1:"切换缩放级别",ITERATEZOOM:"切换缩放级别",ROTATECCW:"逆时针旋转",ROTATECW:"顺时针旋转",FLIPX:"水平翻转",FLIPY:"垂直翻转",FITX:"水平适应",FITY:"垂直适应",RESET:"重置",TOGGLEFS:"切换全屏",CLOSE:"关闭",NEXT:"上一个",PREV:"下一个",MODAL:"使用 ESC 键关闭",ERROR:"发生了错误,请稍后再试",IMAGE_ERROR:"找不到图像",ELEMENT_NOT_FOUND:"找不到 HTML 元素",AJAX_NOT_FOUND:"载入 AJAX 时出错: 未找到",AJAX_FORBIDDEN:"载入 AJAX 时出错: 被阻止",IFRAME_ERROR:"加载页面出错",TOGGLE_ZOOM:"切换缩放级别",TOGGLE_THUMBS:"切换缩略图",TOGGLE_SLIDESHOW:"切换幻灯片",TOGGLE_FULLSCREEN:"切换全屏",DOWNLOAD:"下载"};export{O as zh_CN}; diff --git a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/zh_CN.umd.js b/wcfsetup/install/files/js/3rdParty/fancybox/l10n/zh_CN.umd.js deleted file mode 100644 index b4a76adb0a..0000000000 --- a/wcfsetup/install/files/js/3rdParty/fancybox/l10n/zh_CN.umd.js +++ /dev/null @@ -1 +0,0 @@ -!function(O,E){"object"==typeof exports&&"undefined"!=typeof module?E(exports):"function"==typeof define&&define.amd?define(["exports"],E):E(((O="undefined"!=typeof globalThis?globalThis:O||self).Fancybox=O.Fancybox||{},O.Fancybox.l10n=O.Fancybox.l10n||{}))}(this,(function(O){"use strict";const E={PANUP:"上移",PANDOWN:"下移",PANLEFT:"左移",PANRIGHT:"右移",ZOOMIN:"放大",ZOOMOUT:"缩小",TOGGLEZOOM:"切换缩放级别",TOGGLE1TO1:"切换缩放级别",ITERATEZOOM:"切换缩放级别",ROTATECCW:"逆时针旋转",ROTATECW:"顺时针旋转",FLIPX:"水平翻转",FLIPY:"垂直翻转",FITX:"水平适应",FITY:"垂直适应",RESET:"重置",TOGGLEFS:"切换全屏",CLOSE:"关闭",NEXT:"上一个",PREV:"下一个",MODAL:"使用 ESC 键关闭",ERROR:"发生了错误,请稍后再试",IMAGE_ERROR:"找不到图像",ELEMENT_NOT_FOUND:"找不到 HTML 元素",AJAX_NOT_FOUND:"载入 AJAX 时出错: 未找到",AJAX_FORBIDDEN:"载入 AJAX 时出错: 被阻止",IFRAME_ERROR:"加载页面出错",TOGGLE_ZOOM:"切换缩放级别",TOGGLE_THUMBS:"切换缩略图",TOGGLE_SLIDESHOW:"切换幻灯片",TOGGLE_FULLSCREEN:"切换全屏",DOWNLOAD:"下载"};O.zh_CN=E})); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image/Viewer.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image/Viewer.js index fdc9f9f2d4..8a07541f79 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image/Viewer.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image/Viewer.js @@ -1,9 +1,47 @@ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; define(["require", "exports", "@fancyapps/ui"], function (require, exports, ui_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setup = setup; + exports.getLocalization = getLocalization; + const LOCALS = ["cs", "de", "en", "es", "fr", "it", "ja", "lv", "pl", "sk"]; function setup() { - ui_1.Fancybox.bind("[data-fancybox]"); - ui_1.Fancybox.bind('[data-fancybox="attachments"]'); + void getLocalization().then((l10n) => { + ui_1.Fancybox.bind("[data-fancybox]", { + l10n: l10n, + }); + ui_1.Fancybox.bind('[data-fancybox="attachments"]', { + l10n: l10n, + }); + }); + } + async function getLocalization() { + let local = document.documentElement.lang; + if (!LOCALS.includes(local)) { + local = "en"; + } + return (await new Promise((resolve_1, reject_1) => { require([`@fancyapps/ui/l10n/${local}`], resolve_1, reject_1); }).then(__importStar))[local]; } }); diff --git a/wcfsetup/install/files/js/require.config.js b/wcfsetup/install/files/js/require.config.js index db3acc9f61..1a4032c5b0 100644 --- a/wcfsetup/install/files/js/require.config.js +++ b/wcfsetup/install/files/js/require.config.js @@ -17,7 +17,6 @@ requirejs.config({ "@woltlab/editor": "3rdParty/ckeditor/ckeditor5.bundle", "ckeditor5-translation": "3rdParty/ckeditor/translations", "diff-match-patch": "3rdParty/diff-match-patch/diff_match_patch.min", - "@fancyapps/ui": "3rdParty/fancybox/fancybox.umd", }, packages: [ { @@ -30,6 +29,11 @@ requirejs.config({ location: "3rdParty/visual-dom-diff", main: "index", }, + { + name: "@fancyapps/ui", + location: "3rdParty/fancybox", + main: "fancybox.umd", + }, ], shim: { "perfect-scrollbar": { exports: "PerfectScrollbar" },