diff --git a/src/content-handlers/iiif/IIIFContentHandler.ts b/src/content-handlers/iiif/IIIFContentHandler.ts index 24040a933..cad538ba5 100644 --- a/src/content-handlers/iiif/IIIFContentHandler.ts +++ b/src/content-handlers/iiif/IIIFContentHandler.ts @@ -384,7 +384,7 @@ export default class IIIFContentHandler extends BaseContentHandler } // import the config file - let config = await (extension as any).loadConfig(data.locales[0].name); + let config = await (extension as any).loadConfig(data.locales[0].name, extension?.type.name); data.config = await that.configure(config); diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/Extension.ts b/src/content-handlers/iiif/extensions/uv-av-extension/Extension.ts index 1b2730399..47b984877 100644 --- a/src/content-handlers/iiif/extensions/uv-av-extension/Extension.ts +++ b/src/content-handlers/iiif/extensions/uv-av-extension/Extension.ts @@ -14,7 +14,7 @@ import { IIIFResourceType } from "@iiif/vocabulary/dist-commonjs/"; import { Bools, Strings } from "@edsilv/utils"; import { Thumb, TreeNode, Range } from "manifesto.js"; import "./theme/theme.less"; -import defaultConfig from "./config/en-GB.json"; +import defaultConfig from "./config/config.json"; export default class Extension extends BaseExtension implements IAVExtension { $downloadDialogue: JQuery; @@ -32,11 +32,7 @@ export default class Extension extends BaseExtension implements IAVExtension { shareDialogue: ShareDialogue; defaultConfig: any = defaultConfig; locales = { - "en-GB": defaultConfig, - "cy-GB": () => import("./config/cy-GB.json"), - "fr-FR": () => import("./config/fr-FR.json"), - "pl-PL": () => import("./config/pl-PL.json"), - "sv-SE": () => import("./config/sv-SE.json"), + "en-GB": defaultConfig }; lastAvCanvasIndex?: number; diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-av-extension/config/config.json new file mode 100644 index 000000000..4e6ef96d7 --- /dev/null +++ b/src/content-handlers/iiif/extensions/uv-av-extension/config/config.json @@ -0,0 +1,323 @@ +{ + "options": { + "allowStealFocus": false, + "authAPIVersion": 1, + "bookmarkThumbHeight": 150, + "bookmarkThumbWidth": 90, + "dropEnabled": true, + "footerPanelEnabled": true, + "headerPanelEnabled": true, + "leftPanelEnabled": true, + "limitLocales": false, + "metrics": [ + { + "type": "sm", + "minWidth": 0 + }, + { + "type": "md", + "minWidth": 768 + }, + { + "type": "lg", + "minWidth": 1024 + }, + { + "type": "xl", + "minWidth": 1280 + } + ], + "multiSelectionMimeType": "application/zip", + "navigatorEnabled": true, + "openTemplate": "http://universalviewer.io?manifest={0}", + "overrideFullScreen": false, + "pagingEnabled": true, + "pagingOptionEnabled": true, + "pessimisticAccessControl": false, + "preserveViewport": false, + "rightPanelEnabled": true, + "saveUserSettings": false, + "clickToZoomEnabled": true, + "searchWithinEnabled": true, + "termsOfUseEnabled": false, + "theme": "uv-en-GB-theme", + "tokenStorage": "session", + "useArrowKeysToNavigate": false, + "zoomToSearchResultEnabled": true + }, + "modules": { + "contentLeftPanel": { + "options": { + "autoExpandTreeEnabled": true, + "autoExpandTreeIfFewerThan": 20, + "branchNodesExpandOnClick": false, + "branchNodesSelectable": true, + "defaultToTreeEnabled": false, + "defaultToTreeIfGreaterThan": 0, + "elideCount": 40, + "expandFullEnabled": true, + "galleryThumbChunkedResizingThreshold": 400, + "galleryThumbHeight": 320, + "galleryThumbLoadPadding": 3, + "galleryThumbWidth": 200, + "oneColThumbHeight": 320, + "oneColThumbWidth": 200, + "pageModeEnabled": true, + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": true, + "tabOrder": "", + "thumbsEnabled": true, + "thumbsExtraHeight": 8, + "thumbsImageFadeInDuration": 300, + "thumbsLoadRange": 15, + "treeEnabled": true, + "twoColThumbHeight": 150, + "twoColThumbWidth": 90 + }, + "content": { + "collapse": "$collapse", + "collapseFull": "$collapseFull", + "date": "$date", + "expand": "$expandContents", + "expandFull": "$expandGallery", + "index": "$index", + "manifestRanges": "$manifestRanges", + "searchResult": "$searchResult", + "searchResults": "$searchResults", + "sortBy": "$sortBy", + "thumbnails": "$thumbnails", + "title": "$contents", + "volume": "$volume" + } + }, + "dialogue": { + "topCloseButtonEnabled": false, + "content": { + "close": "$close" + } + }, + "footerPanel": { + "options": { + "bookmarkEnabled": false, + "downloadEnabled": true, + "embedEnabled": false, + "feedbackEnabled": false, + "fullscreenEnabled": true, + "minimiseButtons": true, + "moreInfoEnabled": true, + "openEnabled": false, + "printEnabled": false, + "shareEnabled": true + }, + "content": { + "bookmark": "$add_to_bookmarks", + "download": "$download", + "embed": "$embed", + "exitFullScreen": "$exitFullScreen", + "feedback": "$feedback", + "fullScreen": "$fullScreen", + "moreInfo": "$moreInfo", + "open": "$open", + "share": "$share" + } + }, + "genericDialogue": { + "content": { + "emptyValue": "$emptyValue", + "invalidNumber": "$invalidNumber", + "noMatches": "$noMatches", + "ok": "$ok", + "pageNotFound": "$pageNotFound", + "refresh": "$refresh" + } + }, + "headerPanel": { + "options": { + "localeToggleEnabled": false, + "settingsButtonEnabled": true + }, + "content": { + "settings": "$settings" + } + }, + "helpDialogue": { + "content": { + "text": "$placeholder_text", + "title": "$help" + } + }, + "moreInfoRightPanel": { + "options": { + "canvasDisplayOrder": "", + "canvasExclude": "", + "copyToClipboardEnabled": false, + "manifestDisplayOrder": "", + "manifestExclude": "", + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": false, + "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", + "showAllLanguages": false, + "textLimit": 4, + "textLimitType": "lines", + "limitToRange": false + }, + "content": { + "attribution": "$attribution", + "collapse": "collapseInformation", + "collapseFull": "$collapseGallery", + "description": "$description", + "expand": "$expandInformation", + "expandFull": "$expandGallery", + "holdingText": "$moduleGoesHere", + "less": "$less", + "license": "$license", + "logo": "$logo", + "more": "$more", + "noData": "$noDataToDispla", + "page": "$page", + "title": "$moreInformation", + "manifestHeader": "$aboutTheItem", + "canvasHeader": "$aboutTheImage", + "copyToClipboard": "$copyToClipboard", + "copiedToClipboard": "$copiedToClipboard" + } + }, + "avCenterPanel": { + "options": { + "autoPlay": false, + "includeParentInTitleEnabled": false, + "posterImageRatio": 0.3, + "subtitleMetadataField": "contributor", + "titleEnabled": true, + "subtitleEnabled": true + }, + "content": { + "attribution": "$attribution", + "currentTime": "$currentTime", + "delimiter": " - ", + "duration": "$duration", + "mute": "$mute", + "next": "$next", + "pause": "$pause", + "play": "$play", + "previous": "$previous" + } + }, + "settingsDialogue": { + "content": { + "locale": "$locale", + "navigatorEnabled": "$navigatorEnabled", + "clickToZoomEnabled": "$clickToZoomEnabled", + "pagingEnabled": "$twoPageView", + "reducedMotion": "$reducedMotion", + "preserveViewport": "$preserveViewport", + "title": "$settings", + "website": "$uvWebsite" + } + }, + "shareDialogue": { + "options": { + "embedTemplate": "", + "instructionsEnabled": false, + "shareFrameEnabled": true + }, + "content": { + "customSize": "$custom", + "embed": "$embed", + "embedInstructions": "$embedInstructions", + "height": "$height", + "iiif": "$iiifManifest", + "share": "$share", + "shareInstructions": "$shareInstructions", + "size": "$size", + "width": "$width" + } + }, + "authDialogue": { + "content": { + "cancel": "$cancel", + "confirm": "$confirm" + } + }, + "clickThroughDialogue": { + "content": { + "viewTerms": "$viewTerms" + } + }, + "downloadDialogue": { + "content": { + "currentViewAsJpg": "$currentViewAsJpg", + "currentViewAsJpgExplanation": "$openNewWindow", + "download": "$download", + "downloadSelection": "$downloadSelection", + "downloadSelectionExplanation": "$downloadSelectionExplanation", + "editSettings": "$editSettings", + "entireDocument": "$entireDocument", + "entireFileAsOriginal": "$entireFile", + "entireFileAsOriginalWithFormat": "$entireFileX", + "noneAvailable": "$noDownloadOptionsAvailable", + "pagingNote": "$pagingNote", + "preview": "$preview", + "title": "$download", + "wholeImageHighRes": "$wholeImageHighRes", + "wholeImageHighResExplanation": "$wholeImageHighResExplanation", + "wholeImagesHighRes": "$wholeImagesHighRes", + "wholeImagesHighResExplanation": "$wholeImagesHighResExplanation", + "wholeImageLowResAsJpg": "$wholeImageLowResAsJpg", + "wholeImageLowResAsJpgExplanation": "$wholeImageLowResAsJpgExplanation" + } + }, + "loginDialogue": { + "content": { + "login": "$login", + "logout": "$logout", + "cancel": "$cancel" + } + }, + "restrictedDialogue": { + "content": { + "cancel": "$cancel" + } + } + }, + "localisation": { + "label": "English (GB)", + "locales": [ + { + "name": "cy-GB", + "label": "Cymraeg" + }, + { + "name": "en-GB", + "label": "English (GB)" + }, + { + "name": "fr-FR", + "label": "Français (FR)" + }, + { + "name": "pl-PL", + "label": "Polski" + }, + { + "name": "sv-SE", + "label": "Svenska" + } + ] + }, + "content": { + "authCORSError": "$authCORSError", + "authorisationFailedMessage": "$authorisationFailedMessage", + "canvasIndexOutOfRange": "$canvasIndexOutOfRange", + "fallbackDegradedLabel": "$fallbackDegradedLabel", + "fallbackDegradedMessage": "$fallbackDegradedMessage", + "forbiddenResourceMessage": "$forbiddenResourceMessage", + "termsOfUse": "$termsOfUse", + "mediaViewer": "$mediaViewer", + "skipToDownload": "$skipToDownload" + } +} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/cy-GB.json b/src/content-handlers/iiif/extensions/uv-av-extension/config/cy-GB.json deleted file mode 100644 index 789b68251..000000000 --- a/src/content-handlers/iiif/extensions/uv-av-extension/config/cy-GB.json +++ /dev/null @@ -1,320 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": true, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": false, - "branchNodesSelectable": true, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Lleihau'r Cynnwys", - "collapseFull": "Lleihau'r Galeri", - "date": "Dyddiad", - "expand": "Ehangu'r Cynnwys", - "expandFull": "Ehangu'r Galeri", - "index": "Mynegai", - "searchResult": "{0} canlyniad chwilio", - "searchResults": "{0} canlyniad chwilio", - "sortBy": "Trefnu yn ôl:", - "thumbnails": "Bodluniau", - "title": "Cynnwys", - "volume": "cyfrol" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Cau" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ychwanegu at nodau tudalen", - "download": "Lawrlwytho", - "embed": "Ymgorffori", - "exitFullScreen": "Dianc o'r sgrin lawn", - "feedback": "Adborth", - "fullScreen": "Sgrin lawn", - "moreInfo": "Mwy o Wybodaeth", - "open": "Agor", - "share": "Rhannu" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "rhowch rif", - "invalidNumber": "Rhowch rif dilys", - "noMatches": "Dim canlyniad sy'n cyfateb.", - "ok": "GWELD", - "pageNotFound": "Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.", - "refresh": "Ailosod" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - }, - "content": { - "settings": "Dewisiadau" - } - }, - "helpDialogue": { - "content": { - "text": "testun i'w osod", - "title": "Cymorth" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Priodoledd", - "collapse": "Lleihau'r Wybodaeth", - "collapseFull": "Cuddio'r Galeri", - "description": "Disgrifiad", - "expand": "Ehangu'r Wybodaeth", - "expandFull": "Ehangu'r Galeri", - "holdingText": "Eich modiwl fan hyn!", - "less": "llai", - "license": "Trwydded", - "logo": "Logo", - "more": "mwy", - "noData": "Nid oes data i'w arddangos", - "page": "Tudalen", - "title": "Mwy o Wybodaeth", - "manifestHeader": "Am yr eitem", - "canvasHeader": "Am y ddelwedd", - "copyToClipboard": "Copïo i'r clipfwrdd", - "copiedToClipboard": "Copïwyd i'r clipfwrdd" - } - }, - "avCenterPanel": { - "options": { - "autoPlay": false, - "includeParentInTitleEnabled": false, - "posterImageRatio": 0.3, - "subtitleMetadataField": "contributor", - "titleEnabled": true, - "subtitleEnabled": true - }, - "content": { - "attribution": "Priodoledd", - "currentTime": "Amser Presennol", - "delimiter": " - ", - "duration": "Hyd", - "mute": "Mudo", - "next": "Nesaf", - "pause": "Seibiant", - "play": "Chwarae", - "previous": "Blaenorol" - } - }, - "settingsDialogue": { - "content": { - "locale": "Iaith", - "navigatorEnabled": "Ffenest llywio ar gael", - "clickToZoomEnabled": "Cliciwch gyda'r llygoden i glosio", - "pagingEnabled": "Arddangos dwy dudalen", - "reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", - "preserveViewport": "Cadw'r lefel o glosio", - "title": "Dewisiadau", - "website": "mwy o wybodaeth" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "dewisol", - "embed": "Ymgorffori", - "embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.", - "height": "Hyd", - "iiif": "Maniffest IIIF", - "share": "Rhannu", - "shareInstructions": "Er mwyn rhannu'r eitem hon, copïwch y URL isod.", - "size": "Maint:", - "width": "Lled" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Darllenwch y Telerau a'r Amodau Llawn" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Delwedd ddethol {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Agor mewn dwy ffenest newydd.", - "download": "Lawrlwytho", - "downloadSelection": "Lawrlwytho'r detholiad", - "downloadSelectionExplanation": "Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.", - "editSettings": "Golygu'r dewisiadau", - "entireDocument": "Y Ddogfen Gyfan ({0})", - "entireFileAsOriginal": "Y ffeil gyfan", - "entireFileAsOriginalWithFormat": "Y ffeil gyfan ({0})", - "noneAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", - "pagingNote": "Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.", - "preview": "Rhagolwg", - "title": "Lawrlwytho", - "wholeImageHighRes": "Delwedd gyfan {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Agor mewn ffenest newydd", - "wholeImagesHighRes": "Delweddau cyfan ({0})", - "wholeImagesHighResExplanation": "Agor mewn dwy ffenest newydd.", - "wholeImageLowResAsJpg": "Delwedd gyfan {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Agor mewn ffenest newydd" - } - }, - "loginDialogue": { - "content": { - "login": "Mewngofnodi", - "logout": "Allgofnodi", - "cancel": "Canslo" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Cylchdroi i'r dde", - "moreInfo": "Mwy o Wybodaeth", - "zoomIn": "Closio", - "zoomOut": "Gwrthglosio" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Canslo" - } - } - }, - "localisation": { - "label": "Cymraeg", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.", - "authorisationFailedMessage": "Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.", - "canvasIndexOutOfRange": "Canfas yn rhy fawr i'w arddangos (ceisiwch eto)", - "forbiddenResourceMessage": "Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon", - "termsOfUse": "Telerau Defnydd" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/en-GB.json b/src/content-handlers/iiif/extensions/uv-av-extension/config/en-GB.json deleted file mode 100644 index a60ae6db3..000000000 --- a/src/content-handlers/iiif/extensions/uv-av-extension/config/en-GB.json +++ /dev/null @@ -1,323 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": true, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": false, - "branchNodesSelectable": true, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Collapse Contents", - "collapseFull": "Collapse Gallery", - "date": "date", - "expand": "Expand Contents", - "expandFull": "Expand Gallery", - "index": "Index", - "manifestRanges": "Manifest Ranges", - "searchResult": "{0} search result", - "searchResults": "{0} search results", - "sortBy": "Sort By:", - "thumbnails": "Thumbnails", - "title": "Contents", - "volume": "volume" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Close" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Add to bookmarks", - "download": "Download", - "embed": "Embed", - "exitFullScreen": "Exit Full Screen", - "feedback": "Feedback", - "fullScreen": "Full Screen", - "moreInfo": "More Information", - "open": "Open", - "share": "Share" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "please enter a value.", - "invalidNumber": "Please enter a valid number.", - "noMatches": "No matches were found.", - "ok": "OK", - "pageNotFound": "This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.", - "refresh": "Refresh" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - }, - "content": { - "settings": "Settings" - } - }, - "helpDialogue": { - "content": { - "text": "placeholder text", - "title": "Help" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Attribution", - "collapse": "Collapse Information", - "collapseFull": "Collapse Gallery", - "description": "Description", - "expand": "Expand Information", - "expandFull": "Expand Gallery", - "holdingText": "Your module goes here!", - "less": "less", - "license": "License", - "logo": "Logo", - "more": "more", - "noData": "No data to display", - "page": "Page", - "title": "More Information", - "manifestHeader": "About the item", - "canvasHeader": "About the image", - "copyToClipboard": "Copy to clipboard", - "copiedToClipboard": "Copied to clipboard" - } - }, - "avCenterPanel": { - "options": { - "autoPlay": false, - "includeParentInTitleEnabled": false, - "posterImageRatio": 0.3, - "subtitleMetadataField": "contributor", - "titleEnabled": true, - "subtitleEnabled": true - }, - "content": { - "attribution": "Attribution", - "currentTime": "Current Time", - "delimiter": " - ", - "duration": "Duration", - "mute": "Mute", - "next": "Next", - "pause": "Pause", - "play": "Play", - "previous": "Previous" - } - }, - "settingsDialogue": { - "content": { - "locale": "Locale", - "navigatorEnabled": "Navigator Enabled", - "clickToZoomEnabled": "Mouse Click To Zoom", - "pagingEnabled": "Two Page View", - "reducedMotion": "Reduce motion (disables animations)", - "preserveViewport": "Preserve Zoom", - "title": "Settings", - "website": "more info" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "custom", - "embed": "Embed", - "embedInstructions": "To embed this item in your own website, copy and paste the code below.", - "height": "Height", - "iiif": "IIIF Manifest", - "share": "Share", - "shareInstructions": "To share this item, copy the URL below.", - "size": "Size:", - "width": "Width" - } - }, - "authDialogue": { - "content": { - "cancel": "Cancel", - "confirm": "Confirm" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Read Full Terms and Conditions" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Current view {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Opens in a new window", - "download": "Download", - "downloadSelection": "Download Selection", - "downloadSelectionExplanation": "Opens a dialogue to select which pages to download.", - "editSettings": "Edit Settings", - "entireDocument": "Entire document ({0})", - "entireFileAsOriginal": "Entire file", - "entireFileAsOriginalWithFormat": "Entire file ({0})", - "noneAvailable": "No download options are available.", - "pagingNote": "Please turn off Two Page View for additional options.", - "preview": "Preview", - "title": "Download", - "wholeImageHighRes": "Whole image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Opens in a new window.", - "wholeImagesHighRes": "Whole images ({0})", - "wholeImagesHighResExplanation": "Opens in two new windows.", - "wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Opens in a new window." - } - }, - "loginDialogue": { - "content": { - "login": "Login", - "logout": "Logout", - "cancel": "Cancel" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Cancel" - } - } - }, - "localisation": { - "label": "English (GB)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Your browser does not support CORS, please upgrade to view this content.", - "authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", - "canvasIndexOutOfRange": "Canvas index out of range.", - "fallbackDegradedLabel": "Login", - "fallbackDegradedMessage": "Please log in to view this content at full resolution.", - "forbiddenResourceMessage": "Your current access rights are insufficient to view this image", - "termsOfUse": "Terms of Use", - "mediaViewer": "Media Viewer", - "skipToDownload": "Skip to downloads and alternative formats" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/fr-FR.json b/src/content-handlers/iiif/extensions/uv-av-extension/config/fr-FR.json deleted file mode 100644 index f720079fb..000000000 --- a/src/content-handlers/iiif/extensions/uv-av-extension/config/fr-FR.json +++ /dev/null @@ -1,383 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": true, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": false, - "branchNodesSelectable": true, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Masquer les contenus", - "collapseFull": "Masquer la galerie", - "date": "date", - "expand": "Afficher les contenus", - "expandFull": "Afficher la galerie", - "index": "Index", - "manifestRanges": "Manifestes", - "searchResult": "{0} résultats", - "searchResults": "{0} résultats", - "sortBy": "Trier par :", - "thumbnails": "Vignettes", - "title": "Contenus", - "volume": "volume" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Fermer" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ajouter aux favoris", - "download": "Télécharger", - "embed": "Intégrer", - "exitFullScreen": "Quitter le mode plein écran", - "feedback": "Commentaire", - "fullScreen": "Affichage en plein écran", - "moreInfo": "Informations", - "open": "Ouvrir", - "share": "Partager" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "veuillez saisir une valeur.", - "invalidNumber": "Veuillez saisir un nombre valide.", - "noMatches": "Aucune correspondance n'a été trouvée.", - "ok": "OK", - "pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", - "refresh": "Rafraîchir" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "texte d'exemple", - "title": "Aide" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Attribution", - "collapse": "Masquer les informations", - "collapseFull": "Masquer la galerie", - "description": "Description", - "expand": "Afficher les informations", - "expandFull": "Afficher la galerie", - "holdingText": "Votre module vient ici !", - "less": "moins", - "license": "Licence", - "logo": "Logo", - "more": "suite", - "noData": "Aucune donnée à afficher", - "page": "Page", - "title": "Informations", - "manifestHeader": "A propos du contenu", - "canvasHeader": "A propos de l'image", - "copyToClipboard": "Copier dans le presse-papiers", - "copiedToClipboard": "Copié dans le presse-papiers" - } - }, - "avCenterPanel": { - "options": { - "autoPlay": false, - "includeParentInTitleEnabled": false, - "posterImageRatio": 0.3, - "subtitleMetadataField": "contributor", - "titleEnabled": true, - "subtitleEnabled": true - } - }, - "settingsDialogue": { - "content": { - "locale": "Langues", - "navigatorEnabled": "Navigateur activé", - "clickToZoomEnabled": "Cliquer pour zoomer", - "pagingEnabled": "Affichage double page", - "reducedMotion": "Réduire le mouvement (désactive les animations)", - "preserveViewport": "Conserver le zoom", - "title": "Paramètres", - "website": "informations" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "personnalisée", - "embed": "Intégrer", - "embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", - "height": "Hauteur", - "iiif": "Manifeste IIIF", - "share": "Partager", - "shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", - "size": "Taille :", - "width": "Largeur" - } - }, - "authDialogue": { - "content": { - "cancel": "Annuler", - "confirm": "Confirmer" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Lire les termes et les conditions d'utilisation" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Ouvre une nouvelle fenêtre", - "download": "Télécharger", - "downloadSelection": "Télécharger la sélection", - "downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", - "editSettings": "Modifier les paramètres", - "entireDocument": "Document entier ({0})", - "entireFileAsOriginal": "Fichier complet", - "entireFileAsOriginalWithFormat": "Fichier complet ({0})", - "noneAvailable": "Aucune option de téléchargement n'est disponible.", - "pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", - "preview": "Aperçu", - "title": "Télécharger", - "wholeImageHighRes": "Image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImagesHighRes": "Images ({0})", - "wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", - "wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre." - } - }, - "loginDialogue": { - "content": { - "login": "Connexion", - "logout": "Déconnexion", - "cancel": "Annuler" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Pivoter à droite", - "moreInfo": "Informations", - "zoomIn": "Zoom avant", - "zoomOut": "Zoom arrière" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Télécharger", - "selectAll": "Tout sélectionner", - "title": "Sélectionner les pages à télécharger" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Fermer", - "emptyValue": "Veuillez saisir une valeur", - "first": "Premier", - "firstImage": "Première image", - "firstPage": "Première page", - "folio": "Folio", - "gallery": "Gallerie", - "go": "Aller", - "help": "Aide", - "image": "Image", - "last": "Dernier", - "lastImage": "Dernière image", - "lastPage": "Dernière page", - "next": "Suivant", - "nextImage": "Prochaine image", - "nextPage": "Page suivante", - "of": "de {0}", - "oneUp": "Affichage en mode page simple", - "page": "Page", - "pageSearchLabel": "Recherche par numéro de page.", - "previous": "Précédent", - "previousImage": "Image précédente", - "previousPage": "Page précédente", - "settings": "Paramètres", - "twoUp": "Affichage double page" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Attribution", - "goHome": "Retour", - "imageUnavailable": "Image non disponible", - "next": "Prochain", - "previous": "Précédent", - "rotateRight": "Pivoter à droite", - "zoomIn": "Zoomer", - "zoomOut": "Dézoomer" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Annuler" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Effacer", - "defaultLabel": "-", - "displaying": "{0} {1} de {2}", - "enterKeyword": "Saisir un mot", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance de '{0}' trouvée", - "instancesFound": "{0} instances de '{1}' trouvées", - "nextResult": "Résultat suivant", - "page": "page", - "pageCaps": "Page", - "previousResult": "Résultat précédent", - "print": "Imprimer", - "resultFoundFor": "résultat trouvé pour ", - "resultsFoundFor": "résultats trouvés pour", - "searchWithin": "Chercher dans ce document :" - } - } - }, - "localisation": { - "label": "Français (FR)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", - "authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", - "canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", - "fallbackDegradedLabel": "Connexion", - "fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", - "forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", - "termsOfUse": "Conditions d'utilisation" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/pl-PL.json b/src/content-handlers/iiif/extensions/uv-av-extension/config/pl-PL.json deleted file mode 100644 index 3257e6798..000000000 --- a/src/content-handlers/iiif/extensions/uv-av-extension/config/pl-PL.json +++ /dev/null @@ -1,321 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": true, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": false, - "branchNodesSelectable": true, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Zwiń zawartość", - "collapseFull": "Zwiń galerię", - "date": "data", - "expand": "Rozwiń zawartość", - "expandFull": "Rozwiń galerię", - "index": "Indeks", - "manifestRanges": "Zakresy manifestu", - "searchResult": "Liczba wyników: {0}", - "searchResults": "Liczba wyników: {0}", - "sortBy": "Sortuj wg:", - "thumbnails": "Miniatury", - "title": "Zawartość", - "volume": "tom" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Zamknij" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Dodaj do zakładek", - "download": "Pobierz", - "embed": "Osadź", - "exitFullScreen": "Zamknij pełny ekran", - "feedback": "Feedback", - "fullScreen": "Pełny ekran", - "moreInfo": "Więcej informacji", - "open": "Otwórz", - "share": "Udostępnij" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "proszę wprowadzić wartość.", - "invalidNumber": "Proszę wprowadzić poprawny numer.", - "noMatches": "Nie znaleziono dopasowań.", - "ok": "OK", - "pageNotFound": "Ten obiekt nie zawiera strony z wprowadzonym numerem. Spróbuj przełączyć tryb numeracji na 'obraz'.", - "refresh": "Odśwież" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - }, - "content": { - "settings": "Ustawienia" - } - }, - "helpDialogue": { - "content": { - "text": "tekst zastępczy", - "title": "Pomoc" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Źródło", - "collapse": "Zwiń informacje", - "collapseFull": "Zwiń galerię", - "description": "Opis", - "expand": "Rozwiń informacje", - "expandFull": "Rozwiń galerię", - "holdingText": "Miejsce na twój moduł!", - "less": "mniej", - "license": "Licencja", - "logo": "Logo", - "more": "więcej", - "noData": "Brak danych do wyświetlenia", - "page": "Strona", - "title": "Więcej informacji", - "manifestHeader": "O obiekcie", - "canvasHeader": "O obrazie", - "copyToClipboard": "Skopiuj do schowka", - "copiedToClipboard": "Skopiowano do schowka" - } - }, - "avCenterPanel": { - "options": { - "autoPlay": false, - "includeParentInTitleEnabled": false, - "posterImageRatio": 0.3, - "subtitleMetadataField": "contributor", - "titleEnabled": true, - "subtitleEnabled": true - }, - "content": { - "attribution": "Źródło", - "currentTime": "Obecny czas", - "delimiter": " - ", - "duration": "Czas trwania", - "mute": "Wycisz", - "next": "Następny", - "pause": "Pauza", - "play": "Odtwarzaj", - "previous": "Poprzedni" - } - }, - "settingsDialogue": { - "content": { - "locale": "Język", - "navigatorEnabled": "Włączona nawigacja", - "clickToZoomEnabled": "Przybliżenie przez kliknięcie myszą", - "pagingEnabled": "Widok dwóch stron", - "reducedMotion": "Zmniejsz ruch (wyłącza animacje)", - "preserveViewport": "Zachowanie przybliżenia", - "title": "Ustawienia", - "website": "więcej informacji" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "niestandardowy", - "embed": "Osadź", - "embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "height": "Wysokość", - "iiif": "Manifest IIIF", - "share": "Udostępnij", - "shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", - "size": "Rozmiar:", - "width": "Szerokość" - } - }, - "authDialogue": { - "content": { - "cancel": "Anuluj", - "confirm": "Potwierdź" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Przeczytaj pełny Regulamin" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktualny widok {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Otwiera się w nowym oknie", - "download": "Pobierz", - "downloadSelection": "Pobierz wybrane strony", - "downloadSelectionExplanation": "Otwiera okno wyboru stron do pobrania.", - "editSettings": "Edytuj ustawienia", - "entireDocument": "Cały dokument ({0})", - "entireFileAsOriginal": "Cały plik", - "entireFileAsOriginalWithFormat": "Cały plik ({0})", - "noneAvailable": "Brak dostępnych opcji pobierania.", - "pagingNote": "Wyłącz widok dwóch stron, aby uzyskać dodatkowe opcje.", - "preview": "Podgląd", - "title": "Pobieranie", - "wholeImageHighRes": "Pełny obraz {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Otwiera się w nowym oknie.", - "wholeImagesHighRes": "Pełne obrazy ({0})", - "wholeImagesHighResExplanation": "Otwiera się w dwóch nowych oknach.", - "wholeImageLowResAsJpg": "Pełny obraz {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Otwiera się w nowym oknie." - } - }, - "loginDialogue": { - "content": { - "login": "Zaloguj się", - "logout": "Wyloguj", - "cancel": "Anuluj" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Anuluj" - } - } - }, - "localisation": { - "label": "Polski", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", - "authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", - "canvasIndexOutOfRange": "Numer kanwy poza zakresem.", - "fallbackDegradedLabel": "Zaloguj się", - "fallbackDegradedMessage": "Zaloguj się, aby zobaczyć tę treść w pełnej rozdzielczości.", - "forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz", - "termsOfUse": "Warunki korzystania" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-av-extension/config/sv-SE.json b/src/content-handlers/iiif/extensions/uv-av-extension/config/sv-SE.json deleted file mode 100644 index 9b0d4f8af..000000000 --- a/src/content-handlers/iiif/extensions/uv-av-extension/config/sv-SE.json +++ /dev/null @@ -1,382 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": true, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": false, - "branchNodesSelectable": true, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Fäll ihop innehåll", - "collapseFull": "Fäll ihop galleri", - "date": "datum", - "expand": "Expandera innehåll", - "expandFull": "Expandera galleri", - "index": "Index", - "manifestRanges": "Manifest-omfång", - "searchResult": "{0} sökträffar", - "searchResults": "{0} sökträffar", - "sortBy": "Sortera efter:", - "thumbnails": "Småbilder", - "title": "Innehåll", - "volume": "volym" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Stäng" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Lägg till bokmärke", - "download": "Ladda ner", - "embed": "Bädda in", - "exitFullScreen": "Avsluta helskärm", - "feedback": "Feedback", - "fullScreen": "Helskärm", - "moreInfo": "Mer information", - "open": "Öppna", - "share": "Dela" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "ange ett värde.", - "invalidNumber": "Ange ett giltigt nummer.", - "noMatches": "Inga träffar hittades.", - "ok": "OK", - "pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", - "refresh": "Uppdatera" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "platshållartext", - "title": "Hjälp" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Upphov", - "collapse": "Fäll ihop information", - "collapseFull": "Fäll ihop galleri", - "description": "Beskrivning", - "expand": "Expandera information", - "expandFull": "Expandera galleri", - "holdingText": "Plats för din modul!", - "less": "mindre", - "license": "Licensvillkor", - "logo": "Logotyp", - "more": "mer", - "noData": "Ingen information att visa", - "page": "Sida", - "title": "Mer information", - "manifestHeader": "Om objektet", - "canvasHeader": "Om bilden", - "copyToClipboard": "Kopiera till urklipp", - "copiedToClipboard": "Kopierade till urklipp" - } - }, - "avCenterPanel": { - "options": { - "autoPlay": false, - "includeParentInTitleEnabled": false, - "posterImageRatio": 0.3, - "subtitleMetadataField": "contributor", - "titleEnabled": true, - "subtitleEnabled": true - }, - "content": { - "attribution": "Upphov", - "currentTime": "Aktuell tid", - "delimiter": " - ", - "duration": "Speltid", - "mute": "Tyst", - "next": "Nästa", - "pause": "Paus", - "play": "Spela", - "previous": "Föregående" - } - }, - "settingsDialogue": { - "content": { - "locale": "Språk", - "navigatorEnabled": "Visa minivy", - "clickToZoomEnabled": "Zooma med musklick", - "pagingEnabled": "Dubbelsidig vy", - "reducedMotion": "Minska rörelse (inaktiverar animationer)", - "preserveViewport": "Behåll zoomnivå", - "title": "Inställningar", - "website": "mer info" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "Anpassad", - "embed": "Bädda in", - "embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", - "height": "Höjd", - "iiif": "IIIF Manifest", - "share": "Dela", - "shareInstructions": "Kopiera länken nedan för att dela det här objektet.", - "size": "Storlek:", - "width": "Bredd" - } - }, - "authDialogue": { - "content": { - "cancel": "Avbryt", - "confirm": "Bekräfta" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Läs fullständiga villkor" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Öppnas i nytt fönster", - "download": "Ladda ner", - "downloadSelection": "Ladda ner valt område", - "downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", - "editSettings": "Ändra inställningar", - "entireDocument": "Hela dokumentet ({0})", - "entireFileAsOriginal": "Hela filen", - "entireFileAsOriginalWithFormat": "Hela filen ({0})", - "noneAvailable": "Inga nedladdningsalternativ är tillgängliga.", - "pagingNote": "Stäng dubbelsidig vy för fler alternativ", - "preview": "Förhandsgranska", - "title": "Ladda ner", - "wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Öppnas i nytt fönster.", - "wholeImagesHighRes": "Hela bilder ({0})", - "wholeImagesHighResExplanation": "Öppnas i två nya fönster.", - "wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster." - } - }, - "loginDialogue": { - "content": { - "login": "Logga in", - "logout": "Logga ut", - "cancel": "Avbryt" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotera höger", - "moreInfo": "Mer information", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Ladda ner", - "selectAll": "Markera alla", - "title": "Välj sidor att ladda ner" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Stäng", - "emptyValue": "Ange ett värde", - "first": "Första", - "firstImage": "Första bild", - "firstPage": "Första sidan", - "folio": "Folio", - "gallery": "Galleri", - "go": "Gå", - "help": "Hjälp", - "image": "Bild", - "last": "Sista", - "lastImage": "Sista bilden", - "lastPage": "Sista sidan", - "next": "Nästa", - "nextImage": "Nästa bild", - "nextPage": "Nästa sida", - "of": "av {0}", - "oneUp": "Enkelsidig vy", - "page": "Sida", - "pageSearchLabel": "Sök med sidnummer", - "previous": "Föregående", - "previousImage": "Föregående bild", - "previousPage": "Föregående sida", - "settings": "Inställningar", - "twoUp": "Dubbelsidig vy" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Avbryt" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Rensa sökning", - "defaultLabel": "-", - "displaying": "{0} {1} av {2}", - "enterKeyword": "Ange sökord", - "image": "bild", - "imageCaps": "Bild", - "instanceFound": "1 instans av '{0}' hittades", - "instancesFound": "{0} instanser av '{1}' hittades", - "nextResult": "Nästa träff", - "page": "sida", - "pageCaps": "Sida", - "previousResult": "Föregående träff", - "print": "Skriv ut", - "resultFoundFor": "träff hittades för", - "resultsFoundFor": "träffar hittades för", - "searchWithin": "Sök inom detta objekt:" - } - } - }, - "localisation": { - "label": "Svenska", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", - "authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", - "canvasIndexOutOfRange": "Canvas-index ogiltigt.", - "fallbackDegradedLabel": "Logga in", - "fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", - "forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", - "termsOfUse": "Användningsvillkor" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/Extension.ts b/src/content-handlers/iiif/extensions/uv-default-extension/Extension.ts index 6d257e414..6d1746c4a 100644 --- a/src/content-handlers/iiif/extensions/uv-default-extension/Extension.ts +++ b/src/content-handlers/iiif/extensions/uv-default-extension/Extension.ts @@ -11,7 +11,7 @@ import { SettingsDialogue } from "./SettingsDialogue"; import { ShareDialogue } from "./ShareDialogue"; import { Bools, Strings } from "@edsilv/utils"; import "./theme/theme.less"; -import defaultConfig from "./config/en-GB.json"; +import defaultConfig from "./config/config.json"; export default class Extension extends BaseExtension implements IDefaultExtension { @@ -29,11 +29,7 @@ export default class Extension extends BaseExtension settingsDialogue: SettingsDialogue; defaultConfig: any = defaultConfig; locales = { - "en-GB": defaultConfig, - "cy-GB": () => import("./config/cy-GB.json"), - "fr-FR": () => import("./config/fr-FR.json"), - "pl-PL": () => import("./config/pl-PL.json"), - "sv-SE": () => import("./config/sv-SE.json"), + "en-GB": defaultConfig }; create(): void { diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-default-extension/config/config.json new file mode 100644 index 000000000..9ee1c9e35 --- /dev/null +++ b/src/content-handlers/iiif/extensions/uv-default-extension/config/config.json @@ -0,0 +1,187 @@ +{ + "options": { + "authAPIVersion": 1, + "bookmarkThumbHeight": 150, + "bookmarkThumbWidth": 90, + "dropEnabled": true, + "footerPanelEnabled": true, + "headerPanelEnabled": true, + "leftPanelEnabled": true, + "limitLocales": false, + "openTemplate": "http://universalviewer.io?manifest={0}", + "pessimisticAccessControl": false, + "rightPanelEnabled": true, + "theme": "uv-en-GB-theme" + }, + "modules": { + "shareDialogue": { + "options": { + "embedTemplate": "" + }, + "content": { + "customSize": "$custom", + "embed": "$embed", + "embedInstructions": "$embedInstruction", + "height": "$height", + "iiif": "$iiifManifest", + "share": "$share", + "shareInstructions": "$shareInstructions", + "size": "$size", + "width": "$width" + } + }, + "fileLinkCenterPanel": { + "content": {} + }, + "footerPanel": { + "options": { + "bookmarkEnabled": false, + "downloadEnabled": false, + "embedEnabled": false, + "feedbackEnabled": false, + "minimiseButtons": true, + "openEnabled": false, + "shareEnabled": true + }, + "content": { + "bookmark": "$add_to_bookmarks", + "download": "$download", + "embed": "$share", + "exitFullScreen": "$exitFullScreen", + "fullScreen": "$fullScreen", + "moreInfo": "$moreInfo", + "open": "$oOpen" + } + }, + "genericDialogue": { + "content": { + "ok": "$ok" + } + }, + "headerPanel": { + "content": { + "close": "$close", + "help": "$help" + } + }, + "helpDialogue": { + "content": { + "text": "$placeholder_text", + "title": "$help" + } + }, + "moreInfoRightPanel": { + "options": { + "canvasDisplayOrder": "", + "canvasExclude": "", + "copyToClipboardEnabled": false, + "manifestDisplayOrder": "", + "manifestExclude": "", + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": false, + "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", + "showAllLanguages": false, + "textLimit": 4, + "textLimitType": "lines" + }, + "content": { + "attribution": "$attribution", + "collapse": "$collapseInformation", + "collapseFull": "$collapseGaller", + "description": "$description", + "expand": "$expandInformation", + "expandFull": "$expandGallery", + "holdingText": "$moduleGoesHere", + "less": "$less", + "license": "$license", + "logo": "$logo", + "more": "$more", + "noData": "$noDataToDisplay", + "page": "$page", + "title": "$moreInformation", + "manifestHeader": "$aboutTheItem", + "canvasHeader": "$aboutTheImage", + "copyToClipboard": "$copyToClipboard", + "copiedToClipboard": "$copiedToClipboard" + } + }, + "resourcesLeftPanel": { + "options": { + "expandFullEnabled": false, + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": true + }, + "content": { + "title": "$contents" + } + }, + "dialogue": { + "content": { + "close": "$close" + } + }, + "downloadDialogue": { + "content": { + "download": "$download", + "entireFileAsOriginal": "$entireFile", + "noneAvailable": "$noDownloadOptionsAvailable", + "preview": "preview", + "title": "$download" + } + }, + "loginDialogue": { + "content": { + "login": "$login", + "cancel": "$cancel" + } + }, + "settingsDialogue": { + "content": { + "locale": "$locale", + "pagingEnabled": "$twoPageView", + "preserveViewport": "$preserveViewport", + "reducedMotion": "$reducedMotion", + "title": "$settings", + "website": "$uvWebsite" + } + } + }, + "localisation": { + "label": "English (GB)", + "locales": [ + { + "name": "cy-GB", + "label": "Cymraeg" + }, + { + "name": "en-GB", + "label": "English (GB)" + }, + { + "name": "fr-FR", + "label": "Français (FR)" + }, + { + "name": "pl-PL", + "label": "Polski" + }, + { + "name": "sv-SE", + "label": "Svenska" + } + ] + }, + "content": { + "authCORSError": "$authCORSError", + "authorisationFailedMessage": "$authorisationFailedMessage", + "degradedResourceMessage": "$pleaseLogInToViewAtFullQuality", + "degradedResourceLogin": "$log_in", + "forbiddenResourceMessage": "$forbiddenResourceMessage", + "mediaViewer": "$mediaViewer", + "skipToDownload": "$skipToDownload" + } +} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/cy-GB.json b/src/content-handlers/iiif/extensions/uv-default-extension/config/cy-GB.json deleted file mode 100644 index 41f6be9d7..000000000 --- a/src/content-handlers/iiif/extensions/uv-default-extension/config/cy-GB.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "arfer", - "embed": "gwreiddio", - "embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, cop�wch a gosodwch y cod isod.", - "height": "Hyd", - "iiif": "IIIF Manifest", - "share": "Rhannu", - "shareInstructions": "I rannu yr eitem hon, copïwch y URL isod.", - "size": "maint:", - "width": "Lled" - } - }, - "fileLinkCenterPanel": { - "content": {} - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ychwanegu at nodau tudalen", - "download": "Lawrlwytho", - "embed": "Ymgorffori", - "exitFullScreen": "Dianc o'r sgrin lawn", - "fullScreen": "Sgrin lawn", - "moreInfo": "Mwy o Wybodaeth", - "open": "agored" - } - }, - "genericDialogue": { - "content": { - "ok": "GWELD" - } - }, - "headerPanel": { - "content": { - "close": "Cau", - "help": "Cymorth" - } - }, - "helpDialogue": { - "content": { - "text": "testun i'w osod", - "title": "Cymorth" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Priodoledd", - "collapse": "Lleihau'r Wybodaeth", - "collapseFull": "Cuddio'r Galeri", - "description": "Disgrifiad", - "expand": "Ehangu'r Wybodaeth", - "expandFull": "Ehangu'r Galeri", - "holdingText": "Eich modiwl fan hyn!", - "less": "llai", - "license": "Trwydded", - "logo": "Logo", - "more": "mwy", - "noData": "Nid oes data i'w arddangos", - "page": "tudalen", - "title": "Mwy o Wybodaeth", - "manifestHeader": "Am yr eitem", - "canvasHeader": "Am y ddelwedd", - "copyToClipboard": "Copïo i'r clipfwrdd", - "copiedToClipboard": "Copïwyd i'r clipfwrdd" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - }, - "content": { - "title": "Cynnwys" - } - }, - "dialogue": { - "content": { - "close": "Cau" - } - }, - "downloadDialogue": { - "content": { - "download": "Lawrlwytho", - "entireFileAsOriginal": "Y ffeil gyfan", - "noneAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", - "preview": "Rhagolwg", - "title": "Lawrlwytho" - } - }, - "loginDialogue": { - "content": { - "login": "Mewngofnodi", - "cancel": "Diddymu" - } - }, - "mediaelementCenterPanel": { - "content": {} - }, - "settingsDialogue": { - "content": { - "locale": "Iaith", - "pagingEnabled": "Arddangos dwy dudalen", - "reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", - "preserveViewport": "Cadw'r lefel o glosio", - "title": "Dewisiadau", - "website": "mwy o wybodaeth" - } - } - }, - "localisation": { - "label": "Cymraeg", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Eich porwr yn peidio cefnogi CORS, os gwelwch yn dda uwchraddio i weld y cynnwys hwn.", - "authorisationFailedMessage": "Nid oedd yn ymddangos eich ymgais mewngofnodi i fod yn llwyddiannus . Trio eto os gwelwch yn dda.", - "degradedResourceMessage": "Os gwelwch yn dda mewngofnodwch i weld yn ansawdd llawn.", - "degradedResourceLogin": "Mewngofnodi", - "forbiddenResourceMessage": "Eich hawliau mynediad presennol yn annigonol i weld llun hwn" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/en-GB.json b/src/content-handlers/iiif/extensions/uv-default-extension/config/en-GB.json deleted file mode 100644 index dcfbbc9ad..000000000 --- a/src/content-handlers/iiif/extensions/uv-default-extension/config/en-GB.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "custom", - "embed": "Embed", - "embedInstructions": "To embed this item in your own website, copy and paste the code below.", - "height": "Height", - "iiif": "IIIF Manifest", - "share": "Share", - "shareInstructions": "To share this item, copy the URL below.", - "size": "Size:", - "width": "Width" - } - }, - "fileLinkCenterPanel": { - "content": {} - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Add to bookmarks", - "download": "Download", - "embed": "Share", - "exitFullScreen": "Exit Full Screen", - "fullScreen": "Full Screen", - "moreInfo": "More Information", - "open": "Open" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Close", - "help": "Help" - } - }, - "helpDialogue": { - "content": { - "text": "placeholder text", - "title": "Help" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Collapse Information", - "collapseFull": "Collapse Gallery", - "description": "Description", - "expand": "Expand Information", - "expandFull": "Expand Gallery", - "holdingText": "Your module goes here!", - "less": "less", - "license": "License", - "logo": "Logo", - "more": "more", - "noData": "No data to display", - "page": "Page", - "title": "More Information", - "manifestHeader": "About the item", - "canvasHeader": "About the image", - "copyToClipboard": "Copy to clipboard", - "copiedToClipboard": "Copied to clipboard" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - }, - "content": { - "title": "Contents" - } - }, - "dialogue": { - "content": { - "close": "Close" - } - }, - "downloadDialogue": { - "content": { - "download": "Download", - "entireFileAsOriginal": "Entire file", - "noneAvailable": "No download options are available.", - "preview": "Preview", - "title": "Download" - } - }, - "loginDialogue": { - "content": { - "login": "Login", - "cancel": "Cancel" - } - }, - "settingsDialogue": { - "content": { - "locale": "Locale", - "pagingEnabled": "Two Page View", - "preserveViewport": "Preserve Zoom", - "reducedMotion": "Reduce motion (disables animations)", - "title": "Settings", - "website": "more info" - } - } - }, - "localisation": { - "label": "English (GB)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Your browser does not support CORS, please upgrade to view this content.", - "authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", - "degradedResourceMessage": "Please log in to view at full quality.", - "degradedResourceLogin": "log in", - "forbiddenResourceMessage": "Your current access rights are insufficient to view this image", - "mediaViewer": "Media Viewer", - "skipToDownload": "Skip to downloads and alternative formats" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/fr-FR.json b/src/content-handlers/iiif/extensions/uv-default-extension/config/fr-FR.json deleted file mode 100644 index d91c76428..000000000 --- a/src/content-handlers/iiif/extensions/uv-default-extension/config/fr-FR.json +++ /dev/null @@ -1,309 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "personnalisée", - "embed": "Intégrer", - "embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", - "height": "Hauteur", - "iiif": "Manifeste IIIF", - "share": "Partager", - "shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", - "size": "Taille :", - "width": "Largeur" - } - }, - "fileLinkCenterPanel": {}, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ajouter aux favoris", - "download": "Télécharger", - "embed": "Intégrer", - "exitFullScreen": "Quitter le mode plein écran", - "feedback": "Commentaire", - "fullScreen": "Affichage en plein écran", - "moreInfo": "Informations", - "open": "Ouvrir", - "share": "Partager" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "veuillez saisir une valeur.", - "invalidNumber": "Veuillez saisir un nombre valide.", - "noMatches": "Aucune correspondance n'a été trouvée.", - "ok": "OK", - "pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", - "refresh": "Rafraîchir" - } - }, - "headerPanel": {}, - "helpDialogue": { - "content": { - "text": "texte d'exemple", - "title": "Aide" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Masquer les informations", - "collapseFull": "Masquer la galerie", - "description": "Description", - "expand": "Afficher les informations", - "expandFull": "Afficher la galerie", - "holdingText": "Votre module vient ici !", - "less": "moins", - "license": "Licence", - "logo": "Logo", - "more": "suite", - "noData": "Aucune donnée à afficher", - "page": "Page", - "title": "Informations", - "manifestHeader": "A propos du contenu", - "canvasHeader": "A propos de l'image", - "copyToClipboard": "Copier dans le presse-papiers", - "copiedToClipboard": "Copié dans le presse-papiers" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - } - }, - "authDialogue": { - "content": { - "cancel": "Annuler", - "confirm": "Confirmer" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Lire les termes et les conditions d'utilisation" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Masquer les contenus", - "collapseFull": "Masquer la galerie", - "date": "date", - "expand": "Afficher les contenus", - "expandFull": "Afficher la galerie", - "index": "Index", - "manifestRanges": "Manifestes", - "searchResult": "{0} résultats", - "searchResults": "{0} résultats", - "sortBy": "Trier par :", - "thumbnails": "Vignettes", - "title": "Contenus", - "volume": "volume" - } - }, - "dialogue": { - "content": { - "close": "Fermer" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Ouvre une nouvelle fenêtre", - "download": "Télécharger", - "downloadSelection": "Télécharger la sélection", - "downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", - "editSettings": "Modifier les paramètres", - "entireDocument": "Document entier ({0})", - "entireFileAsOriginal": "Fichier complet", - "noneAvailable": "Aucune option de téléchargement n'est disponible.", - "pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", - "preview": "Aperçu", - "title": "Télécharger", - "wholeImageHighRes": "Image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImagesHighRes": "Images ({0})", - "wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", - "wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre." - } - }, - "loginDialogue": { - "content": { - "login": "Connexion", - "logout": "Déconnexion", - "cancel": "Annuler" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Pivoter à droite", - "moreInfo": "Informations", - "zoomIn": "Zoom avant", - "zoomOut": "Zoom arrière" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Télécharger", - "selectAll": "Tout sélectionner", - "title": "Sélectionner les pages à télécharger" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Fermer", - "emptyValue": "Veuillez saisir une valeur", - "first": "Premier", - "firstImage": "Première image", - "firstPage": "Première page", - "folio": "Folio", - "gallery": "Gallerie", - "go": "Aller", - "help": "Aide", - "image": "Image", - "last": "Dernier", - "lastImage": "Dernière image", - "lastPage": "Dernière page", - "next": "Suivant", - "nextImage": "Prochaine image", - "nextPage": "Page suivante", - "of": "de {0}", - "oneUp": "Affichage en mode page simple", - "page": "Page", - "pageSearchLabel": "Recherche par numéro de page.", - "previous": "Précédent", - "previousImage": "Image précédente", - "previousPage": "Page précédente", - "settings": "Paramètres", - "twoUp": "Affichage double page" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Attribution", - "goHome": "Retour", - "imageUnavailable": "Image non disponible", - "next": "Prochain", - "previous": "Précédent", - "rotateRight": "Pivoter à droite", - "zoomIn": "Zoomer", - "zoomOut": "Dézoomer" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Annuler" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Effacer", - "defaultLabel": "-", - "displaying": "{0} {1} de {2}", - "enterKeyword": "Saisir un mot", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance de '{0}' trouvée", - "instancesFound": "{0} instances de '{1}' trouvées", - "nextResult": "Résultat suivant", - "page": "page", - "pageCaps": "Page", - "previousResult": "Résultat précédent", - "print": "Imprimer", - "resultFoundFor": "résultat trouvé pour ", - "resultsFoundFor": "résultats trouvés pour", - "searchWithin": "Chercher dans ce document :" - } - }, - "settingsDialogue": { - "content": { - "locale": "Langues", - "navigatorEnabled": "Navigateur activé", - "clickToZoomEnabled": "Cliquer pour zoomer", - "pagingEnabled": "Affichage double page", - "reducedMotion": "Réduire le mouvement (désactive les animations)", - "preserveViewport": "Conserver le zoom", - "title": "Paramètres", - "website": "informations" - } - } - }, - "localisation": { - "label": "Français (FR)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", - "authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", - "canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", - "fallbackDegradedLabel": "Connexion", - "fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", - "forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", - "termsOfUse": "Conditions d'utilisation" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/pl-PL.json b/src/content-handlers/iiif/extensions/uv-default-extension/config/pl-PL.json deleted file mode 100644 index 4cd7f2964..000000000 --- a/src/content-handlers/iiif/extensions/uv-default-extension/config/pl-PL.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "niestandardowy", - "embed": "Osadź", - "embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "height": "Wysokość", - "iiif": "Manifest IIIF", - "share": "Udostępnij", - "shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", - "size": "Rozmiar:", - "width": "Szerokość" - } - }, - "fileLinkCenterPanel": { - "content": {} - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Dodaj do zakładek", - "download": "Pobierz", - "embed": "Osadź", - "exitFullScreen": "Zamknij pełny ekran", - "fullScreen": "Pełny ekran", - "moreInfo": "Więcej informacji", - "open": "Otwórz" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Zamknij", - "help": "Pomoc" - } - }, - "helpDialogue": { - "content": { - "text": "tekst zastępczy", - "title": "Pomoc" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Źródło", - "collapse": "Zwiń informacje", - "collapseFull": "Zwiń galerię", - "description": "Opis", - "expand": "Rozwiń informacje", - "expandFull": "Rozwiń galerię", - "holdingText": "Miejsce na twój moduł!", - "less": "mniej", - "license": "Licencja", - "logo": "Logo", - "more": "więcej", - "noData": "Brak danych do wyświetlenia", - "page": "Strona", - "title": "Więcej informacji", - "manifestHeader": "O obiekcie", - "canvasHeader": "O obrazie", - "copyToClipboard": "Skopiuj do schowka", - "copiedToClipboard": "Skopiowano do schowka" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - }, - "content": { - "title": "Zawartość" - } - }, - "dialogue": { - "content": { - "close": "Zamknij" - } - }, - "downloadDialogue": { - "content": { - "download": "Pobierz", - "entireFileAsOriginal": "Cały plik", - "noneAvailable": "Brak dostępnych opcji pobierania.", - "preview": "Podgląd", - "title": "Pobieranie" - } - }, - "loginDialogue": { - "content": { - "login": "Zaloguj się", - "cancel": "Anuluj" - } - }, - "settingsDialogue": { - "content": { - "locale": "Język", - "pagingEnabled": "Widok dwóch stron", - "reducedMotion": "Zmniejsz ruch (wyłącza animacje)", - "preserveViewport": "Zachowanie przybliżenia", - "title": "Ustawienia", - "website": "więcej informacji" - } - } - }, - "localisation": { - "label": "Polski", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", - "authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", - "degradedResourceMessage": "Zaloguj się, aby wyświetlić w pełnej jakości.", - "degradedResourceLogin": "Zaloguj się", - "forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-default-extension/config/sv-SE.json b/src/content-handlers/iiif/extensions/uv-default-extension/config/sv-SE.json deleted file mode 100644 index 901088304..000000000 --- a/src/content-handlers/iiif/extensions/uv-default-extension/config/sv-SE.json +++ /dev/null @@ -1,321 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "Anpassad", - "embed": "Bädda in", - "embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", - "height": "Höjd", - "iiif": "IIIF Manifest", - "share": "Dela", - "shareInstructions": "Kopiera länken nedan för att dela det här objektet.", - "size": "Storlek:", - "width": "Bredd" - } - }, - "fileLinkCenterPanel": {}, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Lägg till bokmärke", - "download": "Ladda ner", - "embed": "Bädda in", - "exitFullScreen": "Avsluta helskärm", - "feedback": "Feedback", - "fullScreen": "Helskärm", - "moreInfo": "Mer information", - "open": "Öppna", - "share": "Dela" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "ange ett värde.", - "invalidNumber": "Ange ett giltigt nummer.", - "noMatches": "Inga träffar hittades.", - "ok": "OK", - "pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", - "refresh": "Uppdatera" - } - }, - "headerPanel": {}, - "helpDialogue": { - "content": { - "text": "platshållartext", - "title": "Hjälp" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Upphov", - "collapse": "Fäll ihop information", - "collapseFull": "Fäll ihop galleri", - "description": "Beskrivning", - "expand": "Expandera information", - "expandFull": "Expandera galleri", - "holdingText": "Plats för din modul!", - "less": "mindre", - "license": "Licensvillkor", - "logo": "Logotyp", - "more": "mer", - "noData": "Ingen information att visa", - "page": "Sida", - "title": "Mer information", - "manifestHeader": "Om objektet", - "canvasHeader": "Om bilden", - "copyToClipboard": "Kopiera till urklipp", - "copiedToClipboard": "Kopierade till urklipp" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - } - }, - "authDialogue": { - "content": { - "cancel": "Avbryt", - "confirm": "Bekräfta" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Läs fullständiga villkor" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Fäll ihop innehåll", - "collapseFull": "Fäll ihop galleri", - "date": "datum", - "expand": "Expandera innehåll", - "expandFull": "Expandera galleri", - "index": "Index", - "manifestRanges": "Manifest-omfång", - "searchResult": "{0} sökträffar", - "searchResults": "{0} sökträffar", - "sortBy": "Sortera efter:", - "thumbnails": "Småbilder", - "title": "Innehåll", - "volume": "volym" - } - }, - "dialogue": { - "content": { - "close": "Stäng" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Öppnas i nytt fönster", - "download": "Ladda ner", - "downloadSelection": "Ladda ner valt område", - "downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", - "editSettings": "Ändra inställningar", - "entireDocument": "Hela dokumentet ({0})", - "entireFileAsOriginal": "Hela filen", - "noneAvailable": "Inga nedladdningsalternativ är tillgängliga.", - "pagingNote": "Stäng dubbelsidig vy för fler alternativ", - "preview": "Förhandsgranska", - "title": "Ladda ner", - "wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Öppnas i nytt fönster.", - "wholeImagesHighRes": "Hela bilder ({0})", - "wholeImagesHighResExplanation": "Öppnas i två nya fönster.", - "wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster." - } - }, - "loginDialogue": { - "content": { - "login": "Logga in", - "logout": "Logga ut", - "cancel": "Avbryt" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotera höger", - "moreInfo": "Mer information", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Ladda ner", - "selectAll": "Markera alla", - "title": "Välj sidor att ladda ner" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Stäng", - "emptyValue": "Ange ett värde", - "first": "Första", - "firstImage": "Första bild", - "firstPage": "Första sidan", - "folio": "Folio", - "gallery": "Galleri", - "go": "Gå", - "help": "Hjälp", - "image": "Bild", - "last": "Sista", - "lastImage": "Sista bilden", - "lastPage": "Sista sidan", - "next": "Nästa", - "nextImage": "Nästa bild", - "nextPage": "Nästa sida", - "of": "av {0}", - "oneUp": "Enkelsidig vy", - "page": "Sida", - "pageSearchLabel": "Sök med sidnummer", - "previous": "Föregående", - "previousImage": "Föregående bild", - "previousPage": "Föregående sida", - "settings": "Inställningar", - "twoUp": "Dubbelsidig vy" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Upphov", - "goHome": "Visa hela sidan", - "imageUnavailable": "Bild ej tillgänglig", - "next": "Nästa", - "previous": "Föregående", - "rotateRight": "Rotera höger", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "avCenterPanel": { - "content": { - "currentTime": "Aktuell tid", - "delimiter": " - ", - "duration": "Speltid", - "mute": "Tyst", - "next": "Nästa", - "pause": "Paus", - "play": "Spela", - "previous": "Föregående" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Avbryt" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Rensa sökning", - "defaultLabel": "-", - "displaying": "{0} {1} av {2}", - "enterKeyword": "Ange sökord", - "image": "bild", - "imageCaps": "Bild", - "instanceFound": "1 instans av '{0}' hittades", - "instancesFound": "{0} instanser av '{1}' hittades", - "nextResult": "Nästa träff", - "page": "sida", - "pageCaps": "Sida", - "previousResult": "Föregående träff", - "print": "Skriv ut", - "resultFoundFor": "träff hittades för", - "resultsFoundFor": "träffar hittades för", - "searchWithin": "Sök inom detta objekt:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Språk", - "navigatorEnabled": "Visa minivy", - "clickToZoomEnabled": "Zooma med musklick", - "pagingEnabled": "Dubbelsidig vy", - "reducedMotion": "Minska rörelse (inaktiverar animationer)", - "preserveViewport": "Behåll zoomnivå", - "title": "Inställningar", - "website": "mer info" - } - } - }, - "localisation": { - "label": "Svenska", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", - "authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", - "canvasIndexOutOfRange": "Canvas-index ogiltigt.", - "fallbackDegradedLabel": "Logga in", - "fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", - "forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", - "termsOfUse": "Användningsvillkor" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/Extension.ts b/src/content-handlers/iiif/extensions/uv-ebook-extension/Extension.ts index d0646af98..81a946e87 100644 --- a/src/content-handlers/iiif/extensions/uv-ebook-extension/Extension.ts +++ b/src/content-handlers/iiif/extensions/uv-ebook-extension/Extension.ts @@ -15,7 +15,7 @@ import { ShareDialogue } from "./ShareDialogue"; import { IEbookExtensionData } from "./IEbookExtensionData"; import { Strings } from "@edsilv/utils"; import "./theme/theme.less"; -import defaultConfig from "./config/en-GB.json"; +import defaultConfig from "./config/config.json"; export default class Extension extends BaseExtension implements IEbookExtension { @@ -37,11 +37,7 @@ export default class Extension extends BaseExtension cfiFragement: string; defaultConfig: any = defaultConfig; locales = { - "en-GB": defaultConfig, - "cy-GB": () => import("./config/cy-GB.json"), - "fr-FR": () => import("./config/fr-FR.json"), - "pl-PL": () => import("./config/pl-PL.json"), - "sv-SE": () => import("./config/sv-SE.json"), + "en-GB": defaultConfig }; create(): void { diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json new file mode 100644 index 000000000..3f1b4b18b --- /dev/null +++ b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json @@ -0,0 +1,275 @@ +{ + "options": { + "allowStealFocus": false, + "authAPIVersion": 1, + "bookmarkThumbHeight": 150, + "bookmarkThumbWidth": 90, + "dropEnabled": true, + "footerPanelEnabled": true, + "headerPanelEnabled": true, + "leftPanelEnabled": true, + "limitLocales": false, + "metrics": [ + { + "type": "sm", + "minWidth": 0 + }, + { + "type": "md", + "minWidth": 768 + }, + { + "type": "lg", + "minWidth": 1024 + }, + { + "type": "xl", + "minWidth": 1280 + } + ], + "multiSelectionMimeType": "application/zip", + "navigatorEnabled": true, + "openTemplate": "http://universalviewer.io?manifest={0}", + "overrideFullScreen": false, + "pagingEnabled": true, + "pagingOptionEnabled": true, + "pessimisticAccessControl": false, + "preserveViewport": false, + "rightPanelEnabled": true, + "saveUserSettings": false, + "clickToZoomEnabled": true, + "searchWithinEnabled": true, + "termsOfUseEnabled": false, + "theme": "uv-en-GB-theme", + "tokenStorage": "session", + "useArrowKeysToNavigate": false, + "zoomToSearchResultEnabled": true + }, + "modules": { + "ebookLeftPanel": { + "options": { + "expandFullEnabled": false, + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255 + }, + "content": { + "title": "$contents" + } + }, + "dialogue": { + "topCloseButtonEnabled": false, + "content": { + "close": "$close" + } + }, + "footerPanel": { + "options": { + "bookmarkEnabled": false, + "downloadEnabled": true, + "embedEnabled": false, + "feedbackEnabled": false, + "fullscreenEnabled": true, + "minimiseButtons": true, + "moreInfoEnabled": true, + "openEnabled": false, + "printEnabled": false, + "shareEnabled": true + }, + "content": { + "bookmark": "$add_to_bookmarks", + "download": "$download", + "embed": "$embed", + "exitFullScreen": "$exitFullScreen", + "feedback": "$feedback", + "fullScreen": "$fullScreen", + "moreInfo": "$moreInfo", + "open": "$open", + "share": "$share" + } + }, + "genericDialogue": { + "content": { + "emptyValue": "$emptyValue", + "invalidNumber": "$invalidNumber", + "noMatches": "$noMatches", + "ok": "$ok", + "pageNotFound": "$pageNotFound", + "refresh": "$refresh" + } + }, + "headerPanel": { + "options": { + "localeToggleEnabled": false, + "settingsButtonEnabled": true + }, + "content": { + "settings": "$settings" + } + }, + "helpDialogue": { + "content": { + "text": "$placeholder_text", + "title": "$help" + } + }, + "moreInfoRightPanel": { + "options": { + "canvasDisplayOrder": "", + "canvasExclude": "", + "copyToClipboardEnabled": false, + "manifestDisplayOrder": "", + "manifestExclude": "", + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": false, + "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", + "showAllLanguages": false, + "textLimit": 4, + "textLimitType": "lines", + "limitToRange": false + }, + "content": { + "attribution": "$attribution", + "collapse": "$collapseInformation", + "collapseFull": "$collapseGallery", + "description": "$description", + "expand": "$expandInformation", + "expandFull": "$expandGallery", + "holdingText": "$moduleGoesHere", + "less": "$less", + "license": "$license", + "logo": "$logo", + "more": "$more", + "noData": "$noDataToDisplay", + "page": "$page", + "title": "$moreInformation", + "manifestHeader": "$aboutTheItem", + "canvasHeader": "$aboutTheImage", + "copyToClipboard": "$copyToClipboard", + "copiedToClipboard": "$copiedToClipboard" + } + }, + "ebookCenterPanel": { + "options": {} + }, + "settingsDialogue": { + "content": { + "locale": "$locale", + "navigatorEnabled": "$navigatorEnabled", + "clickToZoomEnabled": "$clickToZoomEnabled", + "pagingEnabled": "$twoPageView", + "reducedMotion": "$reducedMotion", + "preserveViewport": "$preserveViewport", + "title": "$settings", + "website": "$uvWebsite" + } + }, + "shareDialogue": { + "options": { + "embedTemplate": "", + "instructionsEnabled": false, + "shareFrameEnabled": true + }, + "content": { + "customSize": "$custom", + "embed": "$embed", + "embedInstructions": "$embedInstructions", + "height": "$height", + "iiif": "$iiifManifest", + "share": "$share", + "shareInstructions": "$shareInstructions", + "size": "$size", + "width": "$width" + } + }, + "authDialogue": { + "content": { + "cancel": "$cancel", + "confirm": "$confirm" + } + }, + "clickThroughDialogue": { + "content": { + "viewTerms": "$viewTerms" + } + }, + "downloadDialogue": { + "content": { + "currentViewAsJpg": "$currentViewAsJpg", + "currentViewAsJpgExplanation": "$openNewWindow", + "download": "$download", + "downloadSelection": "$downloadSelection", + "downloadSelectionExplanation": "$downloadSelectionExplanation", + "editSettings": "$editSettings", + "entireDocument": "$entireDocument", + "entireFileAsOriginal": "$entireFile", + "entireFileAsOriginalWithFormat": "entireFileX", + "noneAvailable": "$noDownloadOptionsAvailable", + "pagingNote": "$pagingNote", + "preview": "$preview", + "title": "$download", + "wholeImageHighRes": "$wholeImageHighRes", + "wholeImageHighResExplanation": "$wholeImageHighResExplanation", + "wholeImagesHighRes": "$wholeImagesHighRes", + "wholeImagesHighResExplanation": "$wholeImagesHighResExplanation", + "wholeImageLowResAsJpg": "$wholeImageLowResAsJpg", + "wholeImageLowResAsJpgExplanation": "$wholeImageLowResAsJpgExplanation" + } + }, + "loginDialogue": { + "content": { + "login": "$login", + "logout": "$logout", + "cancel": "$cancel" + } + }, + "avCenterPanel": { + "content": { + "attribution": "$attribution" + } + }, + "restrictedDialogue": { + "content": { + "cancel": "$cancel" + } + } + }, + "localisation": { + "label": "English (GB)", + "locales": [ + { + "name": "cy-GB", + "label": "Cymraeg" + }, + { + "name": "en-GB", + "label": "English (GB)" + }, + { + "name": "fr-FR", + "label": "Français (FR)" + }, + { + "name": "pl-PL", + "label": "Polski" + }, + { + "name": "sv-SE", + "label": "Svenska" + } + ] + }, + "content": { + "authCORSError": "$authCORSError", + "authorisationFailedMessage": "$authorisationFailedMessage", + "canvasIndexOutOfRange": "$canvasIndexOutOfRange", + "fallbackDegradedLabel": "$fallbackDegradedLabel", + "fallbackDegradedMessage": "$fallbackDegradedMessage", + "forbiddenResourceMessage": "$forbiddenResourceMessage", + "termsOfUse": "$termsOfUse", + "mediaViewer": "$mediaViewer", + "skipToDownload": "$skipToDownload" + } +} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/cy-GB.json b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/cy-GB.json deleted file mode 100644 index aa9b09672..000000000 --- a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/cy-GB.json +++ /dev/null @@ -1,294 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "ebookLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255 - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Cau" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ychwanegu at nodau tudalen", - "download": "Lawrlwytho", - "embed": "Ymgorffori", - "exitFullScreen": "Dianc o'r sgrin lawn", - "feedback": "Adborth", - "fullScreen": "Sgrin lawn", - "moreInfo": "Mwy o Wybodaeth", - "open": "Agor", - "share": "Rhannu" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "rhowch rif", - "invalidNumber": "Rhowch rif dilys", - "noMatches": "Dim canlyniad sy'n cyfateb.", - "ok": "GWELD", - "pageNotFound": "Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.", - "refresh": "Ailosod" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - }, - "content": { - "settings": "Dewisiadau" - } - }, - "helpDialogue": { - "content": { - "text": "testun i'w osod", - "title": "Cymorth" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Priodoledd", - "collapse": "Lleihau'r Wybodaeth", - "collapseFull": "Cuddio'r Galeri", - "description": "Disgrifiad", - "expand": "Ehangu'r Wybodaeth", - "expandFull": "Ehangu'r Galeri", - "holdingText": "Eich modiwl fan hyn!", - "less": "llai", - "license": "Trwydded", - "logo": "Logo", - "more": "mwy", - "noData": "Nid oes data i'w arddangos", - "page": "Tudalen", - "title": "Mwy o Wybodaeth", - "manifestHeader": "Am yr eitem", - "canvasHeader": "Am y ddelwedd", - "copyToClipboard": "Copïo i'r clipfwrdd", - "copiedToClipboard": "Copïwyd i'r clipfwrdd" - } - }, - "ebookCenterPanel": { - "options": {} - }, - "settingsDialogue": { - "content": { - "locale": "Iaith", - "navigatorEnabled": "Ffenest llywio ar gael", - "clickToZoomEnabled": "Cliciwch gyda'r llygoden i glosio", - "pagingEnabled": "Arddangos dwy dudalen", - "reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", - "preserveViewport": "Cadw'r lefel o glosio", - "title": "Dewisiadau", - "website": "mwy o wybodaeth" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "dewisol", - "embed": "Ymgorffori", - "embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.", - "height": "Hyd", - "iiif": "Maniffest IIIF", - "share": "Rhannu", - "shareInstructions": "Er mwyn rhannu'r eitem hon, copïwch y URL isod.", - "size": "Maint:", - "width": "Lled" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Darllenwch y Telerau a'r Amodau Llawn" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Lleihau'r Cynnwys", - "collapseFull": "Lleihau'r Galeri", - "date": "Dyddiad", - "expand": "Ehangu'r Cynnwys", - "expandFull": "Ehangu'r Galeri", - "index": "Mynegai", - "searchResult": "{0} canlyniad chwilio", - "searchResults": "{0} canlyniad chwilio", - "sortBy": "Trefnu yn ôl:", - "thumbnails": "Bodluniau", - "title": "Cynnwys", - "volume": "cyfrol" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Delwedd ddethol {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Agor mewn dwy ffenest newydd.", - "download": "Lawrlwytho", - "downloadSelection": "Lawrlwytho'r detholiad", - "downloadSelectionExplanation": "Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.", - "editSettings": "Golygu'r dewisiadau", - "entireDocument": "Y Ddogfen Gyfan ({0})", - "entireFileAsOriginal": "Y ffeil gyfan", - "entireFileAsOriginalWithFormat": "Y ffeil gyfan ({0})", - "noneAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", - "pagingNote": "Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.", - "preview": "Rhagolwg", - "title": "Lawrlwytho", - "wholeImageHighRes": "Delwedd gyfan {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Agor mewn ffenest newydd", - "wholeImagesHighRes": "Delweddau cyfan ({0})", - "wholeImagesHighResExplanation": "Agor mewn dwy ffenest newydd.", - "wholeImageLowResAsJpg": "Delwedd gyfan {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Agor mewn ffenest newydd" - } - }, - "loginDialogue": { - "content": { - "login": "Mewngofnodi", - "logout": "Allgofnodi", - "cancel": "Canslo" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Cylchdroi i'r dde", - "moreInfo": "Mwy o Wybodaeth", - "zoomIn": "Closio", - "zoomOut": "Gwrthglosio" - } - }, - "avCenterPanel": { - "content": { - "attribution": "Priodoledd", - "currentTime": "Amser Presennol", - "delimiter": " - ", - "duration": "Hyd", - "mute": "Mudo", - "next": "Nesaf", - "pause": "Seibiant", - "play": "Chwarae", - "previous": "Blaenorol" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Canslo" - } - } - }, - "localisation": { - "label": "Cymraeg", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.", - "authorisationFailedMessage": "Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.", - "canvasIndexOutOfRange": "Canfas yn rhy fawr i'w arddangos (ceisiwch eto)", - "forbiddenResourceMessage": "Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon", - "termsOfUse": "Telerau Defnydd" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/en-GB.json b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/en-GB.json deleted file mode 100644 index 5dd04a52f..000000000 --- a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/en-GB.json +++ /dev/null @@ -1,275 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "ebookLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255 - }, - "content": { - "title": "Contents" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Close" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Add to bookmarks", - "download": "Download", - "embed": "Embed", - "exitFullScreen": "Exit Full Screen", - "feedback": "Feedback", - "fullScreen": "Full Screen", - "moreInfo": "More Information", - "open": "Open", - "share": "Share" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "please enter a value.", - "invalidNumber": "Please enter a valid number.", - "noMatches": "No matches were found.", - "ok": "OK", - "pageNotFound": "This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.", - "refresh": "Refresh" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - }, - "content": { - "settings": "Settings" - } - }, - "helpDialogue": { - "content": { - "text": "placeholder text", - "title": "Help" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Attribution", - "collapse": "Collapse Information", - "collapseFull": "Collapse Gallery", - "description": "Description", - "expand": "Expand Information", - "expandFull": "Expand Gallery", - "holdingText": "Your module goes here!", - "less": "less", - "license": "License", - "logo": "Logo", - "more": "more", - "noData": "No data to display", - "page": "Page", - "title": "More Information", - "manifestHeader": "About the item", - "canvasHeader": "About the image", - "copyToClipboard": "Copy to clipboard", - "copiedToClipboard": "Copied to clipboard" - } - }, - "ebookCenterPanel": { - "options": {} - }, - "settingsDialogue": { - "content": { - "locale": "Locale", - "navigatorEnabled": "Navigator Enabled", - "clickToZoomEnabled": "Mouse Click To Zoom", - "pagingEnabled": "Two Page View", - "reducedMotion": "Reduce motion (disables animations)", - "preserveViewport": "Preserve Zoom", - "title": "Settings", - "website": "more info" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "custom", - "embed": "Embed", - "embedInstructions": "To embed this item in your own website, copy and paste the code below.", - "height": "Height", - "iiif": "IIIF Manifest", - "share": "Share", - "shareInstructions": "To share this item, copy the URL below.", - "size": "Size:", - "width": "Width" - } - }, - "authDialogue": { - "content": { - "cancel": "Cancel", - "confirm": "Confirm" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Read Full Terms and Conditions" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Current view {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Opens in a new window", - "download": "Download", - "downloadSelection": "Download Selection", - "downloadSelectionExplanation": "Opens a dialogue to select which pages to download.", - "editSettings": "Edit Settings", - "entireDocument": "Entire document ({0})", - "entireFileAsOriginal": "Entire file", - "entireFileAsOriginalWithFormat": "Entire file ({0})", - "noneAvailable": "No download options are available.", - "pagingNote": "Please turn off Two Page View for additional options.", - "preview": "Preview", - "title": "Download", - "wholeImageHighRes": "Whole image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Opens in a new window.", - "wholeImagesHighRes": "Whole images ({0})", - "wholeImagesHighResExplanation": "Opens in two new windows.", - "wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Opens in a new window." - } - }, - "loginDialogue": { - "content": { - "login": "Login", - "logout": "Logout", - "cancel": "Cancel" - } - }, - "avCenterPanel": { - "content": { - "attribution": "Attribution" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Cancel" - } - } - }, - "localisation": { - "label": "English (GB)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Your browser does not support CORS, please upgrade to view this content.", - "authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", - "canvasIndexOutOfRange": "Canvas index out of range.", - "fallbackDegradedLabel": "Login", - "fallbackDegradedMessage": "Please log in to view this content at full resolution.", - "forbiddenResourceMessage": "Your current access rights are insufficient to view this image", - "termsOfUse": "Terms of Use", - "mediaViewer": "Media Viewer", - "skipToDownload": "Skip to downloads and alternative formats" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/fr-FR.json b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/fr-FR.json deleted file mode 100644 index f9c3dc93f..000000000 --- a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/fr-FR.json +++ /dev/null @@ -1,355 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "ebookLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255 - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Fermer" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ajouter aux favoris", - "download": "Télécharger", - "embed": "Intégrer", - "exitFullScreen": "Quitter le mode plein écran", - "feedback": "Commentaire", - "fullScreen": "Affichage en plein écran", - "moreInfo": "Informations", - "open": "Ouvrir", - "share": "Partager" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "veuillez saisir une valeur.", - "invalidNumber": "Veuillez saisir un nombre valide.", - "noMatches": "Aucune correspondance n'a été trouvée.", - "ok": "OK", - "pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", - "refresh": "Rafraîchir" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "texte d'exemple", - "title": "Aide" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Attribution", - "collapse": "Masquer les informations", - "collapseFull": "Masquer la galerie", - "description": "Description", - "expand": "Afficher les informations", - "expandFull": "Afficher la galerie", - "holdingText": "Votre module vient ici !", - "less": "moins", - "license": "Licence", - "logo": "Logo", - "more": "suite", - "noData": "Aucune donnée à afficher", - "page": "Page", - "title": "Informations", - "manifestHeader": "A propos du contenu", - "canvasHeader": "A propos de l'image", - "copyToClipboard": "Copier dans le presse-papiers", - "copiedToClipboard": "Copié dans le presse-papiers" - } - }, - "ebookCenterPanel": { - "options": {} - }, - "settingsDialogue": { - "content": { - "locale": "Langues", - "navigatorEnabled": "Navigateur activé", - "clickToZoomEnabled": "Cliquer pour zoomer", - "pagingEnabled": "Affichage double page", - "reducedMotion": "Réduire le mouvement (désactive les animations)", - "preserveViewport": "Conserver le zoom", - "title": "Paramètres", - "website": "informations" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "personnalisée", - "embed": "Intégrer", - "embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", - "height": "Hauteur", - "iiif": "Manifeste IIIF", - "share": "Partager", - "shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", - "size": "Taille :", - "width": "Largeur" - } - }, - "authDialogue": { - "content": { - "cancel": "Annuler", - "confirm": "Confirmer" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Lire les termes et les conditions d'utilisation" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Masquer les contenus", - "collapseFull": "Masquer la galerie", - "date": "date", - "expand": "Afficher les contenus", - "expandFull": "Afficher la galerie", - "index": "Index", - "manifestRanges": "Manifestes", - "searchResult": "{0} résultats", - "searchResults": "{0} résultats", - "sortBy": "Trier par :", - "thumbnails": "Vignettes", - "title": "Contenus", - "volume": "volume" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Ouvre une nouvelle fenêtre", - "download": "Télécharger", - "downloadSelection": "Télécharger la sélection", - "downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", - "editSettings": "Modifier les paramètres", - "entireDocument": "Document entier ({0})", - "entireFileAsOriginal": "Fichier complet", - "entireFileAsOriginalWithFormat": "Fichier complet ({0})", - "noneAvailable": "Aucune option de téléchargement n'est disponible.", - "pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", - "preview": "Aperçu", - "title": "Télécharger", - "wholeImageHighRes": "Image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImagesHighRes": "Images ({0})", - "wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", - "wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre." - } - }, - "loginDialogue": { - "content": { - "login": "Connexion", - "logout": "Déconnexion", - "cancel": "Annuler" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Pivoter à droite", - "moreInfo": "Informations", - "zoomIn": "Zoom avant", - "zoomOut": "Zoom arrière" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Télécharger", - "selectAll": "Tout sélectionner", - "title": "Sélectionner les pages à télécharger" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Fermer", - "emptyValue": "Veuillez saisir une valeur", - "first": "Premier", - "firstImage": "Première image", - "firstPage": "Première page", - "folio": "Folio", - "gallery": "Gallerie", - "go": "Aller", - "help": "Aide", - "image": "Image", - "last": "Dernier", - "lastImage": "Dernière image", - "lastPage": "Dernière page", - "next": "Suivant", - "nextImage": "Prochaine image", - "nextPage": "Page suivante", - "of": "de {0}", - "oneUp": "Affichage en mode page simple", - "page": "Page", - "pageSearchLabel": "Recherche par numéro de page.", - "previous": "Précédent", - "previousImage": "Image précédente", - "previousPage": "Page précédente", - "settings": "Paramètres", - "twoUp": "Affichage double page" - } - }, - "seadragonCenterPanel": { - "content": { - "attribution": "Attribution", - "goHome": "Retour", - "imageUnavailable": "Image non disponible", - "next": "Prochain", - "previous": "Précédent", - "rotateRight": "Pivoter à droite", - "zoomIn": "Zoomer", - "zoomOut": "Dézoomer" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Annuler" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Effacer", - "defaultLabel": "-", - "displaying": "{0} {1} de {2}", - "enterKeyword": "Saisir un mot", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance de '{0}' trouvée", - "instancesFound": "{0} instances de '{1}' trouvées", - "nextResult": "Résultat suivant", - "page": "page", - "pageCaps": "Page", - "previousResult": "Résultat précédent", - "print": "Imprimer", - "resultFoundFor": "résultat trouvé pour ", - "resultsFoundFor": "résultats trouvés pour", - "searchWithin": "Chercher dans ce document :" - } - } - }, - "localisation": { - "label": "Français (FR)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", - "authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", - "canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", - "fallbackDegradedLabel": "Connexion", - "fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", - "forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", - "termsOfUse": "Conditions d'utilisation" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/pl-PL.json b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/pl-PL.json deleted file mode 100644 index 18c9bb567..000000000 --- a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/pl-PL.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "ebookLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255 - }, - "content": { - "title": "Zawartość" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Zamknij" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Dodaj do zakładek", - "download": "Pobierz", - "embed": "Osadź", - "exitFullScreen": "Zamknij pełny ekran", - "feedback": "Feedback", - "fullScreen": "Pełny ekran", - "moreInfo": "Więcej informacji", - "open": "Otwórz", - "share": "Udostępnij" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "proszę wprowadzić wartość.", - "invalidNumber": "Proszę wprowadzić poprawny numer.", - "noMatches": "Nie znaleziono dopasowań.", - "ok": "OK", - "pageNotFound": "Ten obiekt nie zawiera strony z wprowadzonym numerem. Spróbuj przełączyć tryb numeracji na 'obraz'.", - "refresh": "Odśwież" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - }, - "content": { - "settings": "Ustawienia" - } - }, - "helpDialogue": { - "content": { - "text": "tekst zastępczy", - "title": "Pomoc" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Źródło", - "collapse": "Zwiń informacje", - "collapseFull": "Zwiń galerię", - "description": "Opis", - "expand": "Rozwiń informacje", - "expandFull": "Rozwiń galerię", - "holdingText": "Miejsce na twój moduł!", - "less": "mniej", - "license": "Licencja", - "logo": "Logo", - "more": "więcej", - "noData": "Brak danych do wyświetlenia", - "page": "Strona", - "title": "Więcej informacji", - "manifestHeader": "O obiekcie", - "canvasHeader": "O obrazie", - "copyToClipboard": "Skopiuj do schowka", - "copiedToClipboard": "Skopiowano do schowka" - } - }, - "ebookCenterPanel": { - "options": {} - }, - "settingsDialogue": { - "content": { - "locale": "Język", - "navigatorEnabled": "Włączona nawigacja", - "clickToZoomEnabled": "Przybliżenie przez kliknięcie myszą", - "pagingEnabled": "Widok dwóch stron", - "reducedMotion": "Zmniejsz ruch (wyłącza animacje)", - "preserveViewport": "Zachowanie przybliżenia", - "title": "Ustawienia", - "website": "więcej informacji" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "niestandardowy", - "embed": "Osadź", - "embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "height": "Wysokość", - "iiif": "Manifest IIIF", - "share": "Udostępnij", - "shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", - "size": "Rozmiar:", - "width": "Szerokość" - } - }, - "authDialogue": { - "content": { - "cancel": "Anuluj", - "confirm": "Potwierdź" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Przeczytaj pełny Regulamin" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktualny widok {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Otwiera się w nowym oknie", - "download": "Pobierz", - "downloadSelection": "Pobierz wybrane strony", - "downloadSelectionExplanation": "Otwiera okno wyboru stron do pobrania.", - "editSettings": "Edytuj ustawienia", - "entireDocument": "Cały dokument ({0})", - "entireFileAsOriginal": "Cały plik", - "entireFileAsOriginalWithFormat": "Cały plik ({0})", - "noneAvailable": "Brak dostępnych opcji pobierania.", - "pagingNote": "Wyłącz widok dwóch stron, aby uzyskać dodatkowe opcje.", - "preview": "Podgląd", - "title": "Pobieranie", - "wholeImageHighRes": "Pełny obraz {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Otwiera się w nowym oknie.", - "wholeImagesHighRes": "Pełne obrazy ({0})", - "wholeImagesHighResExplanation": "Otwiera się w dwóch nowych oknach.", - "wholeImageLowResAsJpg": "Pełny obraz {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Otwiera się w nowym oknie." - } - }, - "loginDialogue": { - "content": { - "login": "Zaloguj się", - "logout": "Wyloguj", - "cancel": "Anuluj" - } - }, - "avCenterPanel": { - "content": { - "attribution": "Źródło" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Anuluj" - } - } - }, - "localisation": { - "label": "Polski", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", - "authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", - "canvasIndexOutOfRange": "Numer kanwy poza zakresem.", - "fallbackDegradedLabel": "Zaloguj się", - "fallbackDegradedMessage": "Zaloguj się, aby zobaczyć tę treść w pełnej rozdzielczości.", - "forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz", - "termsOfUse": "Warunki korzystania" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/sv-SE.json b/src/content-handlers/iiif/extensions/uv-ebook-extension/config/sv-SE.json deleted file mode 100644 index 6d9bc505e..000000000 --- a/src/content-handlers/iiif/extensions/uv-ebook-extension/config/sv-SE.json +++ /dev/null @@ -1,356 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": false, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true - }, - "modules": { - "ebookLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255 - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Stäng" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Lägg till bokmärke", - "download": "Ladda ner", - "embed": "Bädda in", - "exitFullScreen": "Avsluta helskärm", - "feedback": "Feedback", - "fullScreen": "Helskärm", - "moreInfo": "Mer information", - "open": "Öppna", - "share": "Dela" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "ange ett värde.", - "invalidNumber": "Ange ett giltigt nummer.", - "noMatches": "Inga träffar hittades.", - "ok": "OK", - "pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", - "refresh": "Uppdatera" - } - }, - "headerPanel": { - "options": { - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "platshållartext", - "title": "Hjälp" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines", - "limitToRange": false - }, - "content": { - "attribution": "Upphov", - "collapse": "Fäll ihop information", - "collapseFull": "Fäll ihop galleri", - "description": "Beskrivning", - "expand": "Expandera information", - "expandFull": "Expandera galleri", - "holdingText": "Plats för din modul!", - "less": "mindre", - "license": "Licensvillkor", - "logo": "Logotyp", - "more": "mer", - "noData": "Ingen information att visa", - "page": "Sida", - "title": "Mer information", - "manifestHeader": "Om objektet", - "canvasHeader": "Om bilden", - "copyToClipboard": "Kopiera till urklipp", - "copiedToClipboard": "Kopierade till urklipp" - } - }, - "ebookCenterPanel": { - "options": {} - }, - "settingsDialogue": { - "content": { - "locale": "Språk", - "navigatorEnabled": "Visa minivy", - "clickToZoomEnabled": "Zooma med musklick", - "pagingEnabled": "Dubbelsidig vy", - "reducedMotion": "Minska rörelse (inaktiverar animationer)", - "preserveViewport": "Behåll zoomnivå", - "title": "Inställningar", - "website": "mer info" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true - }, - "content": { - "customSize": "Anpassad", - "embed": "Bädda in", - "embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", - "height": "Höjd", - "iiif": "IIIF Manifest", - "share": "Dela", - "shareInstructions": "Kopiera länken nedan för att dela det här objektet.", - "size": "Storlek:", - "width": "Bredd" - } - }, - "authDialogue": { - "content": { - "cancel": "Avbryt", - "confirm": "Bekräfta" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Läs fullständiga villkor" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Fäll ihop innehåll", - "collapseFull": "Fäll ihop galleri", - "date": "datum", - "expand": "Expandera innehåll", - "expandFull": "Expandera galleri", - "index": "Index", - "manifestRanges": "Manifest-omfång", - "searchResult": "{0} sökträffar", - "searchResults": "{0} sökträffar", - "sortBy": "Sortera efter:", - "thumbnails": "Småbilder", - "title": "Innehåll", - "volume": "volym" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Öppnas i nytt fönster", - "download": "Ladda ner", - "downloadSelection": "Ladda ner valt område", - "downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", - "editSettings": "Ändra inställningar", - "entireDocument": "Hela dokumentet ({0})", - "entireFileAsOriginal": "Hela filen", - "entireFileAsOriginalWithFormat": "Hela filen ({0})", - "noneAvailable": "Inga nedladdningsalternativ är tillgängliga.", - "pagingNote": "Stäng dubbelsidig vy för fler alternativ", - "preview": "Förhandsgranska", - "title": "Ladda ner", - "wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Öppnas i nytt fönster.", - "wholeImagesHighRes": "Hela bilder ({0})", - "wholeImagesHighResExplanation": "Öppnas i två nya fönster.", - "wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster." - } - }, - "loginDialogue": { - "content": { - "login": "Logga in", - "logout": "Logga ut", - "cancel": "Avbryt" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotera höger", - "moreInfo": "Mer information", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Ladda ner", - "selectAll": "Markera alla", - "title": "Välj sidor att ladda ner" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Stäng", - "emptyValue": "Ange ett värde", - "first": "Första", - "firstImage": "Första bild", - "firstPage": "Första sidan", - "folio": "Folio", - "gallery": "Galleri", - "go": "Gå", - "help": "Hjälp", - "image": "Bild", - "last": "Sista", - "lastImage": "Sista bilden", - "lastPage": "Sista sidan", - "next": "Nästa", - "nextImage": "Nästa bild", - "nextPage": "Nästa sida", - "of": "av {0}", - "oneUp": "Enkelsidig vy", - "page": "Sida", - "pageSearchLabel": "Sök med sidnummer", - "previous": "Föregående", - "previousImage": "Föregående bild", - "previousPage": "Föregående sida", - "settings": "Inställningar", - "twoUp": "Dubbelsidig vy" - } - }, - "avCenterPanel": { - "content": { - "attribution": "Upphov", - "currentTime": "Aktuell tid", - "delimiter": " - ", - "duration": "Speltid", - "mute": "Tyst", - "next": "Nästa", - "pause": "Paus", - "play": "Spela", - "previous": "Föregående" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Avbryt" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Rensa sökning", - "defaultLabel": "-", - "displaying": "{0} {1} av {2}", - "enterKeyword": "Ange sökord", - "image": "bild", - "imageCaps": "Bild", - "instanceFound": "1 instans av '{0}' hittades", - "instancesFound": "{0} instanser av '{1}' hittades", - "nextResult": "Nästa träff", - "page": "sida", - "pageCaps": "Sida", - "previousResult": "Föregående träff", - "print": "Skriv ut", - "resultFoundFor": "träff hittades för", - "resultsFoundFor": "träffar hittades för", - "searchWithin": "Sök inom detta objekt:" - } - } - }, - "localisation": { - "label": "Svenska", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", - "authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", - "canvasIndexOutOfRange": "Canvas-index ogiltigt.", - "fallbackDegradedLabel": "Logga in", - "fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", - "forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", - "termsOfUse": "Användningsvillkor" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/Extension.ts b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/Extension.ts index e83b82787..4d50469fe 100644 --- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/Extension.ts +++ b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/Extension.ts @@ -26,7 +26,7 @@ import { } from "manifesto.js"; import { TFragment } from "../../modules/uv-shared-module/TFragment"; import "./theme/theme.less"; -import defaultConfig from "./config/en-GB.json"; +import defaultConfig from "./config/config.json"; import { Events } from "../../../../Events"; export default class Extension extends BaseExtension @@ -46,11 +46,7 @@ export default class Extension extends BaseExtension settingsDialogue: SettingsDialogue; defaultConfig: any = defaultConfig; locales = { - "en-GB": defaultConfig, - "cy-GB": () => import("./config/cy-GB.json"), - "fr-FR": () => import("./config/fr-FR.json"), - "pl-PL": () => import("./config/pl-PL.json"), - "sv-SE": () => import("./config/sv-SE.json"), + "en-GB": defaultConfig }; create(): void { diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json new file mode 100644 index 000000000..3f005d227 --- /dev/null +++ b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json @@ -0,0 +1,191 @@ +{ + "options": { + "authAPIVersion": 1, + "bookmarkThumbHeight": 150, + "bookmarkThumbWidth": 90, + "dropEnabled": true, + "footerPanelEnabled": true, + "headerPanelEnabled": true, + "leftPanelEnabled": true, + "limitLocales": false, + "openTemplate": "http://universalviewer.io?manifest={0}", + "pessimisticAccessControl": false, + "rightPanelEnabled": true, + "theme": "uv-en-GB-theme" + }, + "modules": { + "shareDialogue": { + "options": { + "embedTemplate": "" + }, + "content": { + "customSize": "$custom", + "embed": "$embed", + "embedInstructions": "$embedInstruction", + "height": "$height", + "iiif": "$iiifManifest", + "share": "$share", + "shareInstructions": "$shareInstructions", + "size": "$size", + "width": "$width" + } + }, + "footerPanel": { + "options": { + "bookmarkEnabled": false, + "embedEnabled": false, + "feedbackEnabled": false, + "minimiseButtons": true, + "openEnabled": false, + "shareEnabled": true + }, + "content": { + "bookmark": "$add_to_bookmarks", + "download": "$download", + "embed": "$share", + "exitFullScreen": "$exitFullScreen", + "fullScreen": "$fullScreen", + "moreInfo": "$moreInfo", + "open": "$open", + "share": "$share" + } + }, + "genericDialogue": { + "content": { + "ok": "$ok" + } + }, + "headerPanel": { + "content": { + "close": "$close", + "help": "$help" + } + }, + "helpDialogue": { + "content": { + "text": "$placeholder_text", + "title": "$help" + } + }, + "mediaelementCenterPanel": { + "defaultHeight": 420, + "defaultWidth": 560, + "content": { + "attribution": "$attribution" + } + }, + "moreInfoRightPanel": { + "options": { + "canvasDisplayOrder": "", + "canvasExclude": "", + "copyToClipboardEnabled": false, + "manifestDisplayOrder": "", + "manifestExclude": "", + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": false, + "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", + "showAllLanguages": false, + "textLimit": 4, + "textLimitType": "lines" + }, + "content": { + "attribution": "$attribution", + "collapse": "$collapseInformation", + "collapseFull": "$collapseGaller", + "description": "$description", + "expand": "$expandInformation", + "expandFull": "$expandGallery", + "holdingText": "$moduleGoesHere", + "less": "$less", + "license": "$license", + "logo": "$logo", + "more": "$more", + "noData": "$noDataToDisplay", + "page": "$page", + "title": "$moreInformation", + "manifestHeader": "$aboutTheItem", + "canvasHeader": "$aboutTheImage", + "copyToClipboard": "$copyToClipboard", + "copiedToClipboard": "$copiedToClipboard" + } + }, + "resourcesLeftPanel": { + "options": { + "expandFullEnabled": false, + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": true + }, + "content": { + "title": "$contents" + } + }, + "dialogue": { + "content": { + "close": "$close" + } + }, + "downloadDialogue": { + "content": { + "download": "$download", + "entireFileAsOriginal": "$entireFile", + "noneAvailable": "$noDownloadOptionsAvailable", + "preview": "$preview", + "title": "$download" + } + }, + "loginDialogue": { + "content": { + "login": "$login", + "cancel": "$cancel" + } + }, + "settingsDialogue": { + "content": { + "locale": "$locale", + "pagingEnabled": "$twoPageView", + "reducedMotion": "$reducedMotion", + "preserveViewport": "$preserveViewport", + "title": "$settings", + "website": "$uvWebsite" + } + } + }, + "localisation": { + "label": "English (GB)", + "locales": [ + { + "name": "cy-GB", + "label": "Cymraeg" + }, + { + "name": "en-GB", + "label": "English (GB)" + }, + { + "name": "fr-FR", + "label": "Français (FR)" + }, + { + "name": "pl-PL", + "label": "Polski" + }, + { + "name": "sv-SE", + "label": "Svenska" + } + ] + }, + "content": { + "authCORSError": "$authCORSError", + "authorisationFailedMessage": "$authorisationFailedMessage", + "degradedResourceMessage": "$pleaseLogInToViewAtFullQuality", + "degradedResourceLogin": "$log_in", + "forbiddenResourceMessage": "$forbiddenResourceMessage", + "mediaViewer": "$mediaViewer", + "skipToDownload": "$skipToDownload" + } +} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/cy-GB.json b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/cy-GB.json deleted file mode 100644 index 939f661e0..000000000 --- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/cy-GB.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "arfer", - "embed": "gwreiddio", - "embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, cop�wch a gosodwch y cod isod.", - "height": "Hyd", - "iiif": "IIIF Manifest", - "share": "Rhannu", - "shareInstructions": "I rannu yr eitem hon, copïwch y URL isod.", - "size": "maint:", - "width": "Lled" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ychwanegu at nodau tudalen", - "download": "Lawrlwytho", - "embed": "Ymgorffori", - "exitFullScreen": "Dianc o'r sgrin lawn", - "fullScreen": "Sgrin lawn", - "moreInfo": "Mwy o Wybodaeth", - "open": "agored" - } - }, - "genericDialogue": { - "content": { - "ok": "GWELD" - } - }, - "headerPanel": { - "content": { - "close": "Cau", - "help": "Cymorth" - } - }, - "helpDialogue": { - "content": { - "text": "testun i'w osod", - "title": "Cymorth" - } - }, - "mediaelementCenterPanel": { - "defaultHeight": 420, - "defaultWidth": 560, - "content": {} - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Priodoledd", - "collapse": "Lleihau'r Wybodaeth", - "collapseFull": "Cuddio'r Galeri", - "description": "Disgrifiad", - "expand": "Ehangu'r Wybodaeth", - "expandFull": "Ehangu'r Galeri", - "holdingText": "Eich modiwl fan hyn!", - "less": "llai", - "license": "Trwydded", - "logo": "Logo", - "more": "mwy", - "noData": "Nid oes data i'w arddangos", - "page": "tudalen", - "title": "Mwy o Wybodaeth", - "manifestHeader": "Am yr eitem", - "canvasHeader": "Am y ddelwedd", - "copyToClipboard": "Copïo i'r clipfwrdd", - "copiedToClipboard": "Copïwyd i'r clipfwrdd" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - }, - "content": { - "title": "Cynnwys" - } - }, - "dialogue": { - "content": { - "close": "Cau" - } - }, - "downloadDialogue": { - "content": { - "download": "Lawrlwytho", - "entireFileAsOriginal": "Y ffeil gyfan", - "noneAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", - "preview": "Rhagolwg", - "title": "Lawrlwytho" - } - }, - "loginDialogue": { - "content": { - "login": "Mewngofnodi", - "cancel": "Diddymu" - } - }, - "settingsDialogue": { - "content": { - "locale": "Iaith", - "pagingEnabled": "Arddangos dwy dudalen", - "reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", - "preserveViewport": "Cadw'r lefel o glosio", - "title": "Dewisiadau", - "website": "mwy o wybodaeth" - } - } - }, - "localisation": { - "label": "Cymraeg", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Eich porwr yn peidio cefnogi CORS, os gwelwch yn dda uwchraddio i weld y cynnwys hwn.", - "authorisationFailedMessage": "Nid oedd yn ymddangos eich ymgais mewngofnodi i fod yn llwyddiannus . Trio eto os gwelwch yn dda.", - "degradedResourceMessage": "Os gwelwch yn dda mewngofnodwch i weld yn ansawdd llawn.", - "degradedResourceLogin": "Mewngofnodi", - "forbiddenResourceMessage": "Eich hawliau mynediad presennol yn annigonol i weld llun hwn" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/en-GB.json b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/en-GB.json deleted file mode 100644 index 23218cf19..000000000 --- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/en-GB.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "custom", - "embed": "Embed", - "embedInstructions": "To embed this item in your own website, copy and paste the code below.", - "height": "Height", - "iiif": "IIIF Manifest", - "share": "Share", - "shareInstructions": "To share this item, copy the URL below.", - "size": "Size:", - "width": "Width" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Add to bookmarks", - "download": "Download", - "embed": "Share", - "exitFullScreen": "Exit Full Screen", - "fullScreen": "Full Screen", - "moreInfo": "More Information", - "open": "Open", - "share": "Share" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Close", - "help": "Help" - } - }, - "helpDialogue": { - "content": { - "text": "placeholder text", - "title": "Help" - } - }, - "mediaelementCenterPanel": { - "defaultHeight": 420, - "defaultWidth": 560, - "content": { - "attribution": "Attribution" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Collapse Information", - "collapseFull": "Collapse Gallery", - "description": "Description", - "expand": "Expand Information", - "expandFull": "Expand Gallery", - "holdingText": "Your module goes here!", - "less": "less", - "license": "License", - "logo": "Logo", - "more": "more", - "noData": "No data to display", - "page": "Page", - "title": "More Information", - "manifestHeader": "About the item", - "canvasHeader": "About the image", - "copyToClipboard": "Copy to clipboard", - "copiedToClipboard": "Copied to clipboard" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - }, - "content": { - "title": "Contents" - } - }, - "dialogue": { - "content": { - "close": "Close" - } - }, - "downloadDialogue": { - "content": { - "download": "Download", - "entireFileAsOriginal": "Entire file", - "noneAvailable": "No download options are available.", - "preview": "Preview", - "title": "Download" - } - }, - "loginDialogue": { - "content": { - "login": "Login", - "cancel": "Cancel" - } - }, - "settingsDialogue": { - "content": { - "locale": "Locale", - "pagingEnabled": "Two Page View", - "reducedMotion": "Reduce motion (disables animations)", - "preserveViewport": "Preserve Zoom", - "title": "Settings", - "website": "more info" - } - } - }, - "localisation": { - "label": "English (GB)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Your browser does not support CORS, please upgrade to view this content.", - "authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", - "degradedResourceMessage": "Please log in to view at full quality.", - "degradedResourceLogin": "log in", - "forbiddenResourceMessage": "Your current access rights are insufficient to view this image", - "mediaViewer": "Media Viewer", - "skipToDownload": "Skip to downloads and alternative formats" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/fr-FR.json b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/fr-FR.json deleted file mode 100644 index aceab8afa..000000000 --- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/fr-FR.json +++ /dev/null @@ -1,311 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "personnalisée", - "embed": "Intégrer", - "embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", - "height": "Hauteur", - "iiif": "Manifeste IIIF", - "share": "Partager", - "shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", - "size": "Taille :", - "width": "Largeur" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ajouter aux favoris", - "download": "Télécharger", - "embed": "Intégrer", - "exitFullScreen": "Quitter le mode plein écran", - "feedback": "Commentaire", - "fullScreen": "Affichage en plein écran", - "moreInfo": "Informations", - "open": "Ouvrir", - "share": "Partager" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "veuillez saisir une valeur.", - "invalidNumber": "Veuillez saisir un nombre valide.", - "noMatches": "Aucune correspondance n'a été trouvée.", - "ok": "OK", - "pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", - "refresh": "Rafraîchir" - } - }, - "headerPanel": {}, - "helpDialogue": { - "content": { - "text": "texte d'exemple", - "title": "Aide" - } - }, - "mediaelementCenterPanel": { - "defaultHeight": 420, - "defaultWidth": 560 - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Masquer les informations", - "collapseFull": "Masquer la galerie", - "description": "Description", - "expand": "Afficher les informations", - "expandFull": "Afficher la galerie", - "holdingText": "Votre module vient ici !", - "less": "moins", - "license": "Licence", - "logo": "Logo", - "more": "suite", - "noData": "Aucune donnée à afficher", - "page": "Page", - "title": "Informations", - "manifestHeader": "A propos du contenu", - "canvasHeader": "A propos de l'image", - "copyToClipboard": "Copier dans le presse-papiers", - "copiedToClipboard": "Copié dans le presse-papiers" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - } - }, - "authDialogue": { - "content": { - "cancel": "Annuler", - "confirm": "Confirmer" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Lire les termes et les conditions d'utilisation" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Masquer les contenus", - "collapseFull": "Masquer la galerie", - "date": "date", - "expand": "Afficher les contenus", - "expandFull": "Afficher la galerie", - "index": "Index", - "manifestRanges": "Manifestes", - "searchResult": "{0} résultats", - "searchResults": "{0} résultats", - "sortBy": "Trier par :", - "thumbnails": "Vignettes", - "title": "Contenus", - "volume": "volume" - } - }, - "dialogue": { - "content": { - "close": "Fermer" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Ouvre une nouvelle fenêtre", - "download": "Télécharger", - "downloadSelection": "Télécharger la sélection", - "downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", - "editSettings": "Modifier les paramètres", - "entireDocument": "Document entier ({0})", - "entireFileAsOriginal": "Fichier complet", - "noneAvailable": "Aucune option de téléchargement n'est disponible.", - "pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", - "preview": "Aperçu", - "title": "Télécharger", - "wholeImageHighRes": "Image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImagesHighRes": "Images ({0})", - "wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", - "wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre." - } - }, - "loginDialogue": { - "content": { - "login": "Connexion", - "logout": "Déconnexion", - "cancel": "Annuler" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Pivoter à droite", - "moreInfo": "Informations", - "zoomIn": "Zoom avant", - "zoomOut": "Zoom arrière" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Télécharger", - "selectAll": "Tout sélectionner", - "title": "Sélectionner les pages à télécharger" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Fermer", - "emptyValue": "Veuillez saisir une valeur", - "first": "Premier", - "firstImage": "Première image", - "firstPage": "Première page", - "folio": "Folio", - "gallery": "Gallerie", - "go": "Aller", - "help": "Aide", - "image": "Image", - "last": "Dernier", - "lastImage": "Dernière image", - "lastPage": "Dernière page", - "next": "Suivant", - "nextImage": "Prochaine image", - "nextPage": "Page suivante", - "of": "de {0}", - "oneUp": "Affichage en mode page simple", - "page": "Page", - "pageSearchLabel": "Recherche par numéro de page.", - "previous": "Précédent", - "previousImage": "Image précédente", - "previousPage": "Page précédente", - "settings": "Paramètres", - "twoUp": "Affichage double page" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Attribution", - "goHome": "Retour", - "imageUnavailable": "Image non disponible", - "next": "Prochain", - "previous": "Précédent", - "rotateRight": "Pivoter à droite", - "zoomIn": "Zoomer", - "zoomOut": "Dézoomer" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Annuler" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Effacer", - "defaultLabel": "-", - "displaying": "{0} {1} de {2}", - "enterKeyword": "Saisir un mot", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance de '{0}' trouvée", - "instancesFound": "{0} instances de '{1}' trouvées", - "nextResult": "Résultat suivant", - "page": "page", - "pageCaps": "Page", - "previousResult": "Résultat précédent", - "print": "Imprimer", - "resultFoundFor": "résultat trouvé pour ", - "resultsFoundFor": "résultats trouvés pour", - "searchWithin": "Chercher dans ce document :" - } - }, - "settingsDialogue": { - "content": { - "locale": "Langues", - "navigatorEnabled": "Navigateur activé", - "clickToZoomEnabled": "Cliquer pour zoomer", - "pagingEnabled": "Affichage double page", - "reducedMotion": "Réduire le mouvement (désactive les animations)", - "preserveViewport": "Conserver le zoom", - "title": "Paramètres", - "website": "informations" - } - } - }, - "localisation": { - "label": "Français (FR)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", - "authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", - "canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", - "fallbackDegradedLabel": "Connexion", - "fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", - "forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", - "termsOfUse": "Conditions d'utilisation" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/pl-PL.json b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/pl-PL.json deleted file mode 100644 index 34ed221ca..000000000 --- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/pl-PL.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "niestandardowy", - "embed": "Osadź", - "embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "height": "Wysokość", - "iiif": "Manifest IIIF", - "share": "Udostępnij", - "shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", - "size": "Rozmiar:", - "width": "Szerokość" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Dodaj do zakładek", - "download": "Pobierz", - "embed": "Osadź", - "exitFullScreen": "Zamknij pełny ekran", - "fullScreen": "Pełny ekran", - "moreInfo": "Więcej informacji", - "open": "Otwórz", - "share": "Udostępnij" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Zamknij", - "help": "Pomoc" - } - }, - "helpDialogue": { - "content": { - "text": "tekst zastępczy", - "title": "Pomoc" - } - }, - "mediaelementCenterPanel": { - "defaultHeight": 420, - "defaultWidth": 560, - "content": {} - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Źródło", - "collapse": "Zwiń informacje", - "collapseFull": "Zwiń galerię", - "description": "Opis", - "expand": "Rozwiń informacje", - "expandFull": "Rozwiń galerię", - "holdingText": "Miejsce na twój moduł!", - "less": "mniej", - "license": "Licencja", - "logo": "Logo", - "more": "więcej", - "noData": "Brak danych do wyświetlenia", - "page": "Strona", - "title": "Więcej informacji", - "manifestHeader": "O obiekcie", - "canvasHeader": "O obrazie", - "copyToClipboard": "Skopiuj do schowka", - "copiedToClipboard": "Skopiowano do schowka" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - }, - "content": { - "title": "Zawartość" - } - }, - "dialogue": { - "content": { - "close": "Zamknij" - } - }, - "downloadDialogue": { - "content": { - "download": "Pobierz", - "entireFileAsOriginal": "Cały plik", - "noneAvailable": "Brak dostępnych opcji pobierania.", - "preview": "Podgląd", - "title": "Pobieranie" - } - }, - "loginDialogue": { - "content": { - "login": "Zaloguj się", - "cancel": "Anuluj" - } - }, - "settingsDialogue": { - "content": { - "locale": "Język", - "pagingEnabled": "Widok dwóch stron", - "reducedMotion": "Zmniejsz ruch (wyłącza animacje)", - "preserveViewport": "Zachowanie przybliżenia", - "title": "Ustawienia", - "website": "więcej informacji" - } - } - }, - "localisation": { - "label": "Polski", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", - "authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", - "degradedResourceMessage": "Zaloguj się, aby wyświetlić w pełnej jakości.", - "degradedResourceLogin": "Zaloguj się", - "forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/sv-SE.json b/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/sv-SE.json deleted file mode 100644 index 89f0f032e..000000000 --- a/src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/sv-SE.json +++ /dev/null @@ -1,323 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "Anpassad", - "embed": "Bädda in", - "embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", - "height": "Höjd", - "iiif": "IIIF Manifest", - "share": "Dela", - "shareInstructions": "Kopiera länken nedan för att dela det här objektet.", - "size": "Storlek:", - "width": "Bredd" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Lägg till bokmärke", - "download": "Ladda ner", - "embed": "Bädda in", - "exitFullScreen": "Avsluta helskärm", - "feedback": "Feedback", - "fullScreen": "Helskärm", - "moreInfo": "Mer information", - "open": "Öppna", - "share": "Dela" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "ange ett värde.", - "invalidNumber": "Ange ett giltigt nummer.", - "noMatches": "Inga träffar hittades.", - "ok": "OK", - "pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", - "refresh": "Uppdatera" - } - }, - "headerPanel": {}, - "helpDialogue": { - "content": { - "text": "platshållartext", - "title": "Hjälp" - } - }, - "mediaelementCenterPanel": { - "defaultHeight": 420, - "defaultWidth": 560 - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Upphov", - "collapse": "Fäll ihop information", - "collapseFull": "Fäll ihop galleri", - "description": "Beskrivning", - "expand": "Expandera information", - "expandFull": "Expandera galleri", - "holdingText": "Plats för din modul!", - "less": "mindre", - "license": "Licensvillkor", - "logo": "Logotyp", - "more": "mer", - "noData": "Ingen information att visa", - "page": "Sida", - "title": "Mer information", - "manifestHeader": "Om objektet", - "canvasHeader": "Om bilden", - "copyToClipboard": "Kopiera till urklipp", - "copiedToClipboard": "Kopierade till urklipp" - } - }, - "resourcesLeftPanel": { - "options": { - "expandFullEnabled": false, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true - } - }, - "authDialogue": { - "content": { - "cancel": "Avbryt", - "confirm": "Bekräfta" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Läs fullständiga villkor" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Fäll ihop innehåll", - "collapseFull": "Fäll ihop galleri", - "date": "datum", - "expand": "Expandera innehåll", - "expandFull": "Expandera galleri", - "index": "Index", - "manifestRanges": "Manifest-omfång", - "searchResult": "{0} sökträffar", - "searchResults": "{0} sökträffar", - "sortBy": "Sortera efter:", - "thumbnails": "Småbilder", - "title": "Innehåll", - "volume": "volym" - } - }, - "dialogue": { - "content": { - "close": "Stäng" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Öppnas i nytt fönster", - "download": "Ladda ner", - "downloadSelection": "Ladda ner valt område", - "downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", - "editSettings": "Ändra inställningar", - "entireDocument": "Hela dokumentet ({0})", - "entireFileAsOriginal": "Hela filen", - "noneAvailable": "Inga nedladdningsalternativ är tillgängliga.", - "pagingNote": "Stäng dubbelsidig vy för fler alternativ", - "preview": "Förhandsgranska", - "title": "Ladda ner", - "wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Öppnas i nytt fönster.", - "wholeImagesHighRes": "Hela bilder ({0})", - "wholeImagesHighResExplanation": "Öppnas i två nya fönster.", - "wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster." - } - }, - "loginDialogue": { - "content": { - "login": "Logga in", - "logout": "Logga ut", - "cancel": "Avbryt" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotera höger", - "moreInfo": "Mer information", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Ladda ner", - "selectAll": "Markera alla", - "title": "Välj sidor att ladda ner" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Stäng", - "emptyValue": "Ange ett värde", - "first": "Första", - "firstImage": "Första bild", - "firstPage": "Första sidan", - "folio": "Folio", - "gallery": "Galleri", - "go": "Gå", - "help": "Hjälp", - "image": "Bild", - "last": "Sista", - "lastImage": "Sista bilden", - "lastPage": "Sista sidan", - "next": "Nästa", - "nextImage": "Nästa bild", - "nextPage": "Nästa sida", - "of": "av {0}", - "oneUp": "Enkelsidig vy", - "page": "Sida", - "pageSearchLabel": "Sök med sidnummer", - "previous": "Föregående", - "previousImage": "Föregående bild", - "previousPage": "Föregående sida", - "settings": "Inställningar", - "twoUp": "Dubbelsidig vy" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Upphov", - "goHome": "Visa hela sidan", - "imageUnavailable": "Bild ej tillgänglig", - "next": "Nästa", - "previous": "Föregående", - "rotateRight": "Rotera höger", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "avCenterPanel": { - "content": { - "currentTime": "Aktuell tid", - "delimiter": " - ", - "duration": "Speltid", - "mute": "Tyst", - "next": "Nästa", - "pause": "Paus", - "play": "Spela", - "previous": "Föregående" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Avbryt" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Rensa sökning", - "defaultLabel": "-", - "displaying": "{0} {1} av {2}", - "enterKeyword": "Ange sökord", - "image": "bild", - "imageCaps": "Bild", - "instanceFound": "1 instans av '{0}' hittades", - "instancesFound": "{0} instanser av '{1}' hittades", - "nextResult": "Nästa träff", - "page": "sida", - "pageCaps": "Sida", - "previousResult": "Föregående träff", - "print": "Skriv ut", - "resultFoundFor": "träff hittades för", - "resultsFoundFor": "träffar hittades för", - "searchWithin": "Sök inom detta objekt:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Språk", - "navigatorEnabled": "Visa minivy", - "clickToZoomEnabled": "Zooma med musklick", - "pagingEnabled": "Dubbelsidig vy", - "reducedMotion": "Minska rörelse (inaktiverar animationer)", - "preserveViewport": "Behåll zoomnivå", - "title": "Inställningar", - "website": "mer info" - } - } - }, - "localisation": { - "label": "Svenska", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", - "authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", - "canvasIndexOutOfRange": "Canvas-index ogiltigt.", - "fallbackDegradedLabel": "Logga in", - "fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", - "forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", - "termsOfUse": "Användningsvillkor" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/Extension.ts b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/Extension.ts index 30ce98ac2..4ea92c165 100644 --- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/Extension.ts +++ b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/Extension.ts @@ -18,7 +18,7 @@ import { Canvas, LanguageMap } from "manifesto.js"; import { ModelViewerExtensionEvents } from "./Events"; import { Orbit } from "./Orbit"; import "./theme/theme.less"; -import defaultConfig from "./config/en-GB.json"; +import defaultConfig from "./config/config.json"; import { AnnotationGroup } from "@iiif/manifold"; import { AnnotationResults } from "../../modules/uv-shared-module/AnnotationResults"; @@ -41,11 +41,7 @@ export default class ModelViewerExtension extends BaseExtension { shareDialogue: ShareDialogue; defaultConfig: any = defaultConfig; locales = { - "en-GB": defaultConfig, - "cy-GB": () => import("./config/cy-GB.json"), - "fr-FR": () => import("./config/fr-FR.json"), - "pl-PL": () => import("./config/pl-PL.json"), - "sv-SE": () => import("./config/sv-SE.json"), + "en-GB": defaultConfig }; create(): void { diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/en-GB.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json similarity index 54% rename from src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/en-GB.json rename to src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json index 1f50ea386..9ce56b8e7 100644 --- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/en-GB.json +++ b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json @@ -1,230 +1,230 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": false, - "limitLocales": false, - "doubleClickAnnotationEnabled": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "openTemplate": "http://universalviewer.io?manifest={0}", - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "", - "shareManifestsEnabled": true - }, - "content": { - "customSize": "custom", - "embed": "Embed", - "embedInstructions": "To embed this item in your own website, copy and paste the code below.", - "height": "Height", - "iiif": "IIIF Manifest", - "share": "Share", - "shareInstructions": "To share this item, copy the URL below.", - "size": "Size:", - "width": "Width" - } - }, - "footerPanel": { - "options": { - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Add to bookmarks", - "download": "Download", - "embed": "Embed", - "exitFullScreen": "Exit Full Screen", - "fullScreen": "Full Screen", - "moreInfo": "More Information", - "open": "Open", - "share": "Share" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Close", - "help": "Help", - "settings": "Settings" - } - }, - "helpDialogue": { - "content": { - "text": "placeholder text", - "title": "Help" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Collapse Information", - "collapseFull": "Collapse Gallery", - "description": "Description", - "expand": "Expand Information", - "expandFull": "Expand Gallery", - "holdingText": "Your module goes here!", - "less": "less", - "license": "License", - "logo": "Logo", - "more": "more", - "noData": "No data to display", - "page": "Page", - "title": "More Information", - "manifestHeader": "About the item", - "canvasHeader": "About the image", - "copyToClipboard": "Copy to clipboard", - "copiedToClipboard": "Copied to clipboard" - } - }, - "contentLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "modelViewerCenterPanel": { - "options": { - "autoRotateEnabled": false, - "cameraChangeDelay": 500, - "interactionPromptEnabled": false - }, - "content": { - "attribution": "Attribution", - "zoomIn": "Zoom In", - "zoomOut": "Zoom Out", - "vr": "VR" - } - }, - "dialogue": { - "content": { - "close": "Close" - } - }, - "downloadDialogue": { - "content": { - "download": "Download", - "entireFileAsOriginal": "Entire file", - "noneAvailable": "No download options are available.", - "preview": "Preview", - "title": "Download" - } - }, - "loginDialogue": { - "content": { - "login": "Login", - "cancel": "Cancel" - } - }, - "mediaelementCenterPanel": { - "content": {} - }, - "settingsDialogue": { - "content": { - "locale": "Locale", - "pagingEnabled": "Two Page View", - "reducedMotion": "Reduce motion (disables animations)", - "preserveViewport": "Preserve Zoom", - "title": "Settings", - "website": "more info" - } - } - }, - "localisation": { - "label": "English (GB)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Your browser does not support CORS, please upgrade to view this content.", - "authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", - "degradedResourceMessage": "Please log in to view at full quality.", - "degradedResourceLogin": "log in", - "forbiddenResourceMessage": "Your current access rights are insufficient to view this image", - "mediaViewer": "Media Viewer", - "skipToDownload": "Skip to downloads and alternative formats" - } +{ + "options": { + "authAPIVersion": 1, + "bookmarkThumbHeight": 150, + "bookmarkThumbWidth": 90, + "dropEnabled": true, + "footerPanelEnabled": true, + "headerPanelEnabled": true, + "leftPanelEnabled": false, + "limitLocales": false, + "doubleClickAnnotationEnabled": false, + "metrics": [ + { + "type": "sm", + "minWidth": 0 + }, + { + "type": "md", + "minWidth": 768 + }, + { + "type": "lg", + "minWidth": 1024 + }, + { + "type": "xl", + "minWidth": 1280 + } + ], + "openTemplate": "http://universalviewer.io?manifest={0}", + "rightPanelEnabled": true, + "theme": "uv-en-GB-theme" + }, + "modules": { + "shareDialogue": { + "options": { + "embedTemplate": "", + "shareManifestsEnabled": true + }, + "content": { + "customSize": "$custom", + "embed": "$embed", + "embedInstructions": "$embedInstructions", + "height": "$height", + "iiif": "$iiifManifest", + "share": "$share", + "shareInstructions": "$shareInstructions", + "size": "$size", + "width": "$width" + } + }, + "footerPanel": { + "options": { + "downloadEnabled": true, + "embedEnabled": false, + "feedbackEnabled": false, + "minimiseButtons": true, + "moreInfoEnabled": true, + "openEnabled": false, + "shareEnabled": true + }, + "content": { + "bookmark": "$add_to_bookmarks", + "download": "$download", + "embed": "$embed", + "exitFullScreen": "$exitFullScreen", + "fullScreen": "$fullScreen", + "moreInfo": "$moreInfo", + "open": "$open", + "share": "$share" + } + }, + "genericDialogue": { + "content": { + "ok": "$ok" + } + }, + "headerPanel": { + "content": { + "close": "$close", + "help": "$help", + "settings": "$settings" + } + }, + "helpDialogue": { + "content": { + "text": "$placeholder_text", + "title": "$help" + } + }, + "moreInfoRightPanel": { + "options": { + "canvasDisplayOrder": "", + "canvasExclude": "", + "copyToClipboardEnabled": false, + "manifestDisplayOrder": "", + "manifestExclude": "", + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": false, + "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", + "showAllLanguages": false, + "textLimit": 4, + "textLimitType": "lines" + }, + "content": { + "attribution": "$attribution", + "collapse": "$collapseInformation", + "collapseFull": "$collapseGallery", + "description": "$description", + "expand": "$expandInformation", + "expandFull": "$expandGallery", + "holdingText": "$moduleGoesHere", + "less": "$less", + "license": "$license", + "logo": "$logo", + "more": "$more", + "noData": "$noDataToDisplay", + "page": "$page", + "title": "$moreInformation", + "manifestHeader": "$aboutTheItem", + "canvasHeader": "$aboutTheImage", + "copyToClipboard": "$copyToClipboard", + "copiedToClipboard": "$copiedToClipboard" + } + }, + "contentLeftPanel": { + "options": { + "elideCount": 40, + "galleryThumbHeight": 320, + "galleryThumbWidth": 200, + "oneColThumbHeight": 320, + "oneColThumbWidth": 200, + "pageModeEnabled": true, + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": true, + "thumbsEnabled": true, + "thumbsExtraHeight": 8, + "thumbsImageFadeInDuration": 300, + "thumbsLoadRange": 15, + "treeEnabled": true, + "twoColThumbHeight": 150, + "twoColThumbWidth": 90 + } + }, + "modelViewerCenterPanel": { + "options": { + "autoRotateEnabled": false, + "cameraChangeDelay": 500, + "interactionPromptEnabled": false + }, + "content": { + "attribution": "$attribution", + "zoomIn": "$zoomIn", + "zoomOut": "$zoomOut", + "vr": "$vr" + } + }, + "dialogue": { + "content": { + "close": "$close" + } + }, + "downloadDialogue": { + "content": { + "download": "$download", + "entireFileAsOriginal": "$entireFile", + "noneAvailable": "$noDownloadOptionsAvailable", + "preview": "$preview", + "title": "$download" + } + }, + "loginDialogue": { + "content": { + "login": "$login", + "cancel": "$cancel" + } + }, + "mediaelementCenterPanel": { + "content": {} + }, + "settingsDialogue": { + "content": { + "locale": "$locale", + "pagingEnabled": "$twoPageView", + "reducedMotion": "$reducedMotion", + "preserveViewport": "$preserveViewport", + "title": "$settings", + "website": "$uvWebsite" + } + } + }, + "localisation": { + "label": "English (GB)", + "locales": [ + { + "name": "cy-GB", + "label": "Cymraeg" + }, + { + "name": "en-GB", + "label": "English (GB)" + }, + { + "name": "fr-FR", + "label": "Français (FR)" + }, + { + "name": "pl-PL", + "label": "Polski" + }, + { + "name": "sv-SE", + "label": "Svenska" + } + ] + }, + "content": { + "authCORSError": "$authCORSError", + "authorisationFailedMessage": "$authorisationFailedMessage", + "degradedResourceMessage": "$pleaseLogInToViewAtFullQuality", + "degradedResourceLogin": "$log_in", + "forbiddenResourceMessage": "$forbiddenResourceMessage", + "mediaViewer": "$mediaViewer", + "skipToDownload": "$skipToDownload" + } } \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/cy-GB.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/cy-GB.json deleted file mode 100644 index ed45abae4..000000000 --- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/cy-GB.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": false, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "openTemplate": "http://universalviewer.io?manifest={0}", - "rightPanelEnabled": true, - "theme": "uv-cy-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "", - "shareManifestsEnabled": true - }, - "content": { - "customSize": "arfer", - "embed": "gwreiddio", - "embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, cop�wch a gosodwch y cod isod.", - "height": "Hyd", - "iiif": "IIIF Manifest", - "share": "Rhannu", - "shareInstructions": "I rannu yr eitem hon, copïwch y URL isod.", - "size": "maint:", - "width": "Lled" - } - }, - "footerPanel": { - "options": { - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ychwanegu at nodau tudalen", - "download": "Lawrlwytho", - "embed": "Ymgorffori", - "exitFullScreen": "Dianc o'r sgrin lawn", - "fullScreen": "Sgrin lawn", - "moreInfo": "Mwy o Wybodaeth", - "open": "agored", - "share": "Rhannu" - } - }, - "genericDialogue": { - "content": { - "ok": "GWELD" - } - }, - "headerPanel": { - "content": { - "close": "Cau", - "help": "Cymorth", - "settings": "Dewisiadau" - } - }, - "helpDialogue": { - "content": { - "text": "testun i'w osod", - "title": "Cymorth" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Priodoledd", - "collapse": "Lleihau'r Wybodaeth", - "collapseFull": "Cuddio'r Galeri", - "description": "Disgrifiad", - "expand": "Ehangu'r Wybodaeth", - "expandFull": "Ehangu'r Galeri", - "holdingText": "Eich modiwl fan hyn!", - "less": "llai", - "license": "Trwydded", - "logo": "Logo", - "more": "mwy", - "noData": "Nid oes data i'w arddangos", - "page": "tudalen", - "title": "Mwy o Wybodaeth", - "manifestHeader": "Am yr eitem", - "canvasHeader": "Am y ddelwedd", - "copyToClipboard": "Copïo i'r clipfwrdd", - "copiedToClipboard": "Copïwyd i'r clipfwrdd" - } - }, - "contentLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "modelViewerCenterPanel": { - "options": { - "autoRotateEnabled": false, - "cameraChangeDelay": 500, - "interactionPromptEnabled": false - }, - "content": { - "attribution": "Priodoliad", - "zoomIn": "chwyddo Mewn", - "zoomOut": "Zoom Out", - "vr": "VR" - } - }, - "dialogue": { - "content": { - "close": "Cau" - } - }, - "downloadDialogue": { - "content": { - "download": "Lawrlwytho", - "entireFileAsOriginal": "Y ffeil gyfan", - "noneAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", - "preview": "Rhagolwg", - "title": "Lawrlwytho" - } - }, - "loginDialogue": { - "content": { - "login": "Mewngofnodi", - "cancel": "Diddymu" - } - }, - "mediaelementCenterPanel": { - "content": {} - }, - "settingsDialogue": { - "content": { - "locale": "Iaith", - "pagingEnabled": "Arddangos dwy dudalen", - "reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", - "preserveViewport": "Cadw'r lefel o glosio", - "title": "Dewisiadau", - "website": "mwy o wybodaeth" - } - } - }, - "localisation": { - "label": "Cymraeg", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Eich porwr yn peidio cefnogi CORS, os gwelwch yn dda uwchraddio i weld y cynnwys hwn.", - "authorisationFailedMessage": "Nid oedd yn ymddangos eich ymgais mewngofnodi i fod yn llwyddiannus . Trio eto os gwelwch yn dda.", - "degradedResourceMessage": "Os gwelwch yn dda mewngofnodwch i weld yn ansawdd llawn.", - "degradedResourceLogin": "Mewngofnodi", - "forbiddenResourceMessage": "Eich hawliau mynediad presennol yn annigonol i weld llun hwn" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/fr-FR.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/fr-FR.json deleted file mode 100644 index 01df2c453..000000000 --- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/fr-FR.json +++ /dev/null @@ -1,343 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": false, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "openTemplate": "http://universalviewer.io?manifest={0}", - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "", - "shareManifestsEnabled": true - }, - "content": { - "customSize": "personnalisée", - "embed": "Intégrer", - "embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", - "height": "Hauteur", - "iiif": "Manifeste IIIF", - "share": "Partager", - "shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", - "size": "Taille :", - "width": "Largeur" - } - }, - "footerPanel": { - "options": { - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ajouter aux favoris", - "download": "Télécharger", - "embed": "Intégrer", - "exitFullScreen": "Quitter le mode plein écran", - "feedback": "Commentaire", - "fullScreen": "Affichage en plein écran", - "moreInfo": "Informations", - "open": "Ouvrir", - "share": "Partager" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "veuillez saisir une valeur.", - "invalidNumber": "Veuillez saisir un nombre valide.", - "noMatches": "Aucune correspondance n'a été trouvée.", - "ok": "OK", - "pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", - "refresh": "Rafraîchir" - } - }, - "headerPanel": {}, - "helpDialogue": { - "content": { - "text": "texte d'exemple", - "title": "Aide" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Masquer les informations", - "collapseFull": "Masquer la galerie", - "description": "Description", - "expand": "Afficher les informations", - "expandFull": "Afficher la galerie", - "holdingText": "Votre module vient ici !", - "less": "moins", - "license": "Licence", - "logo": "Logo", - "more": "suite", - "noData": "Aucune donnée à afficher", - "page": "Page", - "title": "Informations", - "manifestHeader": "A propos du contenu", - "canvasHeader": "A propos de l'image", - "copyToClipboard": "Copier dans le presse-papiers", - "copiedToClipboard": "Copié dans le presse-papiers" - } - }, - "contentLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Masquer les contenus", - "collapseFull": "Masquer la galerie", - "date": "date", - "expand": "Afficher les contenus", - "expandFull": "Afficher la galerie", - "index": "Index", - "manifestRanges": "Manifestes", - "searchResult": "{0} résultats", - "searchResults": "{0} résultats", - "sortBy": "Trier par :", - "thumbnails": "Vignettes", - "title": "Contenus", - "volume": "volume" - } - }, - "modelViewerCenterPanel": { - "options": { - "autoRotateEnabled": false, - "cameraChangeDelay": 500, - "interactionPromptEnabled": false - } - }, - "authDialogue": { - "content": { - "cancel": "Annuler", - "confirm": "Confirmer" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Lire les termes et les conditions d'utilisation" - } - }, - "dialogue": { - "content": { - "close": "Fermer" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Ouvre une nouvelle fenêtre", - "download": "Télécharger", - "downloadSelection": "Télécharger la sélection", - "downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", - "editSettings": "Modifier les paramètres", - "entireDocument": "Document entier ({0})", - "entireFileAsOriginal": "Fichier complet", - "noneAvailable": "Aucune option de téléchargement n'est disponible.", - "pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", - "preview": "Aperçu", - "title": "Télécharger", - "wholeImageHighRes": "Image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImagesHighRes": "Images ({0})", - "wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", - "wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre." - } - }, - "loginDialogue": { - "content": { - "login": "Connexion", - "logout": "Déconnexion", - "cancel": "Annuler" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Pivoter à droite", - "moreInfo": "Informations", - "zoomIn": "Zoom avant", - "zoomOut": "Zoom arrière" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Télécharger", - "selectAll": "Tout sélectionner", - "title": "Sélectionner les pages à télécharger" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Fermer", - "emptyValue": "Veuillez saisir une valeur", - "first": "Premier", - "firstImage": "Première image", - "firstPage": "Première page", - "folio": "Folio", - "gallery": "Gallerie", - "go": "Aller", - "help": "Aide", - "image": "Image", - "last": "Dernier", - "lastImage": "Dernière image", - "lastPage": "Dernière page", - "next": "Suivant", - "nextImage": "Prochaine image", - "nextPage": "Page suivante", - "of": "de {0}", - "oneUp": "Affichage en mode page simple", - "page": "Page", - "pageSearchLabel": "Recherche par numéro de page.", - "previous": "Précédent", - "previousImage": "Image précédente", - "previousPage": "Page précédente", - "settings": "Paramètres", - "twoUp": "Affichage double page" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Attribution", - "goHome": "Retour", - "imageUnavailable": "Image non disponible", - "next": "Prochain", - "previous": "Précédent", - "rotateRight": "Pivoter à droite", - "zoomIn": "Zoomer", - "zoomOut": "Dézoomer" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Annuler" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Effacer", - "defaultLabel": "-", - "displaying": "{0} {1} de {2}", - "enterKeyword": "Saisir un mot", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance de '{0}' trouvée", - "instancesFound": "{0} instances de '{1}' trouvées", - "nextResult": "Résultat suivant", - "page": "page", - "pageCaps": "Page", - "previousResult": "Résultat précédent", - "print": "Imprimer", - "resultFoundFor": "résultat trouvé pour ", - "resultsFoundFor": "résultats trouvés pour", - "searchWithin": "Chercher dans ce document :" - } - }, - "settingsDialogue": { - "content": { - "locale": "Langues", - "navigatorEnabled": "Navigateur activé", - "clickToZoomEnabled": "Cliquer pour zoomer", - "pagingEnabled": "Affichage double page", - "reducedMotion": "Réduire le mouvement (désactive les animations)", - "preserveViewport": "Conserver le zoom", - "title": "Paramètres", - "website": "informations" - } - } - }, - "localisation": { - "label": "Français (FR)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", - "authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", - "canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", - "fallbackDegradedLabel": "Connexion", - "fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", - "forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", - "termsOfUse": "Conditions d'utilisation" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/pl-PL.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/pl-PL.json deleted file mode 100644 index 857f152fb..000000000 --- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/pl-PL.json +++ /dev/null @@ -1,229 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": false, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "openTemplate": "http://universalviewer.io?manifest={0}", - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "", - "shareManifestsEnabled": true - }, - "content": { - "customSize": "niestandardowy", - "embed": "Osadź", - "embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "height": "Wysokość", - "iiif": "Manifest IIIF", - "share": "Udostępnij", - "shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", - "size": "Rozmiar:", - "width": "Szerokość" - } - }, - "footerPanel": { - "options": { - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Dodaj do zakładek", - "download": "Pobierz", - "embed": "Osadź", - "exitFullScreen": "Zamknij pełny ekran", - "fullScreen": "Pełny ekran", - "moreInfo": "Więcej informacji", - "open": "Otwórz", - "share": "Udostępnij" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Zamknij", - "help": "Pomoc", - "settings": "Ustawienia" - } - }, - "helpDialogue": { - "content": { - "text": "tekst zastępczy", - "title": "Pomoc" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Źródło", - "collapse": "Zwiń informacje", - "collapseFull": "Zwiń galerię", - "description": "Opis", - "expand": "Rozwiń informacje", - "expandFull": "Rozwiń galerię", - "holdingText": "Miejsce na twój moduł!", - "less": "mniej", - "license": "Licencja", - "logo": "Logo", - "more": "więcej", - "noData": "Brak danych do wyświetlenia", - "page": "Strona", - "title": "Więcej informacji", - "manifestHeader": "O obiekcie", - "canvasHeader": "O obrazie", - "copyToClipboard": "Skopiuj do schowka", - "copiedToClipboard": "Skopiowano do schowka" - } - }, - "contentLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "modelViewerCenterPanel": { - "options": { - "autoRotateEnabled": false, - "cameraChangeDelay": 500, - "interactionPromptEnabled": false - } - }, - "dialogue": { - "content": { - "close": "Zamknij" - } - }, - "downloadDialogue": { - "content": { - "download": "Pobierz", - "entireFileAsOriginal": "Cały plik", - "noneAvailable": "Brak dostępnych opcji pobierania.", - "preview": "Podgląd", - "title": "Pobieranie" - } - }, - "loginDialogue": { - "content": { - "login": "Zaloguj się", - "cancel": "Anuluj" - } - }, - "mediaelementCenterPanel": { - "content": {} - }, - "settingsDialogue": { - "content": { - "locale": "Język", - "pagingEnabled": "Widok dwóch stron", - "reducedMotion": "Zmniejsz ruch (wyłącza animacje)", - "preserveViewport": "Zachowanie przybliżenia", - "title": "Ustawienia", - "website": "więcej informacji" - } - }, - "virtexCenterPanel": { - "content": { - "attribution": "Źródło", - "zoomIn": "Przybliż", - "zoomOut": "Oddal", - "vr": "VR" - } - } - }, - "localisation": { - "label": "Polski", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", - "authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", - "degradedResourceMessage": "Zaloguj się, aby wyświetlić w pełnej jakości.", - "degradedResourceLogin": "Zaloguj się", - "forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/sv-SE.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/sv-SE.json deleted file mode 100644 index d71f0194d..000000000 --- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/sv-SE.json +++ /dev/null @@ -1,355 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": false, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "openTemplate": "http://universalviewer.io?manifest={0}", - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme" - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "", - "shareManifestsEnabled": true - }, - "content": { - "customSize": "Anpassad", - "embed": "Bädda in", - "embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", - "height": "Höjd", - "iiif": "IIIF Manifest", - "share": "Dela", - "shareInstructions": "Kopiera länken nedan för att dela det här objektet.", - "size": "Storlek:", - "width": "Bredd" - } - }, - "footerPanel": { - "options": { - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Lägg till bokmärke", - "download": "Ladda ner", - "embed": "Bädda in", - "exitFullScreen": "Avsluta helskärm", - "feedback": "Feedback", - "fullScreen": "Helskärm", - "moreInfo": "Mer information", - "open": "Öppna", - "share": "Dela" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "ange ett värde.", - "invalidNumber": "Ange ett giltigt nummer.", - "noMatches": "Inga träffar hittades.", - "ok": "OK", - "pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", - "refresh": "Uppdatera" - } - }, - "headerPanel": {}, - "helpDialogue": { - "content": { - "text": "platshållartext", - "title": "Hjälp" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Upphov", - "collapse": "Fäll ihop information", - "collapseFull": "Fäll ihop galleri", - "description": "Beskrivning", - "expand": "Expandera information", - "expandFull": "Expandera galleri", - "holdingText": "Plats för din modul!", - "less": "mindre", - "license": "Licensvillkor", - "logo": "Logotyp", - "more": "mer", - "noData": "Ingen information att visa", - "page": "Sida", - "title": "Mer information", - "manifestHeader": "Om objektet", - "canvasHeader": "Om bilden", - "copyToClipboard": "Kopiera till urklipp", - "copiedToClipboard": "Kopierade till urklipp" - } - }, - "contentLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Fäll ihop innehåll", - "collapseFull": "Fäll ihop galleri", - "date": "datum", - "expand": "Expandera innehåll", - "expandFull": "Expandera galleri", - "index": "Index", - "manifestRanges": "Manifest-omfång", - "searchResult": "{0} sökträffar", - "searchResults": "{0} sökträffar", - "sortBy": "Sortera efter:", - "thumbnails": "Småbilder", - "title": "Innehåll", - "volume": "volym" - } - }, - "modelViewerCenterPanel": { - "options": { - "autoRotateEnabled": false, - "cameraChangeDelay": 500, - "interactionPromptEnabled": false - } - }, - "authDialogue": { - "content": { - "cancel": "Avbryt", - "confirm": "Bekräfta" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Läs fullständiga villkor" - } - }, - "dialogue": { - "content": { - "close": "Stäng" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Öppnas i nytt fönster", - "download": "Ladda ner", - "downloadSelection": "Ladda ner valt område", - "downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", - "editSettings": "Ändra inställningar", - "entireDocument": "Hela dokumentet ({0})", - "entireFileAsOriginal": "Hela filen", - "noneAvailable": "Inga nedladdningsalternativ är tillgängliga.", - "pagingNote": "Stäng dubbelsidig vy för fler alternativ", - "preview": "Förhandsgranska", - "title": "Ladda ner", - "wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Öppnas i nytt fönster.", - "wholeImagesHighRes": "Hela bilder ({0})", - "wholeImagesHighResExplanation": "Öppnas i två nya fönster.", - "wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster." - } - }, - "loginDialogue": { - "content": { - "login": "Logga in", - "logout": "Logga ut", - "cancel": "Avbryt" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotera höger", - "moreInfo": "Mer information", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Ladda ner", - "selectAll": "Markera alla", - "title": "Välj sidor att ladda ner" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Stäng", - "emptyValue": "Ange ett värde", - "first": "Första", - "firstImage": "Första bild", - "firstPage": "Första sidan", - "folio": "Folio", - "gallery": "Galleri", - "go": "Gå", - "help": "Hjälp", - "image": "Bild", - "last": "Sista", - "lastImage": "Sista bilden", - "lastPage": "Sista sidan", - "next": "Nästa", - "nextImage": "Nästa bild", - "nextPage": "Nästa sida", - "of": "av {0}", - "oneUp": "Enkelsidig vy", - "page": "Sida", - "pageSearchLabel": "Sök med sidnummer", - "previous": "Föregående", - "previousImage": "Föregående bild", - "previousPage": "Föregående sida", - "settings": "Inställningar", - "twoUp": "Dubbelsidig vy" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Upphov", - "goHome": "Visa hela sidan", - "imageUnavailable": "Bild ej tillgänglig", - "next": "Nästa", - "previous": "Föregående", - "rotateRight": "Rotera höger", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "avCenterPanel": { - "content": { - "currentTime": "Aktuell tid", - "delimiter": " - ", - "duration": "Speltid", - "mute": "Tyst", - "next": "Nästa", - "pause": "Paus", - "play": "Spela", - "previous": "Föregående" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Avbryt" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Rensa sökning", - "defaultLabel": "-", - "displaying": "{0} {1} av {2}", - "enterKeyword": "Ange sökord", - "image": "bild", - "imageCaps": "Bild", - "instanceFound": "1 instans av '{0}' hittades", - "instancesFound": "{0} instanser av '{1}' hittades", - "nextResult": "Nästa träff", - "page": "sida", - "pageCaps": "Sida", - "previousResult": "Föregående träff", - "print": "Skriv ut", - "resultFoundFor": "träff hittades för", - "resultsFoundFor": "träffar hittades för", - "searchWithin": "Sök inom detta objekt:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Språk", - "navigatorEnabled": "Visa minivy", - "clickToZoomEnabled": "Zooma med musklick", - "pagingEnabled": "Dubbelsidig vy", - "reducedMotion": "Minska rörelse (inaktiverar animationer)", - "preserveViewport": "Behåll zoomnivå", - "title": "Inställningar", - "website": "mer info" - } - } - }, - "localisation": { - "label": "Svenska", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", - "authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", - "canvasIndexOutOfRange": "Canvas-index ogiltigt.", - "fallbackDegradedLabel": "Logga in", - "fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", - "forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", - "termsOfUse": "Användningsvillkor" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/Extension.ts b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/Extension.ts index ece28af2d..8c539f4fa 100644 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/Extension.ts +++ b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/Extension.ts @@ -46,7 +46,7 @@ import { Manifest, } from "manifesto.js"; import "./theme/theme.less"; -import defaultConfig from "./config/en-GB.json"; +import defaultConfig from "./config/config.json"; import { AnnotationResults } from "../../modules/uv-shared-module/AnnotationResults"; import { Events } from "../../../../Events"; import { createRoot, Root } from "react-dom/client"; @@ -82,11 +82,7 @@ export default class OpenSeadragonExtension extends BaseExtension { shareDialogue: ShareDialogue; defaultConfig: any = defaultConfig; locales = { - "en-GB": defaultConfig, - "cy-GB": () => import("./config/cy-GB.json"), - "fr-FR": () => import("./config/fr-FR.json"), - "pl-PL": () => import("./config/pl-PL.json"), - "sv-SE": () => import("./config/sv-SE.json"), + "en-GB": defaultConfig }; create(): void { diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json new file mode 100644 index 000000000..019ebde53 --- /dev/null +++ b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json @@ -0,0 +1,435 @@ +{ + "options": { + "allowStealFocus": false, + "authAPIVersion": 1, + "bookmarkThumbHeight": 150, + "bookmarkThumbWidth": 90, + "dropEnabled": true, + "footerPanelEnabled": true, + "headerPanelEnabled": true, + "leftPanelEnabled": true, + "limitLocales": false, + "doubleClickAnnotationEnabled": false, + "metrics": [ + { + "type": "sm", + "minWidth": 0 + }, + { + "type": "md", + "minWidth": 768 + }, + { + "type": "lg", + "minWidth": 1024 + }, + { + "type": "xl", + "minWidth": 1280 + } + ], + "multiSelectionMimeType": "application/zip", + "navigatorEnabled": true, + "openTemplate": "http://universalviewer.io?manifest={0}", + "overrideFullScreen": false, + "pagingEnabled": true, + "pagingOptionEnabled": true, + "pessimisticAccessControl": false, + "preserveViewport": false, + "rightPanelEnabled": true, + "saveUserSettings": false, + "clickToZoomEnabled": true, + "searchWithinEnabled": true, + "termsOfUseEnabled": true, + "theme": "uv-en-GB-theme", + "tokenStorage": "session", + "useArrowKeysToNavigate": false, + "zoomToSearchResultEnabled": true, + "zoomToBoundsEnabled": true + }, + "modules": { + "contentLeftPanel": { + "options": { + "autoExpandTreeEnabled": false, + "autoExpandTreeIfFewerThan": 20, + "branchNodesExpandOnClick": true, + "branchNodesSelectable": false, + "defaultToTreeEnabled": false, + "defaultToTreeIfGreaterThan": 0, + "elideCount": 40, + "expandFullEnabled": true, + "galleryThumbChunkedResizingThreshold": 400, + "galleryThumbHeight": 320, + "galleryThumbLoadPadding": 3, + "galleryThumbWidth": 200, + "oneColThumbHeight": 320, + "oneColThumbWidth": 200, + "pageModeEnabled": true, + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": true, + "tabOrder": "", + "thumbsCacheInvalidation": { + "enabled": true, + "paramType": "?" + }, + "thumbsEnabled": true, + "thumbsExtraHeight": 8, + "thumbsImageFadeInDuration": 300, + "thumbsLoadRange": 15, + "treeEnabled": true, + "twoColThumbHeight": 150, + "twoColThumbWidth": 90 + }, + "content": { + "collapse": "$collapse", + "collapseFull": "$collapseFull", + "date": "$date", + "expand": "$expandContents", + "expandFull": "$expandGallery", + "index": "$index", + "manifestRanges": "$manifestRanges", + "searchResult": "$searchResult", + "searchResults": "$searchResults", + "sortBy": "$sortBy", + "thumbnails": "$thumbnails", + "title": "$contents", + "volume": "$volume" + } + }, + "dialogue": { + "topCloseButtonEnabled": false, + "content": { + "close": "$close" + } + }, + "downloadDialogue": { + "options": { + "confinedImageSize": 1000, + "currentViewDisabledPercentage": 90, + "maxImageWidth": 5000, + "optionsExplanatoryTextEnabled": false, + "selectionEnabled": false + }, + "content": { + "allPages": "$allPages", + "currentViewAsJpg": "$currentViewAsJpg", + "currentViewAsJpgExplanation": "$openNewWindow", + "download": "$download", + "downloadSelection": "$downloadSelection", + "downloadSelectionExplanation": "$downloadSelectionExplanation", + "editSettings": "$editSettings", + "entireDocument": "$entireDocument", + "entireFileAsOriginal": "$entireFile", + "individualPages": "$individualPages", + "noneAvailable": "$noDownloadOptionsAvailable", + "pagingNote": "$pagingNote", + "preview": "$preview", + "selection": "$selection", + "termsOfUse": "$termsOfUse", + "title": "$download", + "wholeImageHighRes": "$wholeImageHighRes", + "wholeImageHighResExplanation": "$openNewWindow", + "wholeImageLowResAsJpg": "$wholeImageLowResAsJpg", + "wholeImageLowResAsJpgExplanation": "$openNewWindow", + "wholeImagesHighRes": "$wholeImagesHighRes", + "wholeImagesHighResExplanation": "$wholeImagesHighResExplanation" + } + }, + "footerPanel": { + "options": { + "autocompleteAllowWords": false, + "bookmarkEnabled": false, + "downloadEnabled": true, + "embedEnabled": false, + "feedbackEnabled": false, + "fullscreenEnabled": true, + "minimiseButtons": true, + "moreInfoEnabled": true, + "openEnabled": false, + "printEnabled": false, + "shareEnabled": true + }, + "content": { + "bookmark": "$add_to_bookmarks", + "download": "$download", + "embed": "$embed", + "exitFullScreen": "$exitFullScreen", + "feedback": "$feedback", + "fullScreen": "$fullScreen", + "moreInfo": "$moreInfo", + "open": "$open", + "share": "$share" + } + }, + "genericDialogue": { + "content": { + "emptyValue": "$emptyValue", + "invalidNumber": "$invalidNumber", + "noMatches": "$noMatches", + "ok": "$ok", + "pageNotFound": "$pageNotFound", + "refresh": "$refresh" + } + }, + "headerPanel": { + "options": { + "centerOptionsEnabled": true, + "localeToggleEnabled": false, + "settingsButtonEnabled": true + } + }, + "helpDialogue": { + "content": { + "text": "$placeholder_text", + "title": "$help" + } + }, + "moreInfoRightPanel": { + "options": { + "canvasDisplayOrder": "", + "canvasExclude": "", + "copyToClipboardEnabled": false, + "manifestDisplayOrder": "", + "manifestExclude": "", + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": false, + "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", + "showAllLanguages": false, + "textLimit": 4, + "textLimitType": "lines" + }, + "content": { + "attribution": "$attribution", + "canvasHeader": "$aboutTheImage", + "collapse": "$collapseInformation", + "collapseFull": "$collapseGallery", + "copiedToClipboard": "$copiedToClipboard", + "copyToClipboard": "$copyToClipboard", + "description": "$description", + "expand": "$expandInformation", + "expandFull": "$expandGallery", + "holdingText": "$moduleGoesHere", + "less": "$less", + "license": "$license", + "logo": "$logo", + "manifestHeader": "$aboutTheItem", + "more": "$more", + "noData": "$noDataToDisplay", + "page": "$page", + "rangeHeader": "$aboutThisSection", + "title": "$moreInformation" + } + }, + "multiSelectDialogue": { + "options": { + "galleryThumbChunkedResizingEnabled": true, + "galleryThumbChunkedResizingThreshold": 400, + "galleryThumbHeight": 320, + "galleryThumbLoadPadding": 3, + "galleryThumbWidth": 200, + "pageModeEnabled": true + }, + "content": { + "select": "$download", + "selectAll": "$selectAll", + "title": "$selectPagesForDownload" + } + }, + "pagingHeaderPanel": { + "options": { + "autoCompleteBoxEnabled": true, + "autocompleteAllowWords": false, + "galleryButtonEnabled": true, + "imageSelectionBoxEnabled": false, + "pageModeEnabled": false, + "pagingToggleEnabled": true + }, + "content": { + "close": "$close", + "emptyValue": "$emptyValue", + "first": "$first", + "firstImage": "$firstImage", + "firstPage": "$firstPage", + "folio": "$folio", + "gallery": "$gallery", + "go": "$go", + "help": "$help", + "image": "$image", + "last": "$last", + "lastImage": "$lastImage", + "lastPage": "$lastPage", + "next": "$next", + "nextImage": "$nextImage", + "nextPage": "$nextPage", + "of": "$of", + "oneUp": "$singlePageView", + "page": "$page", + "pageSearchLabel": "$searchByPageNumber", + "previous": "$previous", + "previousImage": "$previousImage", + "previousPage": "$previousPage", + "settings": "$settings", + "twoUp": "$twoPageView" + } + }, + "openSeadragonCenterPanel": { + "options": { + "animationTime": 0.15, + "autoHideControls": true, + "requiredStatementEnabled": true, + "blendTime": 0, + "constrainDuringPan": false, + "controlsFadeAfterInactive": 1500, + "controlsFadeDelay": 250, + "controlsFadeLength": 250, + "defaultZoomLevel": 0, + "immediateRender": false, + "maxZoomPixelRatio": 1.25, + "navigatorPosition": "BOTTOM_RIGHT", + "pageGap": 50, + "showHomeControl": false, + "trimAttributionCount": 150, + "visibilityRatio": 0.5 + }, + "content": { + "attribution": "$attribution", + "goHome": "$goHome", + "imageUnavailable": "$imageUnavailable", + "next": "$next", + "previous": "$previous", + "rotateRight": "$rotateRight", + "zoomIn": "$zoomIn", + "zoomOut": "$zoomOut" + } + }, + "searchFooterPanel": { + "options": { + "elideDetailsTermsCount": 20, + "elideResultsTermsCount": 10, + "forceImageMode": false, + "pageModeEnabled": true, + "positionMarkerEnabled": true + }, + "content": { + "clearSearch": "$clearSearch", + "defaultLabel": "-", + "displaying": "$displaying_A_of_B", + "enterKeyword": "$enterKeyword", + "image": "$imageLowercase", + "imageCaps": "$image", + "instanceFound": "$instanceFound", + "instancesFound": "$instancesFound", + "nextResult": "$nextResult", + "page": "$pageLowercase", + "pageCaps": "$page", + "previousResult": "$previousResult", + "print": "$print", + "resultFoundFor": "$resultFoundFor", + "resultsFoundFor": "$resultsFoundFor", + "searchWithin": "$searchWithinItem" + } + }, + "settingsDialogue": { + "content": { + "locale": "$locale", + "navigatorEnabled": "$navigatorEnabled", + "clickToZoomEnabled": "$clickToZoomEnabled", + "pagingEnabled": "$goHome", + "reducedMotion": "$reducedMotion", + "preserveViewport": "$preserveViewport", + "title": "$settings", + "website": "$uvWebsite" + } + }, + "shareDialogue": { + "options": { + "embedTemplate": "", + "instructionsEnabled": false, + "shareFrameEnabled": true, + "shareManifestsEnabled": true + }, + "content": { + "customSize": "$custom", + "embed": "$embed", + "embedInstructions": "$embedInstructions", + "height": "$height", + "iiif": "$iiifManifest", + "share": "$share", + "shareInstructions": "$shareInstructions", + "size": "$size", + "width": "$width" + } + }, + "authDialogue": { + "content": { + "cancel": "$cancel", + "confirm": "$confirm" + } + }, + "clickThroughDialogue": { + "content": { + "viewTerms": "$viewTerms" + } + }, + "loginDialogue": { + "content": { + "login": "$login", + "logout": "$logout", + "cancel": "$cancel" + } + }, + "mobileFooterPanel": { + "content": { + "rotateRight": "$rotateRight", + "moreInfo": "$moreInfo", + "zoomIn": "$zoomIn", + "zoomOut": "$zoomOut" + } + }, + "restrictedDialogue": { + "content": { + "cancel": "$cancel" + } + } + }, + "localisation": { + "label": "English (GB)", + "locales": [ + { + "name": "cy-GB", + "label": "Cymraeg" + }, + { + "name": "en-GB", + "label": "English (GB)" + }, + { + "name": "fr-FR", + "label": "Français (FR)" + }, + { + "name": "pl-PL", + "label": "Polski" + }, + { + "name": "sv-SE", + "label": "Svenska" + } + ] + }, + "content": { + "authCORSError": "$authCORSError", + "authorisationFailedMessage": "$authorisationFailedMessage", + "canvasIndexOutOfRange": "$canvasIndexOutOfRange", + "fallbackDegradedLabel": "$fallbackDegradedLabel", + "fallbackDegradedMessage": "$fallbackDegradedMessage", + "forbiddenResourceMessage": "$forbiddenResourceMessage", + "mediaViewer": "$mediaViewer", + "skipToDownload": "$skipToDownload", + "termsOfUse": "$termsOfUse" + } +} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/cy-GB.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/cy-GB.json deleted file mode 100644 index 554ad9d3f..000000000 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/cy-GB.json +++ /dev/null @@ -1,423 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": true, - "theme": "uv-cy-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true, - "zoomToBoundsEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": false, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": true, - "branchNodesSelectable": false, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsCacheInvalidation": { - "enabled": true, - "paramType": "?" - }, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Lleihau'r Cynnwys", - "collapseFull": "Lleihau'r Galeri", - "date": "Dyddiad", - "expand": "Ehangu'r Cynnwys", - "expandFull": "Ehangu'r Galeri", - "index": "Mynegai", - "searchResult": "{0} canlyniad chwilio", - "searchResults": "{0} canlyniad chwilio", - "sortBy": "Trefnu yn ôl:", - "thumbnails": "Bodluniau", - "title": "Cynnwys", - "volume": "cyfrol" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Cau" - } - }, - "downloadDialogue": { - "options": { - "confinedImageSize": 1000, - "currentViewDisabledPercentage": 90, - "maxImageWidth": 5000, - "optionsExplanatoryTextEnabled": false, - "selectionEnabled": false - }, - "content": { - "allPages": "Pob Tudalen", - "currentViewAsJpg": "Delwedd ddethol {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Agor mewn dwy ffenest newydd.", - "download": "Lawrlwytho", - "downloadSelection": "Lawrlwytho'r detholiad", - "downloadSelectionExplanation": "Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.", - "editSettings": "Golygu'r dewisiadau", - "entireDocument": "Y Ddogfen Gyfan ({0})", - "entireFileAsOriginal": "Y ffeil gyfan", - "individualPages": "Tudalennau Unigol", - "noneAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", - "pagingNote": "Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.", - "preview": "Rhagolwg", - "selection": "Detholiad", - "termsOfUse": "Telerau Defnydd", - "title": "Lawrlwytho", - "wholeImageHighRes": "Delwedd gyfan {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Agor mewn ffenest newydd", - "wholeImageLowResAsJpg": "Delwedd gyfan {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Agor mewn ffenest newydd", - "wholeImagesHighRes": "Delweddau cyfan ({0})", - "wholeImagesHighResExplanation": "Agor mewn dwy ffenest newydd." - } - }, - "footerPanel": { - "options": { - "autocompleteAllowWords": false, - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ychwanegu at nodau tudalen", - "download": "Lawrlwytho", - "embed": "Ymgorffori", - "exitFullScreen": "Dianc o'r sgrin lawn", - "feedback": "Adborth", - "fullScreen": "Sgrin lawn", - "moreInfo": "Mwy o Wybodaeth", - "open": "Agor", - "share": "Rhannu" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "rhowch rif", - "invalidNumber": "Rhowch rif dilys", - "noMatches": "Dim canlyniad sy'n cyfateb.", - "ok": "GWELD", - "pageNotFound": "Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.", - "refresh": "Ailosod" - } - }, - "headerPanel": { - "options": { - "centerOptionsEnabled": true, - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "testun i'w osod", - "title": "Cymorth" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Priodoledd", - "collapse": "Lleihau'r Wybodaeth", - "collapseFull": "Cuddio'r Galeri", - "description": "Disgrifiad", - "expand": "Ehangu'r Wybodaeth", - "expandFull": "Ehangu'r Galeri", - "holdingText": "Eich modiwl fan hyn!", - "less": "llai", - "license": "Trwydded", - "logo": "Logo", - "more": "mwy", - "noData": "Nid oes data i'w arddangos", - "page": "Tudalen", - "title": "Mwy o Wybodaeth", - "manifestHeader": "Am yr eitem", - "canvasHeader": "Am y ddelwedd", - "copyToClipboard": "Copïo i'r clipfwrdd", - "copiedToClipboard": "Copïwyd i'r clipfwrdd" - } - }, - "multiSelectDialogue": { - "options": { - "galleryThumbChunkedResizingEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "pageModeEnabled": true - }, - "content": { - "select": "Lawrlwytho", - "selectAll": "Dewis y cyfan", - "title": "Dewis Tudalennau i'w Lawrlwytho" - } - }, - "pagingHeaderPanel": { - "options": { - "autoCompleteBoxEnabled": true, - "autocompleteAllowWords": false, - "galleryButtonEnabled": true, - "imageSelectionBoxEnabled": false, - "pageModeEnabled": false, - "pagingToggleEnabled": true - }, - "content": { - "close": "Cau", - "emptyValue": "Mewnosodwch werth", - "first": "gyntaf", - "firstImage": "Delwedd Gyntaf", - "firstPage": "Tudalen gyntaf", - "folio": "Ffolio", - "gallery": "Galeri", - "go": "GWELD", - "help": "Cymorth", - "image": "Delwedd", - "last": "Olaf", - "lastImage": "Delwedd Olaf", - "lastPage": "Tudalen Olaf", - "next": "Nesaf", - "nextImage": "Delwedd Nesaf", - "nextPage": "Tudalen Nesaf", - "of": "o {0}", - "oneUp": "Gweld un dudalen ar y tro", - "page": "Tudalen", - "previous": "Blaenorol", - "previousImage": "Delwedd Flaenorol", - "previousPage": "Tudalen Flaenorol", - "settings": "Dewisiadau", - "twoUp": "Gweld dwy dudalen ar y tro" - } - }, - "openSeadragonCenterPanel": { - "options": { - "animationTime": 0.15, - "autoHideControls": true, - "requiredStatementEnabled": true, - "blendTime": 0, - "constrainDuringPan": false, - "controlsFadeAfterInactive": 1500, - "controlsFadeDelay": 250, - "controlsFadeLength": 250, - "defaultZoomLevel": 0, - "immediateRender": false, - "maxZoomPixelRatio": 1.25, - "navigatorPosition": "BOTTOM_RIGHT", - "pageGap": 50, - "showHomeControl": false, - "trimAttributionCount": 150, - "visibilityRatio": 0.5 - }, - "content": { - "attribution": "Priodoliad", - "goHome": "Gweld y maint gwreiddiol", - "imageUnavailable": "Nid oes delwedd ar gael", - "next": "nesaf", - "previous": "blaenorol", - "rotateRight": "Cylchdroi i'r dde", - "zoomIn": "Closio", - "zoomOut": "Gwrthglosio" - } - }, - "searchFooterPanel": { - "options": { - "elideDetailsTermsCount": 20, - "elideResultsTermsCount": 5, - "forceImageMode": false, - "pageModeEnabled": true, - "positionMarkerEnabled": true - }, - "content": { - "clearSearch": "Gwaredu", - "defaultLabel": "-", - "displaying": "{0} {1} o {2}", - "enterKeyword": "Mewnosodwch allweddair", - "image": "delwedd", - "imageCaps": "delwedd", - "instanceFound": "Dangos 1 canlyniad ar gyfer '{0}' ", - "instancesFound": "Dangos {0} canlyniad o '{1}' ", - "nextResult": "Canlyniad nesaf", - "page": "tudalen", - "pageCaps": "tudalen", - "previousResult": "Canlyniad blaenorol", - "print": "Argraffu", - "resultFoundFor": "canlyniad a geir ar gyfer", - "resultsFoundFor": "canlyniad ar gyfer", - "searchWithin": "Chwilio tu fewn i:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Iaith", - "navigatorEnabled": "Ffenest llywio ar gael", - "clickToZoomEnabled": "Cliciwch gyda'r llygoden i glosio", - "pagingEnabled": "Arddangos dwy dudalen", - "reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", - "preserveViewport": "Cadw'r lefel o glosio", - "title": "Dewisiadau", - "website": "mwy o wybodaeth" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true, - "shareManifestsEnabled": true - }, - "content": { - "customSize": "dewisol", - "embed": "Ymgorffori", - "embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.", - "height": "Hyd", - "iiif": "Maniffest IIIF", - "share": "Rhannu", - "shareInstructions": "Er mwyn rhannu'r eitem hon, copïwch y URL isod.", - "size": "Maint:", - "width": "Lled" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Darllenwch y Telerau a'r Amodau Llawn" - } - }, - "loginDialogue": { - "content": { - "login": "Mewngofnodi", - "logout": "Allgofnodi", - "cancel": "Canslo" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Cylchdroi i'r dde", - "moreInfo": "Mwy o Wybodaeth", - "zoomIn": "Closio", - "zoomOut": "Gwrthglosio" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Canslo" - } - } - }, - "localisation": { - "label": "Cymraeg", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.", - "authorisationFailedMessage": "Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.", - "canvasIndexOutOfRange": "Canfas yn rhy fawr i'w arddangos (ceisiwch eto)", - "fallbackDegradedLabel": "Mewngofnodi", - "fallbackDegradedMessage": "Mewngofnodwch i weld y cynnwys hwn gyda phenderfyniad llawn.", - "forbiddenResourceMessage": "Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon", - "termsOfUse": "Telerau Defnydd" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/en-GB.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/en-GB.json deleted file mode 100644 index 7531311c7..000000000 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/en-GB.json +++ /dev/null @@ -1,435 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "doubleClickAnnotationEnabled": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": true, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true, - "zoomToBoundsEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": false, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": true, - "branchNodesSelectable": false, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsCacheInvalidation": { - "enabled": true, - "paramType": "?" - }, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Collapse Contents", - "collapseFull": "Collapse Gallery", - "date": "date", - "expand": "Expand Contents", - "expandFull": "Expand Gallery", - "index": "Index", - "manifestRanges": "Manifest Ranges", - "searchResult": "{0} search result", - "searchResults": "{0} search results", - "sortBy": "Sort By:", - "thumbnails": "Thumbnails", - "title": "Contents", - "volume": "volume" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Close" - } - }, - "downloadDialogue": { - "options": { - "confinedImageSize": 1000, - "currentViewDisabledPercentage": 90, - "maxImageWidth": 5000, - "optionsExplanatoryTextEnabled": false, - "selectionEnabled": false - }, - "content": { - "allPages": "All Pages", - "currentViewAsJpg": "Current view {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Opens in a new window", - "download": "Download", - "downloadSelection": "Download Selection", - "downloadSelectionExplanation": "Opens a dialogue to select which pages to download.", - "editSettings": "Edit Settings", - "entireDocument": "Entire document ({0})", - "entireFileAsOriginal": "Entire file", - "individualPages": "Individual Pages", - "noneAvailable": "No download options are available.", - "pagingNote": "Please turn off Two Page View for additional options.", - "preview": "Preview", - "selection": "Selection", - "termsOfUse": "Terms of Use", - "title": "Download", - "wholeImageHighRes": "Whole image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Opens in a new window.", - "wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Opens in a new window.", - "wholeImagesHighRes": "Whole images ({0})", - "wholeImagesHighResExplanation": "Opens in two new windows." - } - }, - "footerPanel": { - "options": { - "autocompleteAllowWords": false, - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Add to bookmarks", - "download": "Download", - "embed": "Embed", - "exitFullScreen": "Exit Full Screen", - "feedback": "Feedback", - "fullScreen": "Full Screen", - "moreInfo": "More Information", - "open": "Open", - "share": "Share" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "please enter a value.", - "invalidNumber": "Please enter a valid number.", - "noMatches": "No matches were found.", - "ok": "OK", - "pageNotFound": "This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.", - "refresh": "Refresh" - } - }, - "headerPanel": { - "options": { - "centerOptionsEnabled": true, - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "placeholder text", - "title": "Help" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "canvasHeader": "About the image", - "collapse": "Collapse Information", - "collapseFull": "Collapse Gallery", - "copiedToClipboard": "Copied to clipboard", - "copyToClipboard": "Copy to clipboard", - "description": "Description", - "expand": "Expand Information", - "expandFull": "Expand Gallery", - "holdingText": "Your module goes here!", - "less": "less", - "license": "License", - "logo": "Logo", - "manifestHeader": "About the item", - "more": "more", - "noData": "No data to display", - "page": "Page", - "rangeHeader": "About this section", - "title": "More Information" - } - }, - "multiSelectDialogue": { - "options": { - "galleryThumbChunkedResizingEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "pageModeEnabled": true - }, - "content": { - "select": "Download", - "selectAll": "Select All", - "title": "Select Pages for Download" - } - }, - "pagingHeaderPanel": { - "options": { - "autoCompleteBoxEnabled": true, - "autocompleteAllowWords": false, - "galleryButtonEnabled": true, - "imageSelectionBoxEnabled": false, - "pageModeEnabled": false, - "pagingToggleEnabled": true - }, - "content": { - "close": "Close", - "emptyValue": "Please enter a value", - "first": "First", - "firstImage": "First Image", - "firstPage": "First Page", - "folio": "Folio", - "gallery": "Gallery", - "go": "Go", - "help": "Help", - "image": "Image", - "last": "Last", - "lastImage": "Last Image", - "lastPage": "Last Page", - "next": "Next", - "nextImage": "Next Image", - "nextPage": "Next Page", - "of": "of {0}", - "oneUp": "Single page view", - "page": "Page", - "pageSearchLabel": "Search by Page Number", - "previous": "Previous", - "previousImage": "Previous Image", - "previousPage": "Previous Page", - "settings": "Settings", - "twoUp": "Two page view" - } - }, - "openSeadragonCenterPanel": { - "options": { - "animationTime": 0.15, - "autoHideControls": true, - "requiredStatementEnabled": true, - "blendTime": 0, - "constrainDuringPan": false, - "controlsFadeAfterInactive": 1500, - "controlsFadeDelay": 250, - "controlsFadeLength": 250, - "defaultZoomLevel": 0, - "immediateRender": false, - "maxZoomPixelRatio": 1.25, - "navigatorPosition": "BOTTOM_RIGHT", - "pageGap": 50, - "showHomeControl": false, - "trimAttributionCount": 150, - "visibilityRatio": 0.5 - }, - "content": { - "attribution": "Attribution", - "goHome": "Go Home", - "imageUnavailable": "Image Unavailable", - "next": "Next", - "previous": "Previous", - "rotateRight": "Rotate Right", - "zoomIn": "Zoom In", - "zoomOut": "Zoom Out" - } - }, - "searchFooterPanel": { - "options": { - "elideDetailsTermsCount": 20, - "elideResultsTermsCount": 10, - "forceImageMode": false, - "pageModeEnabled": true, - "positionMarkerEnabled": true - }, - "content": { - "clearSearch": "Clear", - "defaultLabel": "-", - "displaying": "{0} {1} of {2}", - "enterKeyword": "Enter Keyword", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance of '{0}' found", - "instancesFound": "{0} instances of '{1}' found", - "nextResult": "Next Result", - "page": "page", - "pageCaps": "Page", - "previousResult": "Previous Result", - "print": "Print", - "resultFoundFor": "result found for", - "resultsFoundFor": "results found for", - "searchWithin": "Search within this item:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Locale", - "navigatorEnabled": "Navigator Enabled", - "clickToZoomEnabled": "Mouse Click To Zoom", - "pagingEnabled": "Two Page View", - "reducedMotion": "Reduce motion (disables animations)", - "preserveViewport": "Preserve Zoom", - "title": "Settings", - "website": "more info" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true, - "shareManifestsEnabled": true - }, - "content": { - "customSize": "custom", - "embed": "Embed", - "embedInstructions": "To embed this item in your own website, copy and paste the code below.", - "height": "Height", - "iiif": "IIIF Manifest", - "share": "Share", - "shareInstructions": "To share this item, copy the URL below.", - "size": "Size:", - "width": "Width" - } - }, - "authDialogue": { - "content": { - "cancel": "Cancel", - "confirm": "Confirm" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Read Full Terms and Conditions" - } - }, - "loginDialogue": { - "content": { - "login": "Login", - "logout": "Logout", - "cancel": "Cancel" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotate Right", - "moreInfo": "More Information", - "zoomIn": "Zoom In", - "zoomOut": "Zoom Out" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Cancel" - } - } - }, - "localisation": { - "label": "English (GB)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Your browser does not support CORS, please upgrade to view this content.", - "authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", - "canvasIndexOutOfRange": "Canvas index out of range.", - "fallbackDegradedLabel": "Login", - "fallbackDegradedMessage": "Please log in to view this content at full resolution.", - "forbiddenResourceMessage": "Your current access rights are insufficient to view this image", - "mediaViewer": "Media Viewer", - "skipToDownload": "Skip to downloads and alternative formats", - "termsOfUse": "Terms of Use" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/fr-FR.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/fr-FR.json deleted file mode 100644 index cfda249cb..000000000 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/fr-FR.json +++ /dev/null @@ -1,431 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": true, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true, - "zoomToBoundsEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": false, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": true, - "branchNodesSelectable": false, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsCacheInvalidation": { - "enabled": true, - "paramType": "?" - }, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Masquer les contenus", - "collapseFull": "Masquer la galerie", - "date": "date", - "expand": "Afficher les contenus", - "expandFull": "Afficher la galerie", - "index": "Index", - "manifestRanges": "Manifestes", - "searchResult": "{0} résultats", - "searchResults": "{0} résultats", - "sortBy": "Trier par :", - "thumbnails": "Vignettes", - "title": "Contenus", - "volume": "volume" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Fermer" - } - }, - "downloadDialogue": { - "options": { - "confinedImageSize": 1000, - "currentViewDisabledPercentage": 90, - "maxImageWidth": 5000, - "optionsExplanatoryTextEnabled": false, - "selectionEnabled": false - }, - "content": { - "allPages": "Toutes les pages", - "currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Ouvre une nouvelle fenêtre", - "download": "Télécharger", - "downloadSelection": "Télécharger la sélection", - "downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", - "editSettings": "Modifier les paramètres", - "entireDocument": "Document entier ({0})", - "entireFileAsOriginal": "Fichier complet", - "individualPages": "Pages individuelles", - "noneAvailable": "Aucune option de téléchargement n'est disponible.", - "pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", - "preview": "Aperçu", - "selection": "Sélection", - "termsOfUse": "Conditions d'utilisation", - "title": "Télécharger", - "wholeImageHighRes": "Image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImagesHighRes": "Images ({0})", - "wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres." - } - }, - "footerPanel": { - "options": { - "autocompleteAllowWords": false, - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ajouter aux favoris", - "download": "Télécharger", - "embed": "Intégrer", - "exitFullScreen": "Quitter le mode plein écran", - "feedback": "Commentaire", - "fullScreen": "Affichage en plein écran", - "moreInfo": "Informations", - "open": "Ouvrir", - "share": "Partager" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "veuillez saisir une valeur.", - "invalidNumber": "Veuillez saisir un nombre valide.", - "noMatches": "Aucune correspondance n'a été trouvée.", - "ok": "OK", - "pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", - "refresh": "Rafraîchir" - } - }, - "headerPanel": { - "options": { - "centerOptionsEnabled": true, - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "texte d'exemple", - "title": "Aide" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Masquer les informations", - "collapseFull": "Masquer la galerie", - "description": "Description", - "expand": "Afficher les informations", - "expandFull": "Afficher la galerie", - "holdingText": "Votre module vient ici !", - "less": "moins", - "license": "Licence", - "logo": "Logo", - "more": "suite", - "noData": "Aucune donnée à afficher", - "page": "Page", - "title": "Informations", - "manifestHeader": "A propos du contenu", - "canvasHeader": "A propos de l'image", - "copyToClipboard": "Copier dans le presse-papiers", - "copiedToClipboard": "Copié dans le presse-papiers" - } - }, - "multiSelectDialogue": { - "options": { - "galleryThumbChunkedResizingEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "pageModeEnabled": true - }, - "content": { - "select": "Télécharger", - "selectAll": "Tout sélectionner", - "title": "Sélectionner les pages à télécharger" - } - }, - "pagingHeaderPanel": { - "options": { - "autoCompleteBoxEnabled": true, - "autocompleteAllowWords": false, - "galleryButtonEnabled": true, - "imageSelectionBoxEnabled": false, - "pageModeEnabled": false, - "pagingToggleEnabled": true - }, - "content": { - "close": "Fermer", - "emptyValue": "Veuillez saisir une valeur", - "first": "Premier", - "firstImage": "Première image", - "firstPage": "Première page", - "folio": "Folio", - "gallery": "Gallerie", - "go": "Aller", - "help": "Aide", - "image": "Image", - "last": "Dernier", - "lastImage": "Dernière image", - "lastPage": "Dernière page", - "next": "Suivant", - "nextImage": "Prochaine image", - "nextPage": "Page suivante", - "of": "de {0}", - "oneUp": "Affichage en mode page simple", - "page": "Page", - "pageSearchLabel": "Recherche par numéro de page.", - "previous": "Précédent", - "previousImage": "Image précédente", - "previousPage": "Page précédente", - "settings": "Paramètres", - "twoUp": "Affichage double page" - } - }, - "openSeadragonCenterPanel": { - "options": { - "animationTime": 0.15, - "autoHideControls": true, - "requiredStatementEnabled": true, - "blendTime": 0, - "constrainDuringPan": false, - "controlsFadeAfterInactive": 1500, - "controlsFadeDelay": 250, - "controlsFadeLength": 250, - "defaultZoomLevel": 0, - "immediateRender": false, - "maxZoomPixelRatio": 1.25, - "navigatorPosition": "BOTTOM_RIGHT", - "pageGap": 50, - "showHomeControl": false, - "trimAttributionCount": 150, - "visibilityRatio": 0.5 - }, - "content": { - "attribution": "Attribution", - "goHome": "Retour", - "imageUnavailable": "Image non disponible", - "next": "Prochain", - "previous": "Précédent", - "rotateRight": "Pivoter à droite", - "zoomIn": "Zoomer", - "zoomOut": "Dézoomer" - } - }, - "searchFooterPanel": { - "options": { - "elideDetailsTermsCount": 20, - "elideResultsTermsCount": 10, - "forceImageMode": false, - "pageModeEnabled": true, - "positionMarkerEnabled": true - }, - "content": { - "clearSearch": "Effacer", - "defaultLabel": "-", - "displaying": "{0} {1} de {2}", - "enterKeyword": "Saisir un mot", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance de '{0}' trouvée", - "instancesFound": "{0} instances de '{1}' trouvées", - "nextResult": "Résultat suivant", - "page": "page", - "pageCaps": "Page", - "previousResult": "Résultat précédent", - "print": "Imprimer", - "resultFoundFor": "résultat trouvé pour ", - "resultsFoundFor": "résultats trouvés pour", - "searchWithin": "Chercher dans ce document :" - } - }, - "settingsDialogue": { - "content": { - "locale": "Langues", - "navigatorEnabled": "Navigateur activé", - "clickToZoomEnabled": "Cliquer pour zoomer", - "pagingEnabled": "Affichage double page", - "reducedMotion": "Réduire le mouvement (désactive les animations)", - "preserveViewport": "Conserver le zoom", - "title": "Paramètres", - "website": "informations" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true, - "shareManifestsEnabled": true - }, - "content": { - "customSize": "personnalisée", - "embed": "Intégrer", - "embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", - "height": "Hauteur", - "iiif": "Manifeste IIIF", - "share": "Partager", - "shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", - "size": "Taille :", - "width": "Largeur" - } - }, - "authDialogue": { - "content": { - "cancel": "Annuler", - "confirm": "Confirmer" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Lire les termes et les conditions d'utilisation" - } - }, - "loginDialogue": { - "content": { - "login": "Connexion", - "logout": "Déconnexion", - "cancel": "Annuler" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Pivoter à droite", - "moreInfo": "Informations", - "zoomIn": "Zoom avant", - "zoomOut": "Zoom arrière" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Annuler" - } - } - }, - "localisation": { - "label": "Français (FR)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", - "authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", - "canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", - "fallbackDegradedLabel": "Connexion", - "fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", - "forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", - "termsOfUse": "Conditions d'utilisation" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/pl-PL.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/pl-PL.json deleted file mode 100644 index bf2af2d5d..000000000 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/pl-PL.json +++ /dev/null @@ -1,433 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": true, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true, - "zoomToBoundsEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": false, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": true, - "branchNodesSelectable": false, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsCacheInvalidation": { - "enabled": true, - "paramType": "?" - }, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Zwiń zawartość", - "collapseFull": "Zwiń galerię", - "date": "data", - "expand": "Rozwiń zawartość", - "expandFull": "Rozwiń galerię", - "index": "Indeks", - "manifestRanges": "Zakresy manifestu", - "searchResult": "Liczba wyników: {0}", - "searchResults": "Liczba wyników: {0}", - "sortBy": "Sortuj wg:", - "thumbnails": "Miniatury", - "title": "Zawartość", - "volume": "tom" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Zamknij" - } - }, - "downloadDialogue": { - "options": { - "confinedImageSize": 1000, - "currentViewDisabledPercentage": 90, - "maxImageWidth": 5000, - "optionsExplanatoryTextEnabled": false, - "selectionEnabled": false - }, - "content": { - "allPages": "Wszystkie strony", - "currentViewAsJpg": "Aktualny widok {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Otwiera się w nowym oknie", - "download": "Pobierz", - "downloadSelection": "Pobierz wybrane strony", - "downloadSelectionExplanation": "Otwiera okno wyboru stron do pobrania.", - "editSettings": "Edytuj ustawienia", - "entireDocument": "Cały dokument ({0})", - "entireFileAsOriginal": "Cały plik", - "individualPages": "Poszczególne strony", - "noneAvailable": "Brak dostępnych opcji pobierania.", - "pagingNote": "Wyłącz widok dwóch stron, aby uzyskać dodatkowe opcje.", - "preview": "Podgląd", - "termsOfUse": "Warunki korzystania", - "selection": "Wybór", - "title": "Pobieranie", - "wholeImageHighRes": "Pełny obraz {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Otwiera się w nowym oknie.", - "wholeImageLowResAsJpg": "Pełny obraz {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Otwiera się w nowym oknie.", - "wholeImagesHighRes": "Pełne obrazy ({0})", - "wholeImagesHighResExplanation": "Otwiera się w dwóch nowych oknach." - } - }, - "footerPanel": { - "options": { - "autocompleteAllowWords": false, - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Dodaj do zakładek", - "download": "Pobierz", - "embed": "Osadź", - "exitFullScreen": "Zamknij pełny ekran", - "feedback": "Feedback", - "fullScreen": "Pełny ekran", - "moreInfo": "Więcej informacji", - "open": "Otwórz", - "share": "Udostępnij" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "proszę wprowadzić wartość.", - "invalidNumber": "Proszę wprowadzić poprawny numer.", - "noMatches": "Nie znaleziono dopasowań.", - "ok": "OK", - "pageNotFound": "Ten obiekt nie zawiera strony z wprowadzonym numerem. Spróbuj przełączyć tryb numeracji na 'obraz'.", - "refresh": "Odśwież" - } - }, - "headerPanel": { - "options": { - "centerOptionsEnabled": true, - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "tekst zastępczy", - "title": "Pomoc" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Źródło", - "collapse": "Zwiń informacje", - "collapseFull": "Zwiń galerię", - "description": "Opis", - "expand": "Rozwiń informacje", - "expandFull": "Rozwiń galerię", - "holdingText": "Miejsce na twój moduł!", - "less": "mniej", - "license": "Licencja", - "logo": "Logo", - "more": "więcej", - "noData": "Brak danych do wyświetlenia", - "page": "Strona", - "title": "Więcej informacji", - "manifestHeader": "O obiekcie", - "canvasHeader": "O obrazie", - "copyToClipboard": "Skopiuj do schowka", - "copiedToClipboard": "Skopiowano do schowka" - } - }, - "multiSelectDialogue": { - "options": { - "galleryThumbChunkedResizingEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "pageModeEnabled": true - }, - "content": { - "select": "Pobierz", - "selectAll": "Zaznacz wszystko", - "title": "Wybierz strony do pobrania" - } - }, - "pagingHeaderPanel": { - "options": { - "autoCompleteBoxEnabled": true, - "autocompleteAllowWords": false, - "galleryButtonEnabled": true, - "imageSelectionBoxEnabled": false, - "pageModeEnabled": false, - "pagingToggleEnabled": true - }, - "content": { - "close": "Zamknij", - "emptyValue": "Proszę wprowadzić wartość", - "first": "Pierwsza", - "firstImage": "Pierwszy obraz", - "firstPage": "Pierwsza strona", - "folio": "Folio", - "gallery": "Galeria", - "go": "Idź", - "help": "Pomoc", - "image": "Obraz", - "last": "Ostatnia", - "lastImage": "Ostatni obraz", - "lastPage": "Ostatnia strona", - "next": "Następna", - "nextImage": "Następny obraz", - "nextPage": "Następna strona", - "of": "z {0}", - "oneUp": "Widok pojedynczej strony", - "page": "Strona", - "pageSearchLabel": "Szukaj według numeru strony", - "previous": "Poprzednia", - "previousImage": "Poprzedni obraz", - "previousPage": "Poprzednia strona", - "settings": "Ustawienia", - "twoUp": "Widok dwóch stron" - } - }, - "openSeadragonCenterPanel": { - "options": { - "animationTime": 0.15, - "autoHideControls": true, - "requiredStatementEnabled": true, - "blendTime": 0, - "constrainDuringPan": false, - "controlsFadeAfterInactive": 1500, - "controlsFadeDelay": 250, - "controlsFadeLength": 250, - "defaultZoomLevel": 0, - "immediateRender": false, - "maxZoomPixelRatio": 1.25, - "navigatorPosition": "BOTTOM_RIGHT", - "pageGap": 50, - "showHomeControl": false, - "trimAttributionCount": 150, - "visibilityRatio": 0.5 - } - }, - "searchFooterPanel": { - "options": { - "elideDetailsTermsCount": 20, - "elideResultsTermsCount": 10, - "forceImageMode": false, - "pageModeEnabled": true, - "positionMarkerEnabled": true - }, - "content": { - "clearSearch": "Wyczyść", - "defaultLabel": "-", - "displaying": "{0} {1} z {2}", - "enterKeyword": "Wprowadź słowo kluczowe", - "image": "obraz", - "imageCaps": "Obraz", - "instanceFound": "Znaleziono 1 wystąpienie '{0}'", - "instancesFound": "Znalezione wystąpienia '{1}': {0}", - "nextResult": "Następny wynik", - "page": "strona", - "pageCaps": "Strona", - "previousResult": "Poprzedni wynik", - "print": "Drukuj", - "resultFoundFor": "wynik dla", - "resultsFoundFor": "wyniki/wyników dla", - "searchWithin": "Wyszukaj w tym obiekcie:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Język", - "navigatorEnabled": "Włączona nawigacja", - "clickToZoomEnabled": "Przybliżenie przez kliknięcie myszą", - "pagingEnabled": "Widok dwóch stron", - "reducedMotion": "Zmniejsz ruch (wyłącza animacje)", - "preserveViewport": "Zachowanie przybliżenia", - "title": "Ustawienia", - "website": "więcej informacji" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true, - "shareManifestsEnabled": true - }, - "content": { - "customSize": "niestandardowy", - "embed": "Osadź", - "embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "height": "Wysokość", - "iiif": "Manifest IIIF", - "share": "Udostępnij", - "shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", - "size": "Rozmiar:", - "width": "Szerokość" - } - }, - "authDialogue": { - "content": { - "cancel": "Anuluj", - "confirm": "Potwierdź" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Przeczytaj pełny Regulamin" - } - }, - "loginDialogue": { - "content": { - "login": "Zaloguj się", - "logout": "Wyloguj", - "cancel": "Anuluj" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotate Right", - "moreInfo": "More Information", - "zoomIn": "Zoom In", - "zoomOut": "Zoom Out" - } - }, - "seadragonCenterPanel": { - "content": { - "attribution": "Źródło", - "goHome": "Zobacz całą stronę", - "imageUnavailable": "Obraz niedostępny", - "next": "Następny", - "previous": "Poprzedni", - "rotateRight": "Obróć w prawo", - "zoomIn": "Przybliż", - "zoomOut": "Oddal" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Anuluj" - } - } - }, - "localisation": { - "label": "Polski", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", - "authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", - "canvasIndexOutOfRange": "Numer kanwy poza zakresem.", - "fallbackDegradedLabel": "Zaloguj się", - "fallbackDegradedMessage": "Zaloguj się, aby zobaczyć tę treść w pełnej rozdzielczości.", - "forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz", - "termsOfUse": "Warunki korzystania" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/sv-SE.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/sv-SE.json deleted file mode 100644 index 6afc14e22..000000000 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/sv-SE.json +++ /dev/null @@ -1,443 +0,0 @@ -{ - "options": { - "allowStealFocus": false, - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "leftPanelEnabled": true, - "limitLocales": false, - "metrics": [ - { - "type": "sm", - "minWidth": 0 - }, - { - "type": "md", - "minWidth": 768 - }, - { - "type": "lg", - "minWidth": 1024 - }, - { - "type": "xl", - "minWidth": 1280 - } - ], - "multiSelectionMimeType": "application/zip", - "navigatorEnabled": true, - "openTemplate": "http://universalviewer.io?manifest={0}", - "overrideFullScreen": false, - "pagingEnabled": true, - "pagingOptionEnabled": true, - "pessimisticAccessControl": false, - "preserveViewport": false, - "rightPanelEnabled": true, - "saveUserSettings": false, - "clickToZoomEnabled": true, - "searchWithinEnabled": true, - "termsOfUseEnabled": true, - "theme": "uv-en-GB-theme", - "tokenStorage": "session", - "useArrowKeysToNavigate": false, - "zoomToSearchResultEnabled": true, - "zoomToBoundsEnabled": true - }, - "modules": { - "contentLeftPanel": { - "options": { - "autoExpandTreeEnabled": false, - "autoExpandTreeIfFewerThan": 20, - "branchNodesExpandOnClick": true, - "branchNodesSelectable": false, - "defaultToTreeEnabled": false, - "defaultToTreeIfGreaterThan": 0, - "elideCount": 40, - "expandFullEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "tabOrder": "", - "thumbsCacheInvalidation": { - "enabled": true, - "paramType": "?" - }, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - }, - "content": { - "collapse": "Fäll ihop innehåll", - "collapseFull": "Fäll ihop galleri", - "date": "datum", - "expand": "Expandera innehåll", - "expandFull": "Expandera galleri", - "index": "Index", - "manifestRanges": "Manifest-omfång", - "searchResult": "{0} sökträffar", - "searchResults": "{0} sökträffar", - "sortBy": "Sortera efter:", - "thumbnails": "Småbilder", - "title": "Innehåll", - "volume": "volym" - } - }, - "dialogue": { - "topCloseButtonEnabled": false, - "content": { - "close": "Stäng" - } - }, - "downloadDialogue": { - "options": { - "confinedImageSize": 1000, - "currentViewDisabledPercentage": 90, - "maxImageWidth": 5000, - "optionsExplanatoryTextEnabled": false, - "selectionEnabled": false - }, - "content": { - "allPages": "Alla sidor", - "currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Öppnas i nytt fönster", - "download": "Ladda ner", - "downloadSelection": "Ladda ner valt område", - "downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", - "editSettings": "Ändra inställningar", - "entireDocument": "Hela dokumentet ({0})", - "entireFileAsOriginal": "Hela filen", - "individualPages": "Enskilda sidor", - "noneAvailable": "Inga nedladdningsalternativ är tillgängliga.", - "pagingNote": "Stäng dubbelsidig vy för fler alternativ", - "preview": "Förhandsgranska", - "selection": "Urval", - "termsOfUse": "Användningsvillkor", - "title": "Ladda ner", - "wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Öppnas i nytt fönster.", - "wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster.", - "wholeImagesHighRes": "Hela bilder ({0})", - "wholeImagesHighResExplanation": "Öppnas i två nya fönster." - } - }, - "footerPanel": { - "options": { - "autocompleteAllowWords": false, - "bookmarkEnabled": false, - "downloadEnabled": true, - "embedEnabled": false, - "feedbackEnabled": false, - "fullscreenEnabled": true, - "minimiseButtons": true, - "moreInfoEnabled": true, - "openEnabled": false, - "printEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Lägg till bokmärke", - "download": "Ladda ner", - "embed": "Bädda in", - "exitFullScreen": "Avsluta helskärm", - "feedback": "Feedback", - "fullScreen": "Helskärm", - "moreInfo": "Mer information", - "open": "Öppna", - "share": "Dela" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "ange ett värde.", - "invalidNumber": "Ange ett giltigt nummer.", - "noMatches": "Inga träffar hittades.", - "ok": "OK", - "pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", - "refresh": "Uppdatera" - } - }, - "headerPanel": { - "options": { - "centerOptionsEnabled": true, - "localeToggleEnabled": false, - "settingsButtonEnabled": true - } - }, - "helpDialogue": { - "content": { - "text": "platshållartext", - "title": "Hjälp" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Upphov", - "collapse": "Fäll ihop information", - "collapseFull": "Fäll ihop galleri", - "description": "Beskrivning", - "expand": "Expandera information", - "expandFull": "Expandera galleri", - "holdingText": "Plats för din modul!", - "less": "mindre", - "license": "Licensvillkor", - "logo": "Logotyp", - "more": "mer", - "noData": "Ingen information att visa", - "page": "Sida", - "title": "Mer information", - "manifestHeader": "Om objektet", - "canvasHeader": "Om bilden", - "copyToClipboard": "Kopiera till urklipp", - "copiedToClipboard": "Kopierade till urklipp" - } - }, - "multiSelectDialogue": { - "options": { - "galleryThumbChunkedResizingEnabled": true, - "galleryThumbChunkedResizingThreshold": 400, - "galleryThumbHeight": 320, - "galleryThumbLoadPadding": 3, - "galleryThumbWidth": 200, - "pageModeEnabled": true - }, - "content": { - "select": "Ladda ner", - "selectAll": "Markera alla", - "title": "Välj sidor att ladda ner" - } - }, - "pagingHeaderPanel": { - "options": { - "autoCompleteBoxEnabled": true, - "autocompleteAllowWords": false, - "galleryButtonEnabled": true, - "imageSelectionBoxEnabled": false, - "pageModeEnabled": false, - "pagingToggleEnabled": true - }, - "content": { - "close": "Stäng", - "emptyValue": "Ange ett värde", - "first": "Första", - "firstImage": "Första bild", - "firstPage": "Första sidan", - "folio": "Folio", - "gallery": "Galleri", - "go": "Gå", - "help": "Hjälp", - "image": "Bild", - "last": "Sista", - "lastImage": "Sista bilden", - "lastPage": "Sista sidan", - "next": "Nästa", - "nextImage": "Nästa bild", - "nextPage": "Nästa sida", - "of": "av {0}", - "oneUp": "Enkelsidig vy", - "page": "Sida", - "pageSearchLabel": "Sök med sidnummer", - "previous": "Föregående", - "previousImage": "Föregående bild", - "previousPage": "Föregående sida", - "settings": "Inställningar", - "twoUp": "Dubbelsidig vy" - } - }, - "openSeadragonCenterPanel": { - "options": { - "animationTime": 0.15, - "autoHideControls": true, - "requiredStatementEnabled": true, - "blendTime": 0, - "constrainDuringPan": false, - "controlsFadeAfterInactive": 1500, - "controlsFadeDelay": 250, - "controlsFadeLength": 250, - "defaultZoomLevel": 0, - "immediateRender": false, - "maxZoomPixelRatio": 1.25, - "navigatorPosition": "BOTTOM_RIGHT", - "pageGap": 50, - "showHomeControl": false, - "trimAttributionCount": 150, - "visibilityRatio": 0.5 - }, - "content": { - "attribution": "Upphov", - "goHome": "Visa hela sidan", - "imageUnavailable": "Bild ej tillgänglig", - "next": "Nästa", - "previous": "Föregående", - "rotateRight": "Rotera höger", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "searchFooterPanel": { - "options": { - "elideDetailsTermsCount": 20, - "elideResultsTermsCount": 10, - "forceImageMode": false, - "pageModeEnabled": true, - "positionMarkerEnabled": true - }, - "content": { - "clearSearch": "Rensa sökning", - "defaultLabel": "-", - "displaying": "{0} {1} av {2}", - "enterKeyword": "Ange sökord", - "image": "bild", - "imageCaps": "Bild", - "instanceFound": "1 instans av '{0}' hittades", - "instancesFound": "{0} instanser av '{1}' hittades", - "nextResult": "Nästa träff", - "page": "sida", - "pageCaps": "Sida", - "previousResult": "Föregående träff", - "print": "Skriv ut", - "resultFoundFor": "träff hittades för", - "resultsFoundFor": "träffar hittades för", - "searchWithin": "Sök inom detta objekt:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Språk", - "navigatorEnabled": "Visa minivy", - "clickToZoomEnabled": "Zooma med musklick", - "pagingEnabled": "Dubbelsidig vy", - "reducedMotion": "Minska rörelse (inaktiverar animationer)", - "preserveViewport": "Behåll zoomnivå", - "title": "Inställningar", - "website": "mer info" - } - }, - "shareDialogue": { - "options": { - "embedTemplate": "", - "instructionsEnabled": false, - "shareFrameEnabled": true, - "shareManifestsEnabled": true - }, - "content": { - "customSize": "Anpassad", - "embed": "Bädda in", - "embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", - "height": "Höjd", - "iiif": "IIIF Manifest", - "share": "Dela", - "shareInstructions": "Kopiera länken nedan för att dela det här objektet.", - "size": "Storlek:", - "width": "Bredd" - } - }, - "authDialogue": { - "content": { - "cancel": "Avbryt", - "confirm": "Bekräfta" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Läs fullständiga villkor" - } - }, - "loginDialogue": { - "content": { - "login": "Logga in", - "logout": "Logga ut", - "cancel": "Avbryt" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotera höger", - "moreInfo": "Mer information", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "avCenterPanel": { - "content": { - "currentTime": "Aktuell tid", - "delimiter": " - ", - "duration": "Speltid", - "mute": "Tyst", - "next": "Nästa", - "pause": "Paus", - "play": "Spela", - "previous": "Föregående" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Avbryt" - } - } - }, - "localisation": { - "label": "Svenska", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", - "authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", - "canvasIndexOutOfRange": "Canvas-index ogiltigt.", - "fallbackDegradedLabel": "Logga in", - "fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", - "forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", - "termsOfUse": "Användningsvillkor" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/Extension.ts b/src/content-handlers/iiif/extensions/uv-pdf-extension/Extension.ts index f4e588052..f9118c54c 100644 --- a/src/content-handlers/iiif/extensions/uv-pdf-extension/Extension.ts +++ b/src/content-handlers/iiif/extensions/uv-pdf-extension/Extension.ts @@ -14,7 +14,7 @@ import { ExternalResourceType } from "@iiif/vocabulary/dist-commonjs/"; import { Bools, Strings } from "@edsilv/utils"; import { Canvas, LanguageMap, Thumb } from "manifesto.js"; import "./theme/theme.less"; -import defaultConfig from "./config/en-GB.json"; +import defaultConfig from "./config/config.json"; import { Events } from "../../../../Events"; export default class Extension extends BaseExtension implements IPDFExtension { @@ -32,11 +32,7 @@ export default class Extension extends BaseExtension implements IPDFExtension { settingsDialogue: SettingsDialogue; defaultConfig: any = defaultConfig; locales = { - "en-GB": defaultConfig, - "cy-GB": () => import("./config/cy-GB.json"), - "fr-FR": () => import("./config/fr-FR.json"), - "pl-PL": () => import("./config/pl-PL.json"), - "sv-SE": () => import("./config/sv-SE.json"), + "en-GB": defaultConfig }; create(): void { diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/en-GB.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json similarity index 50% rename from src/content-handlers/iiif/extensions/uv-pdf-extension/config/en-GB.json rename to src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json index 4299e6985..13af3d6de 100644 --- a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/en-GB.json +++ b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json @@ -1,214 +1,215 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme", - "usePdfJs": true - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "custom", - "embed": "Embed", - "embedInstructions": "To embed this item in your own website, copy and paste the code below.", - "height": "Height", - "iiif": "IIIF Manifest", - "share": "Share", - "shareInstructions": "To share this item, copy the URL below.", - "size": "Size:", - "width": "Width" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Add to bookmarks", - "download": "Download", - "embed": "Embed", - "exitFullScreen": "Exit Full Screen", - "feedback": "Feedback", - "fullScreen": "Full Screen", - "moreInfo": "More Information", - "open": "Open", - "share": "Share" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Close", - "help": "Help" - } - }, - "helpDialogue": { - "content": { - "text": "placeholder text", - "title": "Help" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Collapse Information", - "collapseFull": "Collapse Gallery", - "description": "Description", - "expand": "Expand Information", - "expandFull": "Expand Gallery", - "holdingText": "Your module goes here!", - "less": "less", - "license": "License", - "logo": "Logo", - "more": "more", - "noData": "No data to display", - "page": "Page", - "title": "More Information", - "manifestHeader": "About the item", - "canvasHeader": "About the image", - "copyToClipboard": "Copy to clipboard", - "copiedToClipboard": "Copied to clipboard" - } - }, - "pdfCenterPanel": { - "options": { - "titleEnabled": false - }, - "content": { - "attribution": "Attribution" - } - }, - "resourcesLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "dialogue": { - "content": { - "close": "Close" - } - }, - "downloadDialogue": { - "content": { - "download": "Download", - "entireFileAsOriginal": "Entire file", - "noneAvailable": "No download options are available.", - "preview": "Preview", - "title": "Download" - } - }, - "pdfHeaderPanel": { - "content": { - "emptyValue": "Please enter a value", - "first": "First", - "go": "Go", - "last": "Last", - "next": "Next", - "of": "of {0}", - "previous": "Previous" - } - }, - "loginDialogue": { - "content": { - "login": "Login", - "cancel": "Cancel" - } - }, - "settingsDialogue": { - "content": { - "locale": "Locale", - "pagingEnabled": "Two Page View", - "reducedMotion": "Reduce motion (disables animations)", - "preserveViewport": "Preserve Zoom", - "title": "Settings", - "website": "more info" - } - }, - "contentLeftPanel": {} - }, - "localisation": { - "label": "English (GB)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Your browser does not support CORS, please upgrade to view this content.", - "authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", - "degradedResourceMessage": "Please log in to view at full quality.", - "degradedResourceLogin": "log in", - "forbiddenResourceMessage": "Your current access rights are insufficient to view this image", - "mediaViewer": "Media Viewer", - "skipToDownload": "Skip to downloads and alternative formats" - } +{ + "options": { + "authAPIVersion": 1, + "bookmarkThumbHeight": 150, + "bookmarkThumbWidth": 90, + "dropEnabled": true, + "footerPanelEnabled": true, + "headerPanelEnabled": true, + "limitLocales": false, + "openTemplate": "http://universalviewer.io?manifest={0}", + "pessimisticAccessControl": false, + "rightPanelEnabled": true, + "theme": "uv-en-GB-theme", + "usePdfJs": true + }, + "modules": { + "shareDialogue": { + "options": { + "embedTemplate": "" + }, + "content": { + "customSize": "$custom", + "embed": "$embed", + "embedInstructions": "$embedInstructions", + "height": "$height", + "iiif": "$iiifManifest", + "share": "$share", + "shareInstructions": "$shareInstructions", + "size": "$size", + "width": "$width" + } + }, + "footerPanel": { + "options": { + "bookmarkEnabled": false, + "embedEnabled": false, + "feedbackEnabled": false, + "minimiseButtons": true, + "openEnabled": false, + "shareEnabled": true + }, + "content": { + "bookmark": "$add_to_bookmarks", + "download": "$download", + "embed": "$embed", + "exitFullScreen": "$exitFullScreen", + "feedback": "$feedback", + "fullScreen": "$fullScreen", + "moreInfo": "$moreInfo", + "open": "$open", + "share": "$share" + } + }, + "genericDialogue": { + "content": { + "ok": "$ok" + } + }, + "headerPanel": { + "content": { + "close": "$close", + "help": "$help" + } + }, + "helpDialogue": { + "content": { + "text": "$placeholder_text text", + "title": "$help" + } + }, + "moreInfoRightPanel": { + "options": { + "canvasDisplayOrder": "", + "canvasExclude": "", + "copyToClipboardEnabled": false, + "manifestDisplayOrder": "", + "manifestExclude": "", + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": false, + "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", + "showAllLanguages": false, + "textLimit": 4, + "textLimitType": "lines" + }, + "content": { + "attribution": "$attribution", + "canvasHeader": "$aboutTheImage", + "collapse": "$collapseInformation", + "collapseFull": "$collapseGallery", + "copiedToClipboard": "$copiedToClipboard", + "copyToClipboard": "$copyToClipboard", + "description": "$description", + "expand": "$expandInformation", + "expandFull": "$expandGallery", + "holdingText": "$moduleGoesHere", + "less": "$less", + "license": "$license", + "logo": "$logo", + "manifestHeader": "$aboutTheItem", + "more": "$more", + "noData": "$noDataToDisplay", + "page": "$page", + "rangeHeader": "$aboutThisSection", + "title": "$moreInformation" + } + }, + "pdfCenterPanel": { + "options": { + "titleEnabled": false + }, + "content": { + "attribution": "$attribution" + } + }, + "resourcesLeftPanel": { + "options": { + "elideCount": 40, + "galleryThumbHeight": 320, + "galleryThumbWidth": 200, + "oneColThumbHeight": 320, + "oneColThumbWidth": 200, + "pageModeEnabled": true, + "panelAnimationDuration": 250, + "panelCollapsedWidth": 30, + "panelExpandedWidth": 255, + "panelOpen": true, + "thumbsEnabled": true, + "thumbsExtraHeight": 8, + "thumbsImageFadeInDuration": 300, + "thumbsLoadRange": 15, + "treeEnabled": true, + "twoColThumbHeight": 150, + "twoColThumbWidth": 90 + } + }, + "dialogue": { + "content": { + "close": "$close" + } + }, + "downloadDialogue": { + "content": { + "download": "$download", + "entireFileAsOriginal": "$entireFile", + "noneAvailable": "$noDownloadOptionsAvailable", + "preview": "$preview", + "title": "$download" + } + }, + "pdfHeaderPanel": { + "content": { + "emptyValue": "$pleaseEnterValue", + "first": "$first", + "go": "$go", + "last": "$last", + "next": "$next", + "of": "$of", + "previous": "$previous" + } + }, + "loginDialogue": { + "content": { + "login": "$login", + "cancel": "$cancel" + } + }, + "settingsDialogue": { + "content": { + "locale": "$locale", + "pagingEnabled": "$twoPageView", + "reducedMotion": "$reducedMotion", + "preserveViewport": "$preserveViewport", + "title": "$settings", + "website": "$uvWebsite" + } + }, + "contentLeftPanel": {} + }, + "localisation": { + "label": "English (GB)", + "locales": [ + { + "name": "cy-GB", + "label": "Cymraeg" + }, + { + "name": "en-GB", + "label": "English (GB)" + }, + { + "name": "fr-FR", + "label": "Français (FR)" + }, + { + "name": "pl-PL", + "label": "Polski" + }, + { + "name": "sv-SE", + "label": "Svenska" + } + ] + }, + "content": { + "authCORSError": "$authCORSError", + "authorisationFailedMessage": "$authorisationFailedMessage", + "degradedResourceMessage": "$pleaseLogInToViewAtFullQuality", + "degradedResourceLogin": "$log_in", + "forbiddenResourceMessage": "$forbiddenResourceMessage", + "mediaViewer": "$mediaViewer", + "skipToDownload": "$skipToDownload" + } } \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/cy-GB.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/cy-GB.json deleted file mode 100644 index f156c451a..000000000 --- a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/cy-GB.json +++ /dev/null @@ -1,219 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme", - "usePdfJs": true - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "arfer", - "embed": "gwreiddio", - "embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, cop�wch a gosodwch y cod isod.", - "height": "Hyd", - "iiif": "IIIF Manifest", - "share": "Rhannu", - "shareInstructions": "I rannu yr eitem hon, copïwch y URL isod.", - "size": "maint:", - "width": "Lled" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ychwanegu at nodau tudalen", - "download": "Lawrlwytho", - "embed": "Ymgorffori", - "exitFullScreen": "Dianc o'r sgrin lawn", - "feedback": "Adborth", - "fullScreen": "Sgrin lawn", - "moreInfo": "Mwy o Wybodaeth", - "open": "Agor", - "share": "Rhannu" - } - }, - "genericDialogue": { - "content": { - "ok": "GWELD" - } - }, - "headerPanel": { - "content": { - "close": "Cau", - "help": "Help" - } - }, - "helpDialogue": { - "content": { - "text": "testun i'w osod", - "title": "Cymorth" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Priodoledd", - "collapse": "Lleihau'r Wybodaeth", - "collapseFull": "Cuddio'r Galeri", - "description": "Disgrifiad", - "expand": "Ehangu'r Wybodaeth", - "expandFull": "Ehangu'r Galeri", - "holdingText": "Eich modiwl fan hyn!", - "less": "llai", - "license": "Trwydded", - "logo": "Logo", - "more": "mwy", - "noData": "Nid oes data i'w arddangos", - "page": "tudalen", - "title": "Mwy o Wybodaeth", - "manifestHeader": "Am yr eitem", - "canvasHeader": "Am y ddelwedd", - "copyToClipboard": "Copïo i'r clipfwrdd", - "copiedToClipboard": "Copïwyd i'r clipfwrdd" - } - }, - "pdfCenterPanel": { - "options": { - "titleEnabled": false - } - }, - "resourcesLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "dialogue": { - "content": { - "close": "Cau" - } - }, - "downloadDialogue": { - "content": { - "download": "Lawrlwytho", - "entireFileAsOriginal": "Y ffeil gyfan", - "noneAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", - "preview": "Rhagolwg", - "title": "Lawrlwytho" - } - }, - "pdfHeaderPanel": { - "content": { - "emptyValue": "Rhowch werth", - "first": "Gyntaf", - "go": "Ewch", - "last": "Diwethaf", - "next": "Nesaf", - "of": "o {0}", - "previous": "Blaenorol" - } - }, - "loginDialogue": { - "content": { - "login": "Mewngofnodi", - "cancel": "Diddymu" - } - }, - "settingsDialogue": { - "content": { - "locale": "Iaith", - "pagingEnabled": "Arddangos dwy dudalen", - "reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", - "preserveViewport": "Cadw'r lefel o glosio", - "title": "Dewisiadau", - "website": "mwy o wybodaeth" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Cuddio'r Cynnwys", - "collapseFull": "Cuddio'r Galeri", - "expand": "Ehangu'r Cynnwys", - "expandFull": "Ehangu'r Galeri", - "index": "Mynegai", - "thumbnails": "Bodluniau", - "title": "Cynnwys" - } - } - }, - "localisation": { - "label": "Cymraeg", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Eich porwr yn peidio cefnogi CORS, os gwelwch yn dda uwchraddio i weld y cynnwys hwn.", - "authorisationFailedMessage": "Nid oedd yn ymddangos eich ymgais mewngofnodi i fod yn llwyddiannus . Trio eto os gwelwch yn dda.", - "degradedResourceMessage": "Os gwelwch yn dda mewngofnodwch i weld yn ansawdd llawn.", - "degradedResourceLogin": "Mewngofnodi", - "forbiddenResourceMessage": "Eich hawliau mynediad presennol yn annigonol i weld llun hwn" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/fr-FR.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/fr-FR.json deleted file mode 100644 index aa504f499..000000000 --- a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/fr-FR.json +++ /dev/null @@ -1,340 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme", - "usePdfJs": true - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "personnalisée", - "embed": "Intégrer", - "embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", - "height": "Hauteur", - "iiif": "Manifeste IIIF", - "share": "Partager", - "shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", - "size": "Taille :", - "width": "Largeur" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Ajouter aux favoris", - "download": "Télécharger", - "embed": "Intégrer", - "exitFullScreen": "Quitter le mode plein écran", - "feedback": "Commentaire", - "fullScreen": "Affichage en plein écran", - "moreInfo": "Informations", - "open": "Ouvrir", - "share": "Partager" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "veuillez saisir une valeur.", - "invalidNumber": "Veuillez saisir un nombre valide.", - "noMatches": "Aucune correspondance n'a été trouvée.", - "ok": "OK", - "pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", - "refresh": "Rafraîchir" - } - }, - "headerPanel": { - "content": { - "close": "Fermer", - "help": "Aide" - } - }, - "helpDialogue": { - "content": { - "text": "texte d'exemple", - "title": "Aide" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Attribution", - "collapse": "Masquer les informations", - "collapseFull": "Masquer la galerie", - "description": "Description", - "expand": "Afficher les informations", - "expandFull": "Afficher la galerie", - "holdingText": "Votre module vient ici !", - "less": "moins", - "license": "Licence", - "logo": "Logo", - "more": "suite", - "noData": "Aucune donnée à afficher", - "page": "Page", - "title": "Informations", - "manifestHeader": "A propos du contenu", - "canvasHeader": "A propos de l'image", - "copyToClipboard": "Copier dans le presse-papiers", - "copiedToClipboard": "Copié dans le presse-papiers" - } - }, - "pdfCenterPanel": { - "options": { - "titleEnabled": false - } - }, - "resourcesLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "authDialogue": { - "content": { - "cancel": "Annuler", - "confirm": "Confirmer" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Lire les termes et les conditions d'utilisation" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Masquer les contenus", - "collapseFull": "Masquer la galerie", - "date": "date", - "expand": "Afficher les contenus", - "expandFull": "Afficher la galerie", - "index": "Index", - "manifestRanges": "Manifestes", - "searchResult": "{0} résultats", - "searchResults": "{0} résultats", - "sortBy": "Trier par :", - "thumbnails": "Vignettes", - "title": "Contenus", - "volume": "volume" - } - }, - "dialogue": { - "content": { - "close": "Fermer" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Ouvre une nouvelle fenêtre", - "download": "Télécharger", - "downloadSelection": "Télécharger la sélection", - "downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", - "editSettings": "Modifier les paramètres", - "entireDocument": "Document entier ({0})", - "entireFileAsOriginal": "Fichier complet", - "noneAvailable": "Aucune option de téléchargement n'est disponible.", - "pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", - "preview": "Aperçu", - "title": "Télécharger", - "wholeImageHighRes": "Image {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", - "wholeImagesHighRes": "Images ({0})", - "wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", - "wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre." - } - }, - "pdfHeaderPanel": { - "content": { - "emptyValue": "Entrer un nombre", - "first": "Premier", - "go": "Aller", - "last": "Dernière", - "next": "Aide", - "of": "de {0}", - "previous": "Précédent" - } - }, - "loginDialogue": { - "content": { - "login": "Connexion", - "logout": "Déconnexion", - "cancel": "Annuler" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Pivoter à droite", - "moreInfo": "Informations", - "zoomIn": "Zoom avant", - "zoomOut": "Zoom arrière" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Télécharger", - "selectAll": "Tout sélectionner", - "title": "Sélectionner les pages à télécharger" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Fermer", - "emptyValue": "Veuillez saisir une valeur", - "first": "Premier", - "firstImage": "Première image", - "firstPage": "Première page", - "folio": "Folio", - "gallery": "Gallerie", - "go": "Aller", - "help": "Aide", - "image": "Image", - "last": "Dernier", - "lastImage": "Dernière image", - "lastPage": "Dernière page", - "next": "Suivant", - "nextImage": "Prochaine image", - "nextPage": "Page suivante", - "of": "de {0}", - "oneUp": "Affichage en mode page simple", - "page": "Page", - "pageSearchLabel": "Recherche par numéro de page.", - "previous": "Précédent", - "previousImage": "Image précédente", - "previousPage": "Page précédente", - "settings": "Paramètres", - "twoUp": "Affichage double page" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Attribution", - "goHome": "Retour", - "imageUnavailable": "Image non disponible", - "next": "Prochain", - "previous": "Précédent", - "rotateRight": "Pivoter à droite", - "zoomIn": "Zoomer", - "zoomOut": "Dézoomer" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Annuler" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Effacer", - "defaultLabel": "-", - "displaying": "{0} {1} de {2}", - "enterKeyword": "Saisir un mot", - "image": "image", - "imageCaps": "Image", - "instanceFound": "1 instance de '{0}' trouvée", - "instancesFound": "{0} instances de '{1}' trouvées", - "nextResult": "Résultat suivant", - "page": "page", - "pageCaps": "Page", - "previousResult": "Résultat précédent", - "print": "Imprimer", - "resultFoundFor": "résultat trouvé pour ", - "resultsFoundFor": "résultats trouvés pour", - "searchWithin": "Chercher dans ce document :" - } - }, - "settingsDialogue": { - "content": { - "locale": "Langues", - "navigatorEnabled": "Navigateur activé", - "clickToZoomEnabled": "Cliquer pour zoomer", - "pagingEnabled": "Affichage double page", - "reducedMotion": "Réduire le mouvement (désactive les animations)", - "preserveViewport": "Conserver le zoom", - "title": "Paramètres", - "website": "informations" - } - } - }, - "localisation": { - "label": "Français (FR)", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", - "authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", - "canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", - "fallbackDegradedLabel": "Connexion", - "fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", - "forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", - "termsOfUse": "Conditions d'utilisation" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/pl-PL.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/pl-PL.json deleted file mode 100644 index 2bfc3f3b1..000000000 --- a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/pl-PL.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme", - "usePdfJs": true - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "niestandardowy", - "embed": "Osadź", - "embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "height": "Wysokość", - "iiif": "Manifest IIIF", - "share": "Udostępnij", - "shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", - "size": "Rozmiar:", - "width": "Szerokość" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Dodaj do zakładek", - "download": "Pobierz", - "embed": "Osadź", - "exitFullScreen": "Zamknij pełny ekran", - "feedback": "Feedback", - "fullScreen": "Pełny ekran", - "moreInfo": "Więcej informacji", - "open": "Otwórz", - "share": "Udostępnij" - } - }, - "genericDialogue": { - "content": { - "ok": "OK" - } - }, - "headerPanel": { - "content": { - "close": "Zamknij", - "help": "Pomoc" - } - }, - "helpDialogue": { - "content": { - "text": "tekst zastępczy", - "title": "Pomoc" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Źródło", - "collapse": "Zwiń informacje", - "collapseFull": "Zwiń galerię", - "description": "Opis", - "expand": "Rozwiń informacje", - "expandFull": "Rozwiń galerię", - "holdingText": "Miejsce na twój moduł!", - "less": "mniej", - "license": "Licencja", - "logo": "Logo", - "more": "więcej", - "noData": "Brak danych do wyświetlenia", - "page": "Strona", - "title": "Więcej informacji", - "manifestHeader": "O obiekcie", - "canvasHeader": "O obrazie", - "copyToClipboard": "Skopiuj do schowka", - "copiedToClipboard": "Skopiowano do schowka" - } - }, - "pdfCenterPanel": { - "options": { - "titleEnabled": false - }, - "content": { - "attribution": "Źródło" - } - }, - "resourcesLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "dialogue": { - "content": { - "close": "Zamknij" - } - }, - "downloadDialogue": { - "content": { - "download": "Pobierz", - "entireFileAsOriginal": "Cały plik", - "noneAvailable": "Brak dostępnych opcji pobierania.", - "preview": "Podgląd", - "title": "Pobieranie" - } - }, - "pdfHeaderPanel": { - "content": { - "emptyValue": "Proszę wprowadzić wartość", - "first": "Pierwsza", - "go": "Idź", - "last": "Ostatnia", - "next": "Następna", - "of": "z {0}", - "previous": "Poprzednia" - } - }, - "loginDialogue": { - "content": { - "login": "Zaloguj się", - "cancel": "Anuluj" - } - }, - "settingsDialogue": { - "content": { - "locale": "Język", - "pagingEnabled": "Widok dwóch stron", - "reducedMotion": "Zmniejsz ruch (wyłącza animacje)", - "preserveViewport": "Zachowanie przybliżenia", - "title": "Ustawienia", - "website": "więcej informacji" - } - }, - "contentLeftPanel": {} - }, - "localisation": { - "label": "Polski", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", - "authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", - "degradedResourceMessage": "Zaloguj się, aby wyświetlić w pełnej jakości.", - "degradedResourceLogin": "Zaloguj się", - "forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/sv-SE.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/sv-SE.json deleted file mode 100644 index b91aa9407..000000000 --- a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/sv-SE.json +++ /dev/null @@ -1,352 +0,0 @@ -{ - "options": { - "authAPIVersion": 1, - "bookmarkThumbHeight": 150, - "bookmarkThumbWidth": 90, - "dropEnabled": true, - "footerPanelEnabled": true, - "headerPanelEnabled": true, - "limitLocales": false, - "openTemplate": "http://universalviewer.io?manifest={0}", - "pessimisticAccessControl": false, - "rightPanelEnabled": true, - "theme": "uv-en-GB-theme", - "usePdfJs": true - }, - "modules": { - "shareDialogue": { - "options": { - "embedTemplate": "" - }, - "content": { - "customSize": "Anpassad", - "embed": "Bädda in", - "embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", - "height": "Höjd", - "iiif": "IIIF Manifest", - "share": "Dela", - "shareInstructions": "Kopiera länken nedan för att dela det här objektet.", - "size": "Storlek:", - "width": "Bredd" - } - }, - "footerPanel": { - "options": { - "bookmarkEnabled": false, - "embedEnabled": false, - "feedbackEnabled": false, - "minimiseButtons": true, - "openEnabled": false, - "shareEnabled": true - }, - "content": { - "bookmark": "Lägg till bokmärke", - "download": "Ladda ner", - "embed": "Bädda in", - "exitFullScreen": "Avsluta helskärm", - "feedback": "Feedback", - "fullScreen": "Helskärm", - "moreInfo": "Mer information", - "open": "Öppna", - "share": "Dela" - } - }, - "genericDialogue": { - "content": { - "emptyValue": "ange ett värde.", - "invalidNumber": "Ange ett giltigt nummer.", - "noMatches": "Inga träffar hittades.", - "ok": "OK", - "pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", - "refresh": "Uppdatera" - } - }, - "headerPanel": { - "content": { - "close": "Stäng", - "help": "Hjälp" - } - }, - "helpDialogue": { - "content": { - "text": "platshållartext", - "title": "Hjälp" - } - }, - "moreInfoRightPanel": { - "options": { - "canvasDisplayOrder": "", - "canvasExclude": "", - "copyToClipboardEnabled": false, - "manifestDisplayOrder": "", - "manifestExclude": "", - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": false, - "rtlLanguageCodes": "ar, ara, dv, div, he, heb, ur, urd", - "showAllLanguages": false, - "textLimit": 4, - "textLimitType": "lines" - }, - "content": { - "attribution": "Upphov", - "collapse": "Fäll ihop information", - "collapseFull": "Fäll ihop galleri", - "description": "Beskrivning", - "expand": "Expandera information", - "expandFull": "Expandera galleri", - "holdingText": "Plats för din modul!", - "less": "mindre", - "license": "Licensvillkor", - "logo": "Logotyp", - "more": "mer", - "noData": "Ingen information att visa", - "page": "Sida", - "title": "Mer information", - "manifestHeader": "Om objektet", - "canvasHeader": "Om bilden", - "copyToClipboard": "Kopiera till urklipp", - "copiedToClipboard": "Kopierade till urklipp" - } - }, - "pdfCenterPanel": { - "options": { - "titleEnabled": false - } - }, - "resourcesLeftPanel": { - "options": { - "elideCount": 40, - "galleryThumbHeight": 320, - "galleryThumbWidth": 200, - "oneColThumbHeight": 320, - "oneColThumbWidth": 200, - "pageModeEnabled": true, - "panelAnimationDuration": 250, - "panelCollapsedWidth": 30, - "panelExpandedWidth": 255, - "panelOpen": true, - "thumbsEnabled": true, - "thumbsExtraHeight": 8, - "thumbsImageFadeInDuration": 300, - "thumbsLoadRange": 15, - "treeEnabled": true, - "twoColThumbHeight": 150, - "twoColThumbWidth": 90 - } - }, - "authDialogue": { - "content": { - "cancel": "Avbryt", - "confirm": "Bekräfta" - } - }, - "clickThroughDialogue": { - "content": { - "viewTerms": "Läs fullständiga villkor" - } - }, - "contentLeftPanel": { - "content": { - "collapse": "Fäll ihop innehåll", - "collapseFull": "Fäll ihop galleri", - "date": "datum", - "expand": "Expandera innehåll", - "expandFull": "Expandera galleri", - "index": "Index", - "manifestRanges": "Manifest-omfång", - "searchResult": "{0} sökträffar", - "searchResults": "{0} sökträffar", - "sortBy": "Sortera efter:", - "thumbnails": "Småbilder", - "title": "Innehåll", - "volume": "volym" - } - }, - "dialogue": { - "content": { - "close": "Stäng" - } - }, - "downloadDialogue": { - "content": { - "currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", - "currentViewAsJpgExplanation": "Öppnas i nytt fönster", - "download": "Ladda ner", - "downloadSelection": "Ladda ner valt område", - "downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", - "editSettings": "Ändra inställningar", - "entireDocument": "Hela dokumentet ({0})", - "entireFileAsOriginal": "Hela filen", - "noneAvailable": "Inga nedladdningsalternativ är tillgängliga.", - "pagingNote": "Stäng dubbelsidig vy för fler alternativ", - "preview": "Förhandsgranska", - "title": "Ladda ner", - "wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", - "wholeImageHighResExplanation": "Öppnas i nytt fönster.", - "wholeImagesHighRes": "Hela bilder ({0})", - "wholeImagesHighResExplanation": "Öppnas i två nya fönster.", - "wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", - "wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster." - } - }, - "pdfHeaderPanel": { - "content": { - "emptyValue": "Geben Sie eine Nummer ein", - "first": "Första", - "go": "Gå", - "last": "Sista", - "next": "Hjälp", - "of": "av {0}", - "previous": "Föregående" - } - }, - "loginDialogue": { - "content": { - "login": "Logga in", - "logout": "Logga ut", - "cancel": "Avbryt" - } - }, - "mobileFooterPanel": { - "content": { - "rotateRight": "Rotera höger", - "moreInfo": "Mer information", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "multiSelectDialogue": { - "content": { - "select": "Ladda ner", - "selectAll": "Markera alla", - "title": "Välj sidor att ladda ner" - } - }, - "pagingHeaderPanel": { - "content": { - "close": "Stäng", - "emptyValue": "Ange ett värde", - "first": "Första", - "firstImage": "Första bild", - "firstPage": "Första sidan", - "folio": "Folio", - "gallery": "Galleri", - "go": "Gå", - "help": "Hjälp", - "image": "Bild", - "last": "Sista", - "lastImage": "Sista bilden", - "lastPage": "Sista sidan", - "next": "Nästa", - "nextImage": "Nästa bild", - "nextPage": "Nästa sida", - "of": "av {0}", - "oneUp": "Enkelsidig vy", - "page": "Sida", - "pageSearchLabel": "Sök med sidnummer", - "previous": "Föregående", - "previousImage": "Föregående bild", - "previousPage": "Föregående sida", - "settings": "Inställningar", - "twoUp": "Dubbelsidig vy" - } - }, - "openSeadragonCenterPanel": { - "content": { - "attribution": "Upphov", - "goHome": "Visa hela sidan", - "imageUnavailable": "Bild ej tillgänglig", - "next": "Nästa", - "previous": "Föregående", - "rotateRight": "Rotera höger", - "zoomIn": "Zooma in", - "zoomOut": "Zooma ut" - } - }, - "avCenterPanel": { - "content": { - "currentTime": "Aktuell tid", - "delimiter": " - ", - "duration": "Speltid", - "mute": "Tyst", - "next": "Nästa", - "pause": "Paus", - "play": "Spela", - "previous": "Föregående" - } - }, - "restrictedDialogue": { - "content": { - "cancel": "Avbryt" - } - }, - "searchFooterPanel": { - "content": { - "clearSearch": "Rensa sökning", - "defaultLabel": "-", - "displaying": "{0} {1} av {2}", - "enterKeyword": "Ange sökord", - "image": "bild", - "imageCaps": "Bild", - "instanceFound": "1 instans av '{0}' hittades", - "instancesFound": "{0} instanser av '{1}' hittades", - "nextResult": "Nästa träff", - "page": "sida", - "pageCaps": "Sida", - "previousResult": "Föregående träff", - "print": "Skriv ut", - "resultFoundFor": "träff hittades för", - "resultsFoundFor": "träffar hittades för", - "searchWithin": "Sök inom detta objekt:" - } - }, - "settingsDialogue": { - "content": { - "locale": "Språk", - "navigatorEnabled": "Visa minivy", - "clickToZoomEnabled": "Zooma med musklick", - "pagingEnabled": "Dubbelsidig vy", - "reducedMotion": "Minska rörelse (inaktiverar animationer)", - "preserveViewport": "Behåll zoomnivå", - "title": "Inställningar", - "website": "mer info" - } - } - }, - "localisation": { - "label": "Svenska", - "locales": [ - { - "name": "cy-GB", - "label": "Cymraeg" - }, - { - "name": "en-GB", - "label": "English (GB)" - }, - { - "name": "fr-FR", - "label": "Français (FR)" - }, - { - "name": "pl-PL", - "label": "Polski" - }, - { - "name": "sv-SE", - "label": "Svenska" - } - ] - }, - "content": { - "authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", - "authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", - "canvasIndexOutOfRange": "Canvas-index ogiltigt.", - "fallbackDegradedLabel": "Logga in", - "fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", - "forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", - "termsOfUse": "Användningsvillkor" - } -} \ No newline at end of file diff --git a/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts b/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts index 25532a8b8..c37c515b0 100644 --- a/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts +++ b/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts @@ -474,8 +474,15 @@ export class BaseExtension implements IExtension { }, 1); } - public async loadConfig(locale: string): Promise { - let config = this.locales[locale]; + public async loadConfig(locale: string, extension: string): Promise { + + let uv_locale = locale; + if(extension) { + uv_locale = '_'; + this.locales['_'] = () => import(`../../extensions/${extension}/config/config.json`) + } + + let config = this.locales[uv_locale]; if (!config) { throw new Error("Unable to load config"); @@ -487,7 +494,23 @@ export class BaseExtension implements IExtension { config = JSON.parse(JSON.stringify(config)); } - return config; + return this.translateLocale(config, locale); + } + + private async translateLocale(config: Object, locale: String): Promise { + + let localeStrings = await import(`../../../../locales/${locale}.json`); + let conf = JSON.stringify(config); + + for(let str in localeStrings) { + let replaceStr = str.replace('$',''); + let re = new RegExp(`\\$${replaceStr}\\b`, 'g'); + conf = conf.replace(re, localeStrings[str]); + } + + conf = JSON.parse(conf); + + return conf; } createModules(): void { diff --git a/src/locales/cy-GB.json b/src/locales/cy-GB.json new file mode 100644 index 000000000..19d561af3 --- /dev/null +++ b/src/locales/cy-GB.json @@ -0,0 +1,148 @@ +{ + "$collapse": "Lleihau'r Cynnwys", + "$collapseFull": "Lleihau'r Galeri", + "$date": "Dyddiad", + "$expandContents": "Ehangu'r Cynnwys", + "$expandGallery": "Ehangu'r Galeri", + "$index": "Mynegai", + "$manifestRanges": "Amrediadau Maniffest", + "$searchResult": "{0} canlyniad chwilio", + "$searchResults": "{0} canlyniad chwilio", + "$sortBy": "Trefnu yn \u00f4l:", + "$thumbnails": "Bodluniau", + "$contents": "Cynnwys", + "$volume": "cyfrol", + "$close": "Cau", + "$allPages": "Pob Tudalen", + "$currentViewAsJpg": "Delwedd ddethol {0} x {1}px (jpg)", + "$openNewWindow": "Agor mewn dwy ffenest newydd.", + "$download": "Lawrlwytho", + "$downloadSelection": "Lawrlwytho'r detholiad", + "$downloadSelectionExplanation": "Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.", + "$editSettings": "Golygu'r dewisiadau", + "$entireDocument": "Y Ddogfen Gyfan ({0})", + "$entireFileX": "Y ffeil gyfan ({0})", + "$entireFile": "Y ffeil gyfan", + "$individualPages": "Tudalennau Unigol", + "$noDownloadOptionsAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", + "$pagingNote": "Dad-ddewiswch 'Arddangos Dwy Dudalen' i weld dewisiadau pellach.", + "$preview": "Rhagolwg", + "$selection": "Detholiad", + "$termsOfUse": "Telerau Defnydd", + "$wholeImageHighRes": "Delwedd gyfan {0} x {1}px ({2})", + "$wholeImageHighResExplanation": "Agor mewn ffenest newydd", + "$wholeImageLowResAsJpg": "Delwedd gyfan {0} x {1}px (jpg", + "$wholeImageLowResAsJpgExplanation": "Agor mewn ffenest newydd", + "$wholeImagesHighRes": "Delweddau cyfan ({0})", + "$wholeImagesHighResExplanation": "Agor mewn dwy ffenest newydd.", + "$add_to_bookmarks": "Ychwanegu at nodau tudalen", + "$embed": "Ymgorffori", + "$exitFullScreen": "Dianc o'r sgrin lawn", + "$feedback": "Adborth", + "$fullScreen": "Sgrin lawn", + "$moreInfo": "Mwy o Wybodaeth", + "$open": "Agor", + "$share": "Rhannu", + "$emptyValue": "rhowch rif", + "$invalidNumber": "Rhowch rif dilys", + "$noMatches": "Dim canlyniad sy'n cyfateb.", + "$ok": "GWELD", + "$pageNotFound": "Nid yw'r eitem yn cynnwys tudalen gyda'r rhif a nodwyd. Ceisiwch cyfnewid y math i 'delwedd'.", + "$refresh": "Ailosod", + "$placeholder_text": "testun i'w osod", + "$help": "Cymorth", + "$attribution": "Priodoledd", + "$aboutTheImage": "Am y ddelwedd", + "$collapseInformation": "Lleihau'r Wybodaeth", + "$collapseGallery": "Cuddio'r Galeri", + "$copiedToClipboard": "Cop\u00efwyd i'r clipfwrdd", + "$copyToClipboard": "Cop\u00efo i'r clipfwrd", + "$description": "Disgrifiad", + "$expandInformation": "Ehangu'r Wybodaeth", + "$moduleGoesHere": "Eich modiwl fan hyn!", + "$less": "llai", + "$license": "Trwydded", + "$logo": "Logo", + "$aboutTheItem": "Am yr eitem", + "$more": "mwy", + "$noDataToDisplay": "Nid oes data i'w arddangos", + "$page": "Tudalen", + "$aboutThisSection": "Am yr adran hon", + "$moreInformation": "Mwy o Wybodaeth", + "$selectAll": "Dewis y cyfan", + "$selectPagesForDownload": "Dewis Tudalennau i'w Lawrlwytho", + "$first": "gyntaf", + "$firstImage": "Delwedd Gyntaf", + "$firstPage": "Tudalen gyntaf", + "$folio": "Ffolio", + "$gallery": "Galeri", + "$go": "GWELD", + "$image": "Delwedd", + "$last": "Olaf", + "$lastImage": "Delwedd Olaf", + "$lastPage": "Tudalen Olaf", + "$next": "Nesaf", + "$nextImage": "Delwedd Nesaf", + "$nextPage": "Tudalen Nesaf", + "$of": "o {0}", + "$singlePageView": "Gweld un dudalen ar y tro", + "$searchByPageNumber": "Gweld un dudalen ar y tro", + "$previous": "Blaenorol", + "$previousImage": "Delwedd Flaenorol", + "$previousPage": "Tudalen Flaenorol", + "$settings": "Dewisiadau", + "$twoPageView": "Gweld dwy dudalen ar y tro", + "$goHome": "Gweld y maint gwreiddiol", + "$imageUnavailable": "Nid oes delwedd ar gael", + "$rotateRight": "Cylchdroi i'r dde", + "$zoomIn": "Closio", + "$zoomOut": "Gwrthglosio", + "$clearSearch": "Gwaredu", + "$displaying_A_of_B": "{0} {1} o {2}", + "$enterKeyword": "Mewnosodwch allweddair", + "$imageLowercase": "delwedd", + "$instanceFound": "Dangos 1 canlyniad ar gyfer '{0}' ", + "$instancesFound": "Dangos {0} canlyniad o '{1}' ", + "$nextResult": "Canlyniad nesaf", + "$pageLowercase": "tudalen", + "$previousResult": "Canlyniad blaenorol", + "$print": "Argraffu", + "$resultFoundFor": "canlyniad a geir ar gyfer", + "$resultsFoundFor": "canlyniad ar gyfer", + "$searchWithinItem": "Chwilio tu fewn i:", + "$locale": "Iaith", + "$navigatorEnabled": "Ffenest llywio ar gae", + "$clickToZoomEnabled": "Cliciwch gyda'r llygoden i glosio", + "$reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", + "$preserveViewport": "Cadw'r lefel o glosio", + "$uvWebsite": "mwy o wybodaeth<\/a>", + "$custom": "dewisol", + "$embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, cop\u00efwch a gosodwch y cod isod.", + "$height": "Hyd", + "$iiifManifest": "Maniffest IIIF", + "$shareInstructions": "Er mwyn rhannu'r eitem hon, cop\u00efwch y URL isod.", + "$size": "Maint:", + "$width": "Lled", + "$cancel": "Canslo", + "$confirm": "Cadarnhau", + "$viewTerms": "Darllenwch y Telerau a'r Amodau Llawn", + "$login": "Mewngofnodi", + "$log_in": "Mewngofnodi", + "$logout": "Allgofnodi", + "$authCORSError": "Mae angen diweddaru'ch porwr er mwyn galluogi rhannu adnoddau traws-safle.", + "$authorisationFailedMessage": "Ni lwyddoch i fewngofnodi. Rhowch gynnig arni eto.", + "$canvasIndexOutOfRange": "Canfas yn rhy fawr i'w arddangos (ceisiwch eto)", + "$fallbackDegradedLabel": "Mewngofnodi", + "$fallbackDegradedMessage": "Mewngofnodwch i weld y cynnwys hwn gyda phenderfyniad llawn.", + "$forbiddenResourceMessage": "Nid yw'ch hawliau mynediad presennol yn ddigonol i weld y ddelwedd hon", + "$mediaViewer": "Gwyliwr Cyfryngau", + "$skipToDownload": "Neidio i lawrlwythiadau a fformatau amgen", + "$pleaseEnterValue": "Mewnosodwch gwerth", + "$pleaseLogInToViewAtFullQuality": "Mewngofnodwch i weld yn ansawdd llawn.", + "$vr": "VR", + "$currentTime": "Amser Presennol", + "$duration": "Hyd", + "$mute": "Mudo", + "$pause": "Seibiant", + "$play": "Chwarae" +} diff --git a/src/locales/en-GB.json b/src/locales/en-GB.json new file mode 100644 index 000000000..3596a102e --- /dev/null +++ b/src/locales/en-GB.json @@ -0,0 +1,148 @@ +{ + "$collapse": "Collapse Contents", + "$collapseFull": "Collapse Gallery", + "$date": "date", + "$expandContents": "Expand Contents", + "$expandGallery": "Expand Gallery", + "$index": "Index", + "$manifestRanges": "Manifest Ranges", + "$searchResult": "{0} search result", + "$searchResults": "{0} search results", + "$sortBy": "Sort By:", + "$thumbnails": "Thumbnails", + "$contents": "Contents", + "$volume": "volume", + "$close": "Close", + "$allPages": "All Pages", + "$currentViewAsJpg": "Current view {0} x {1}px (jpg)", + "$openNewWindow": "Opens in a new window", + "$download": "Download", + "$downloadSelection": "Download Selection", + "$downloadSelectionExplanation": "Opens a dialogue to select which pages to download.", + "$editSettings": "Edit Settings", + "$entireDocument": "Entire document ({0})", + "$entireFileX": "Entire file ({0})", + "$entireFile": "Entire file", + "$individualPages": "Individual Pages", + "$noDownloadOptionsAvailable": "No download options are available.", + "$pagingNote": "Please turn off Two Page View for additional options.", + "$preview": "Preview", + "$selection": "Selection", + "$termsOfUse": "Terms of Use", + "$wholeImageHighRes": "Whole image {0} x {1}px ({2})", + "$wholeImageHighResExplanation": "Opens in a new window.", + "$wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)", + "$wholeImageLowResAsJpgExplanation": "Opens in a new window.", + "$wholeImagesHighRes": "Whole images ({0})", + "$wholeImagesHighResExplanation": "Opens in two new windows.", + "$add_to_bookmarks": "Add to bookmarks", + "$embed": "Embed", + "$exitFullScreen": "Exit Full Screen", + "$feedback": "Feedback", + "$fullScreen": "Full Screen", + "$moreInfo": "More Information", + "$open": "Open", + "$share": "Share", + "$emptyValue": "please enter a value.", + "$invalidNumber": "Please enter a valid number.", + "$noMatches": "No matches were found.", + "$ok": "OK", + "$pageNotFound": "This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.", + "$refresh": "Refresh", + "$placeholder_text": "placeholder text", + "$help": "Help", + "$attribution": "Attribution", + "$aboutTheImage": "About the image", + "$collapseInformation": "Collapse Information", + "$collapseGallery": "Collapse Gallery", + "$copiedToClipboard": "Copied to clipboard", + "$copyToClipboard": "Copy to clipboard", + "$description": "Description", + "$expandInformation": "Expand Information", + "$moduleGoesHere": "Your module goes here!", + "$less": "less", + "$license": "License", + "$logo": "Logo", + "$aboutTheItem": "About the item", + "$more": "more", + "$noDataToDisplay": "No data to display", + "$page": "Page", + "$aboutThisSection": "About this section", + "$moreInformation": "More Information", + "$selectAll": "Select All", + "$selectPagesForDownload": "Select Pages for Download", + "$first": "First", + "$firstImage": "First Image", + "$firstPage": "First Page", + "$folio": "Folio", + "$gallery": "Gallery", + "$go": "Go", + "$image": "Image", + "$last": "Last", + "$lastImage": "Last Image", + "$lastPage": "Last Page", + "$next": "Next", + "$nextImage": "Next Image", + "$nextPage": "Next Page", + "$of": "of {0}", + "$singlePageView": "Single page view", + "$searchByPageNumber": "Search by Page Number", + "$previous": "Previous", + "$previousImage": "Previous Image", + "$previousPage": "Previous Page", + "$settings": "Settings", + "$twoPageView": "Two page view", + "$goHome": "Go Home", + "$imageUnavailable": "Image Unavailable", + "$rotateRight": "Rotate Right", + "$zoomIn": "Zoom In", + "$zoomOut": "Zoom Out", + "$clearSearch": "Clear", + "$displaying_A_of_B": "{0} {1} of {2}", + "$enterKeyword": "Enter Keyword", + "$imageLowercase": "image", + "$instanceFound": "1 instance of '{0}' found", + "$instancesFound": "{0} instances of '{1}' found", + "$nextResult": "Next Result", + "$pageLowercase": "page", + "$previousResult": "Previous Result", + "$print": "Print", + "$resultFoundFor": "result found for", + "$resultsFoundFor": "results found for", + "$searchWithinItem": "Search within this item:", + "$locale": "Locale", + "$navigatorEnabled": "Navigator Enabled", + "$clickToZoomEnabled": "Mouse Click To Zoom", + "$reducedMotion": "Reduce motion (disables animations)", + "$preserveViewport": "Preserve Zoom", + "$uvWebsite": "more info<\/a>", + "$custom": "custom", + "$embedInstructions": "To embed this item in your own website, copy and paste the code below.", + "$height": "Height", + "$iiifManifest": "IIIF Manifest", + "$shareInstructions": "To share this item, copy the URL below.", + "$size": "Size:", + "$width": "Width", + "$cancel": "Cancel", + "$confirm": "Confirm", + "$viewTerms": "Read Full Terms and Conditions", + "$login": "Login", + "$log_in": "log in", + "$logout": "Logout", + "$authCORSError": "Your browser does not support CORS, please upgrade to view this content.", + "$authorisationFailedMessage": "Your log-in attempt did not appear to be successful. Please try again.", + "$canvasIndexOutOfRange": "Canvas index out of range.", + "$fallbackDegradedLabel": "Login", + "$fallbackDegradedMessage": "Please log in to view this content at full resolution.", + "$forbiddenResourceMessage": "Your current access rights are insufficient to view this image", + "$mediaViewer": "Media Viewer", + "$skipToDownload": "Skip to downloads and alternative formats", + "$pleaseEnterValue": "Please enter a value", + "$pleaseLogInToViewAtFullQuality": "Please log in to view at full quality.", + "$vr": "VR", + "$currentTime": "Current Time", + "$duration": "Duration", + "$mute": "Mute", + "$pause": "Pause", + "$play": "Play" +} diff --git a/src/locales/fr-FR.json b/src/locales/fr-FR.json new file mode 100644 index 000000000..ad5fa6713 --- /dev/null +++ b/src/locales/fr-FR.json @@ -0,0 +1,148 @@ +{ + "$collapse": "Masquer les contenus", + "$collapseFull": "Masquer la galerie", + "$date": "date", + "$expandContents": "Afficher les contenus", + "$expandGallery": "Afficher la galerie", + "$index": "Index", + "$manifestRanges": "Manifestes", + "$searchResult": "{0} résultats", + "$searchResults": "{0} résultats", + "$sortBy": "Trier par :", + "$thumbnails": "Vignettes", + "$contents": "Contenus", + "$volume": "volume", + "$close": "Fermer", + "$allPages": "Toutes les pages", + "$currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", + "$openNewWindow": "Ouvre une nouvelle fenêtre", + "$download": "Télécharger", + "$downloadSelection": "Télécharger la sélection", + "$downloadSelectionExplanation": "Ouvre une fenêtre pour sélectionner les pages à télécharger.", + "$editSettings": "Modifier les paramètres", + "$entireDocument": "Document entier ({0})", + "$entireFileX": "Fichier complet ({0})", + "$entireFile": "Fichier complet", + "$individualPages": "Pages individuelles", + "$noDownloadOptionsAvailable": "Aucune option de téléchargement n'est disponible.", + "$pagingNote": "Veuillez fermer l'affichage en double page pour accéder aux options supplémentaires.", + "$preview": "Aperçu", + "$selection": "Sélection", + "$termsOfUse": "Conditions d'utilisation", + "$wholeImageHighRes": "Image {0} x {1}px ({2})", + "$wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", + "$wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", + "$wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre.", + "$wholeImagesHighRes": "Images ({0})", + "$wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", + "$add_to_bookmarks": "Ajouter aux favoris", + "$embed": "Intégrer", + "$exitFullScreen": "Quitter le mode plein écran", + "$feedback": "Commentaire", + "$fullScreen": "Affichage en plein écran", + "$moreInfo": "Informations", + "$open": "Ouvrir", + "$share": "Partager", + "$emptyValue": "veuillez saisir une valeur.", + "$invalidNumber": "Veuillez saisir un nombre valide.", + "$noMatches": "Aucune correspondance n'a été trouvée.", + "$ok": "OK", + "$pageNotFound": "Ce contenu ne contient pas de page avec le numéro indiqué. Veuillez essayer de basculer le mode de numérotation sur 'image'.", + "$refresh": "Rafraîchir", + "$placeholder_text": "texte d'exemple", + "$help": "Aide", + "$attribution": "Attribution", + "$aboutTheImage": "A propos de l'image", + "$collapseInformation": "Masquer les informations", + "$collapseGallery": "Masquer la galerie", + "$copiedToClipboard": "Copié dans le presse-papiers", + "$copyToClipboard": "Copier dans le presse-papiers", + "$description": "Description", + "$expandInformation": "Afficher les informations", + "$moduleGoesHere": "Votre module vient ici !", + "$less": "moins", + "$license": "Licence", + "$logo": "Logo", + "$aboutTheItem": "A propos du contenu", + "$more": "suite", + "$noDataToDisplay": "Aucune donnée à afficher", + "$page": "Page", + "$aboutThisSection": "À propos de cette rubrique", + "$moreInformation": "Informations", + "$selectAll": "Tout sélectionner", + "$selectPagesForDownload": "Sélectionner les pages à télécharger", + "$first": "Premier", + "$firstImage": "Première image", + "$firstPage": "Première page", + "$folio": "Folio", + "$gallery": "Gallerie", + "$go": "Aller", + "$image": "Image", + "$last": "Dernier", + "$lastImage": "Dernière image", + "$lastPage": "Dernière page", + "$next": "Suivant", + "$nextImage": "Prochaine image", + "$nextPage": "Page suivante", + "$of": "de {0}", + "$singlePageView": "Affichage en mode page simple", + "$searchByPageNumber": "Recherche par numéro de page.", + "$previous": "Précédent", + "$previousImage": "Image précédente", + "$previousPage": "Page précédent", + "$settings": "Paramètres", + "$twoPageView": "Affichage double page", + "$goHome": "Retour", + "$imageUnavailable": "Image non disponible", + "$rotateRight": "Pivoter à droite", + "$zoomIn": "Zoomer", + "$zoomOut": "Dézoomer", + "$clearSearch": "Effacer", + "$displaying_A_of_B": "{0} {1} de {2}", + "$enterKeyword": "Saisir un mot", + "$imageLowercase": "image", + "$instanceFound": "1 instance de '{0}' trouvée", + "$instancesFound": "{0} instances de '{1}' trouvées", + "$nextResult": "Résultat suivant", + "$pageLowercase": "page", + "$previousResult": "Résultat précéde", + "$print": "Imprimer", + "$resultFoundFor": "résultat trouvé pour ", + "$resultsFoundFor": "résultats trouvés pour", + "$searchWithinItem": "Chercher dans ce document :", + "$locale": "Langues", + "$navigatorEnabled": "Navigateur activé", + "$clickToZoomEnabled": "Cliquer pour zoomer", + "$reducedMotion": "Réduire le mouvement (désactive les animations)", + "$preserveViewport": "Conserver le zoom", + "$uvWebsite": "informations", + "$custom": "personnalisée", + "$embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", + "$height": "Hauteur", + "$iiifManifest": "Manifeste IIIF", + "$shareInstructions": "Pour partager ce contenu, copier l'URL ci-dessous.", + "$size": "Taille :", + "$width": "Largeur", + "$cancel": "Annuler", + "$confirm": "Confirmer", + "$viewTerms": "Lire les termes et les conditions d'utilisation", + "$login": "Connexion", + "$log_in": "Connexion", + "$logout": "Déconnexion", + "$authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre à jour votre navigateur pour afficher ce contenu.", + "$authorisationFailedMessage": "Votre tentative de connexion semble avoir échoué. Veuillez réessayer.", + "$canvasIndexOutOfRange": "Valeur d'index invalide pour la balise Canvas.", + "$fallbackDegradedLabel": "Connexion", + "$fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en résolution maximale.", + "$forbiddenResourceMessage": "Vos droits d'accès ne vous permettent pas de visualiser cette image", + "$mediaViewer": "Visionneuse multimédia", + "$skipToDownload": "Passer aux téléchargements et aux formats alternatifs", + "$pleaseEnterValue": "veuillez saisir une valeur.", + "$pleaseLogInToViewAtFullQuality": "Veuillez vous connecter pour voir en pleine qualité.", + "$vr": "VR", + "$currentTime": "Heure actuelle", + "$duration": "Durée", + "$mute": "Muet", + "$pause": "Pause", + "$play": "Jouer" +} diff --git a/src/locales/pl-PL.json b/src/locales/pl-PL.json new file mode 100644 index 000000000..2ade88313 --- /dev/null +++ b/src/locales/pl-PL.json @@ -0,0 +1,148 @@ +{ + "$collapse": "Zwiń zawartość", + "$collapseFull": "Zwiń galerię", + "$date": "data", + "$expandContents": "Rozwiń zawartość", + "$expandGallery": "Rozwiń galerię", + "$index": "Indeks", + "$manifestRanges": "Zakresy manifestu", + "$searchResult": "Liczba wyników: {0}", + "$searchResults": "Liczba wyników: {0}", + "$sortBy": "Sortuj wg:", + "$thumbnails": "Miniatury", + "$contents": "Zawartość", + "$volume": "tom", + "$close": "Zamknij", + "$allPages": "Wszystkie strony", + "$currentViewAsJpg": "Aktualny widok {0} x {1}px (jpg)", + "$openNewWindow": "Otwiera się w nowym oknie", + "$download": "Pobierz", + "$downloadSelection": "Pobierz wybrane strony", + "$downloadSelectionExplanation": "Otwiera okno wyboru stron do pobrania.", + "$editSettings": "Edytuj ustawienia", + "$entireDocument": "Cały dokument ({0})", + "$entireFileX": "Cały plik ({0})", + "$entireFile": "Cały plik", + "$individualPages": "Strony indywidualne", + "$noDownloadOptionsAvailable": "Brak dostępnych opcji pobierania.", + "$pagingNote": "Wyłącz widok dwóch stron, aby uzyskać dodatkowe opcje.", + "$preview": "Podgląd", + "$selection": "Wybór", + "$termsOfUse": "Warunki korzystania", + "$wholeImageHighRes": "Pełny obraz {0} x {1}px ({2})", + "$wholeImageHighResExplanation": "Otwiera się w nowym oknie.", + "$wholeImageLowResAsJpg": "Pełny obraz {0} x {1}px (jpg)", + "$wholeImageLowResAsJpgExplanation": "Otwiera się w nowym oknie.", + "$wholeImagesHighRes": "Pełne obrazy ({0})", + "$wholeImagesHighResExplanation": "Otwiera się w dwóch nowych oknach", + "$add_to_bookmarks": "Dodaj do zakładek", + "$embed": "Osadź", + "$exitFullScreen": "Zamknij pełny ekran", + "$feedback": "Feedback", + "$fullScreen": "Pełny ekran", + "$moreInfo": "Więcej informacji", + "$open": "Otwórz", + "$share": "Udostępnij", + "$emptyValue": "proszę wprowadzić wartość.", + "$invalidNumber": "Proszę wprowadzić poprawny numer.", + "$noMatches": "Nie znaleziono dopasowań.", + "$ok": "OK", + "$pageNotFound": "Ten obiekt nie zawiera strony z wprowadzonym numerem. Spróbuj przełączyć tryb numeracji na 'obraz'.", + "$refresh": "Odśwież", + "$placeholder_text": "tekst zastępczy", + "$help": "Pomoc", + "$attribution": "Źródło", + "$aboutTheImage": "O obrazie", + "$collapseInformation": "Zwiń informacje", + "$collapseGallery": "Zwiń galerię", + "$copiedToClipboard": "Skopiowano do schowka", + "$copyToClipboard": "Skopiuj do schowka", + "$description": "Opis", + "$expandInformation": "Rozwiń informacje", + "$moduleGoesHere": "Miejsce na twój moduł!", + "$less": "mniej", + "$license": "Licencja", + "$logo": "Logo", + "$aboutTheItem": "O obiekcie", + "$more": "więcej", + "$noDataToDisplay": "Brak danych do wyświetlenia", + "$page": "Strona", + "$aboutThisSection": "O tej sekcji", + "$moreInformation": "O obiekcie", + "$selectAll": "Zaznacz wszystko", + "$selectPagesForDownload": "Wybierz strony do pobrania", + "$first": "Pierwsza", + "$firstImage": "Pierwszy obraz", + "$firstPage": "Pierwsza strona", + "$folio": "Folio", + "$gallery": "Galeria", + "$go": "Idź", + "$image": "Obraz", + "$last": "Ostatnia", + "$lastImage": "Ostatni obraz", + "$lastPage": "Ostatnia strona", + "$next": "Następna", + "$nextImage": "Następny obraz", + "$nextPage": "Następna strona", + "$of": "z {0}", + "$singlePageView": "Widok pojedynczej strony", + "$searchByPageNumber": "Szukaj według numeru strony", + "$previous": "Poprzednia", + "$previousImage": "Poprzedni obraz", + "$previousPage": "Poprzednia stron", + "$settings": "Ustawienia", + "$twoPageView": "Widok dwóch stro", + "$goHome": "Zobacz całą stronę", + "$imageUnavailable": "Obraz niedostępny", + "$rotateRight": "Obróć w prawo", + "$zoomIn": "Przybliż", + "$zoomOut": "Oddal", + "$clearSearch": "Wyczyść", + "$displaying_A_of_B": "{0} {1} z {2}", + "$enterKeyword": "Wprowadź słowo kluczowe", + "$imageLowercase": "obraz", + "$instanceFound": "Znaleziono 1 wystąpienie '{0}'", + "$instancesFound": "Znalezione wystąpienia '{1}': {0}", + "$nextResult": "Następny wynik", + "$pageLowercase": "strona", + "$previousResult": "Poprzedni wynik", + "$print": "Drukuj", + "$resultFoundFor": "wynik dla", + "$resultsFoundFor": "wyniki/wyników dla", + "$searchWithinItem": "Wyszukaj w tym obiekcie:", + "$locale": "Język", + "$navigatorEnabled": "Włączona nawigacja", + "$clickToZoomEnabled": "Przybliżenie przez kliknięcie myszą", + "$reducedMotion": "Zmniejsz ruch (wyłącza animacje)", + "$preserveViewport": "Zachowanie przybliżenia", + "$uvWebsite": "więcej informacji", + "$custom": "Ustawienia", + "$embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", + "$height": "Wysokość", + "$iiifManifest": "Manifest IIIF", + "$shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", + "$size": "Rozmiar:", + "$width": "Szerokość", + "$cancel": "Anuluj", + "$confirm": "Potwierdź", + "$viewTerms": "Przeczytaj pełny Regulamin", + "$login": "Zaloguj się", + "$log_in": "Zaloguj się", + "$logout": "Wyloguj", + "$authCORSError": "Twoja przeglądarka nie obsługuje CORS. Zaktualizuj ją, aby wyświetlić tę zawartość.", + "$authorisationFailedMessage": "Twoja próba logowania nie powidła się. Proszę spróbuj ponownie.", + "$canvasIndexOutOfRange": "Numer kanwy poza zakresem", + "$fallbackDegradedLabel": "Zaloguj się", + "$fallbackDegradedMessage": "Zaloguj się, aby zobaczyć tę treść w pełnej rozdzielczości.", + "$forbiddenResourceMessage": "Twoje obecne prawa dostępu są niewystarczające, aby wyświetlić ten obraz", + "$mediaViewer": "Przeglądarka multimediów", + "$skipToDownload": "Przejdź do pobierania i alternatywnych formatów", + "$pleaseEnterValue": "proszę wprowadzić wartość", + "$pleaseLogInToViewAtFullQuality": "Zaloguj się, aby oglądać w pełnej jakości.", + "$vr": "VR", + "$currentTime": "Obecny czas", + "$duration": "Czas trwania", + "$mute": "Wycisz", + "$pause": "Pauza", + "$play": "Odtwarzaj" +} diff --git a/src/locales/sv-SE.json b/src/locales/sv-SE.json new file mode 100644 index 000000000..602f297b3 --- /dev/null +++ b/src/locales/sv-SE.json @@ -0,0 +1,148 @@ +{ + "$collapse": "Fäll ihop innehåll", + "$collapseFull": "Fäll ihop galleri", + "$date": "datum", + "$expandContents": "Expandera innehåll", + "$expandGallery": "Expandera galleri", + "$index": "Index", + "$manifestRanges": "Manifest-omfång", + "$searchResult": "{0} sökträffar", + "$searchResults": "{0} sökträffar", + "$sortBy": "Sortera efter:", + "$thumbnails": "Småbilder", + "$contents": "Innehåll", + "$volume": "volym", + "$close": "Stäng", + "$allPages": "Alla sidor", + "$currentViewAsJpg": "Aktuell vy {0} x {1}px (jpg)", + "$openNewWindow": "Öppnas i nytt fönster", + "$download": "Ladda ner", + "$downloadSelection": "Ladda ner valt område", + "$downloadSelectionExplanation": "Öppnar dialog där du får välja sidor att ladda ner.", + "$editSettings": "Ändra inställningar", + "$entireDocument": "Hela dokumentet ({0})", + "$entireFileX": "Hela filen ({0})", + "$entireFile": "Hela filen", + "$individualPages": "Enskilda sidor", + "$noDownloadOptionsAvailable": "Inga nedladdningsalternativ är tillgängliga.", + "$pagingNote": "Stäng dubbelsidig vy för fler alternativ", + "$preview": "Förhandsgranska", + "$selection": "Urval", + "$termsOfUse": "Användningsvillkor", + "$wholeImageHighRes": "Hela bilden {0} x {1}px ({2})", + "$wholeImageHighResExplanation": "Öppnas i nytt fönster.", + "$wholeImageLowResAsJpg": "Hela bilden {0} x {1}px (jpg)", + "$wholeImageLowResAsJpgExplanation": "Öppnas i nytt fönster.", + "$wholeImagesHighRes": "Hela bilder ({0}", + "$wholeImagesHighResExplanation": "Öppnas i två nya fönster.", + "$add_to_bookmarks": "Lägg till bokmärke", + "$embed": "Bädda in", + "$exitFullScreen": "Avsluta helskärm", + "$feedback": "Feedback", + "$fullScreen": "Helskärm", + "$moreInfo": "Mer information", + "$open": "Öppna", + "$share": "Dela", + "$emptyValue": "ange ett värde.", + "$invalidNumber": "Ange ett giltigt nummer.", + "$noMatches": "Inga träffar hittades.", + "$ok": "OK", + "$pageNotFound": "Detta objekt har ingen sida med det nummer du angett. Testa att byta numreringsläge till 'bild'.", + "$refresh": "Uppdatera", + "$placeholder_text": "platshållartext", + "$help": "Hjälp", + "$attribution": "Upphov", + "$aboutTheImage": "Om bilden", + "$collapseInformation": "Fäll ihop information", + "$collapseGallery": "Fäll ihop galleri", + "$copiedToClipboard": "Kopierade till urklipp", + "$copyToClipboard": "Kopiera till urklipp", + "$description": "Beskrivning", + "$expandInformation": "Expandera information", + "$moduleGoesHere": "Plats för din modul!", + "$less": "mindre", + "$license": "Licensvillkor", + "$logo": "Logotyp", + "$aboutTheItem": "Om objektet", + "$more": "mer", + "$noDataToDisplay": "Ingen information att vis", + "$page": "Sida", + "$aboutThisSection": "Om detta avsnitt", + "$moreInformation": "Mer information", + "$selectAll": "Markera alla", + "$selectPagesForDownload": "Välj sidor att ladda ner", + "$first": "Första", + "$firstImage": "Första bild", + "$firstPage": "Första sidan", + "$folio": "Folio", + "$gallery": "Galleri", + "$go": "Gå", + "$image": "Bild", + "$last": "Sista", + "$lastImage": "Sista bilden", + "$lastPage": "Sista sidan", + "$next": "Nästa", + "$nextImage": "Nästa bild", + "$nextPage": "Nästa sida", + "$of": "av {0}", + "$singlePageView": "Enkelsidig vy", + "$searchByPageNumber": "Sök med sidnummer", + "$previous": "Föregående", + "$previousImage": "Föregående bild", + "$previousPage": "Föregående bild", + "$settings": "Inställningar", + "$twoPageView": "Dubbelsidig vy", + "$goHome": "Visa hela sidan", + "$imageUnavailable": "Bild ej tillgänglig", + "$rotateRight": "Rotera höger", + "$zoomIn": "Zooma in", + "$zoomOut": "Zooma ut", + "$clearSearch": "Rensa sökning", + "$displaying_A_of_B": "{0} {1} av {2}", + "$enterKeyword": "Ange sökord", + "$imageLowercase": "bild", + "$instanceFound": "1 instans av '{0}' hittades", + "$instancesFound": "{0} instanser av '{1}' hittades", + "$nextResult": "Nästa träff", + "$pageLowercase": "sida", + "$previousResult": "Föregående träff", + "$print": "Skriv ut", + "$resultFoundFor": "träff hittades för", + "$resultsFoundFor": "träffar hittades fö", + "$searchWithinItem": "Sök inom detta objekt:", + "$locale": "Språk", + "$navigatorEnabled": "Visa minivy", + "$clickToZoomEnabled": "Zooma med musklick", + "$reducedMotion": "Minska rörelse (inaktiverar animationer)", + "$preserveViewport": "Behåll zoomnivå", + "$uvWebsite": "mer info", + "$custom": "Anpassad", + "$embedInstructions": "För att bädda in det här objektet i din egen webbplats, kopiera och klistra koden nedan.", + "$height": "Höjd", + "$iiifManifest": "IIIF Manifest", + "$shareInstructions": "Kopiera länken nedan för att dela det här objektet.", + "$size": "Storlek:", + "$width": "Bredd", + "$cancel": "Avbryt", + "$confirm": "Bekräfta", + "$viewTerms": "Läs fullständiga villkor", + "$login": "Logga in", + "$log_in": "Logga in", + "$logout": "Logga ut", + "$authCORSError": "Din webbläsare stöder inte CORS. Uppgradera den för att kunna se detta innehåll.", + "$authorisationFailedMessage": "Din inloggning misslyckades. Vänligen försök igen.", + "$canvasIndexOutOfRange": "Canvas-index ogiltigt.", + "$fallbackDegradedLabel": "Logga in", + "$fallbackDegradedMessage": "Logga in för att se bilden i bästa kvalitet.", + "$forbiddenResourceMessage": "Du har inte behörighet att se den här bilden", + "$mediaViewer": "Media Viewer", + "$skipToDownload": "Hoppa till nedladdningar och alternativa format", + "$pleaseEnterValue": "var god ange ett värde", + "$pleaseLogInToViewAtFullQuality": "Logga in för att se i full kvalitet", + "$vr": "VR", + "$currentTime": "Aktuell tid", + "$duration": "Speltid", + "$mute": "Tyst", + "$pause": "Paus", + "$play": "Spela" +}