From ead76bc71d327386bbd71f92e3cc156ba6f359c7 Mon Sep 17 00:00:00 2001 From: Jones Date: Sun, 15 Jan 2023 13:58:12 +0000 Subject: [PATCH 01/12] removing locale strings from config and moving them to their own directory --- .../iiif/IIIFContentHandler.ts | 2 +- .../config/config.json | 435 ++++++++++++++++++ .../modules/uv-shared-module/BaseExtension.ts | 27 +- src/locales/en-GB.json | 139 ++++++ 4 files changed, 599 insertions(+), 4 deletions(-) create mode 100644 src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json create mode 100644 src/locales/en-GB.json 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-openseadragon-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json new file mode 100644 index 000000000..450585b8b --- /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": "$expand_contents", + "expandFull": "$expand_gallery", + "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": "$all_pages", + "currentViewAsJpg": "$currentViewAsJpg", + "currentViewAsJpgExplanation": "$openNewWindow", + "download": "$download", + "downloadSelection": "$downloadSelection", + "downloadSelectionExplanation": "$downloadSelectionExplanation", + "editSettings": "$editSettings", + "entireDocument": "$entireDocument", + "entireFileAsOriginal": "$entire_file", + "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": "$collapse_information", + "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": "$twoPageView", + "reducedMotion": "$reducedMotion", + "preserveViewport": "$preserveViewpor", + "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/modules/uv-shared-module/BaseExtension.ts b/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts index 6c7327227..e3b7b050f 100644 --- a/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts +++ b/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts @@ -473,8 +473,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"); @@ -486,7 +493,21 @@ export class BaseExtension implements IExtension { config = JSON.parse(JSON.stringify(config)); } - return config; + return this.translate_locale(config, locale); + } + + private async translate_locale(config: Object, locale: String): Promise { + + let localeStrings = await import(`../../../../locales/${locale}.json`); + let conf = JSON.stringify(config); + + for(const str in localeStrings) { + conf = conf.replace(str, localeStrings[str]) + } + + conf = JSON.parse(conf) + + return conf; } createModules(): void { diff --git a/src/locales/en-GB.json b/src/locales/en-GB.json new file mode 100644 index 000000000..20bb4e754 --- /dev/null +++ b/src/locales/en-GB.json @@ -0,0 +1,139 @@ +{ + "$collapse": "Collapse Contents", + "$collapseFull": "Collapse Gallery", + "$date": "date", + "$expand_contents": "Expand Contents", + "$expand_gallery": "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", + "$all_pages": "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})", + "$entire_file": "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": "$openNewWindow", + "$wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)", + "$wholeImageLowResAsJpgExplanation": "$openNewWindow", + "$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", + "$collapse_information": "Collapse Information", + "$collapseGallery": "Collapse Gallery", + "$copiedToClipboard": "Copied to clipboard", + "$copyToClipboard": "Copy to clipboard", + "$description": "Description", + "$expandInformation": "Expand Information", + "$expandGallery": "Expand Gallery", + "$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", + "$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", + "$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" +} \ No newline at end of file From 9af0532f740420f77a46ee9b0bf757335265a2c2 Mon Sep 17 00:00:00 2001 From: Jones Date: Fri, 20 Jan 2023 17:07:48 +0000 Subject: [PATCH 02/12] adding config to remanining extensions --- .../uv-av-extension/config/config.json | 323 ++++++++++++++++++ .../uv-default-extension/config/config.json | 187 ++++++++++ .../uv-ebook-extension/config/config.json | 275 +++++++++++++++ .../config/config.json | 191 +++++++++++ .../config/config.json | 230 +++++++++++++ .../config/config.json | 8 +- .../uv-pdf-extension/config/config.json | 215 ++++++++++++ src/locales/en-GB.json | 27 +- 8 files changed, 1443 insertions(+), 13 deletions(-) create mode 100644 src/content-handlers/iiif/extensions/uv-av-extension/config/config.json create mode 100644 src/content-handlers/iiif/extensions/uv-default-extension/config/config.json create mode 100644 src/content-handlers/iiif/extensions/uv-ebook-extension/config/config.json create mode 100644 src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/config.json create mode 100644 src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json create mode 100644 src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json 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-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-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-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-model-viewer-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json new file mode 100644 index 000000000..9ce56b8e7 --- /dev/null +++ b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/config.json @@ -0,0 +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": "$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-openseadragon-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json index 450585b8b..073fd8eef 100644 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json +++ b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json @@ -86,8 +86,8 @@ "collapse": "$collapse", "collapseFull": "$collapseFull", "date": "$date", - "expand": "$expand_contents", - "expandFull": "$expand_gallery", + "expand": "$$expandContents", + "expandFull": "$expandGallery", "index": "$index", "manifestRanges": "$manifestRanges", "searchResult": "$searchResult", @@ -121,7 +121,7 @@ "downloadSelectionExplanation": "$downloadSelectionExplanation", "editSettings": "$editSettings", "entireDocument": "$entireDocument", - "entireFileAsOriginal": "$entire_file", + "entireFileAsOriginal": "$entireFile", "individualPages": "$individualPages", "noneAvailable": "$noDownloadOptionsAvailable", "pagingNote": "$pagingNote", @@ -205,7 +205,7 @@ "content": { "attribution": "$attribution", "canvasHeader": "$aboutTheImage", - "collapse": "$collapse_information", + "collapse": "$collapseInformation", "collapseFull": "$collapseGallery", "copiedToClipboard": "$copiedToClipboard", "copyToClipboard": "$copyToClipboard", diff --git a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json new file mode 100644 index 000000000..13af3d6de --- /dev/null +++ b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/config.json @@ -0,0 +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": "$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/locales/en-GB.json b/src/locales/en-GB.json index 20bb4e754..08461d829 100644 --- a/src/locales/en-GB.json +++ b/src/locales/en-GB.json @@ -2,8 +2,8 @@ "$collapse": "Collapse Contents", "$collapseFull": "Collapse Gallery", "$date": "date", - "$expand_contents": "Expand Contents", - "$expand_gallery": "Expand Gallery", + "$expandContents": "Expand Contents", + "$expandGallery": "Expand Gallery", "$index": "Index", "$manifestRanges": "Manifest Ranges", "$searchResult": "{0} search result", @@ -21,7 +21,8 @@ "$downloadSelectionExplanation": "Opens a dialogue to select which pages to download.", "$editSettings": "Edit Settings", "$entireDocument": "Entire document ({0})", - "$entire_file": "Entire file", + "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.", @@ -29,9 +30,9 @@ "$selection": "Selection", "$termsOfUse": "Terms of Use", "$wholeImageHighRes": "Whole image {0} x {1}px ({2})", - "$wholeImageHighResExplanation": "$openNewWindow", + "$wholeImageHighResExplanation": "Opens in a new window.", "$wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)", - "$wholeImageLowResAsJpgExplanation": "$openNewWindow", + "$wholeImageLowResAsJpgExplanation": "Opens in a new window.", "$wholeImagesHighRes": "Whole images ({0})", "$wholeImagesHighResExplanation": "Opens in two new windows.", "$add_to_bookmarks": "Add to bookmarks", @@ -52,13 +53,12 @@ "$help": "Help", "$attribution": "Attribution", "$aboutTheImage": "About the image", - "$collapse_information": "Collapse Information", + "$collapseInformation": "Collapse Information", "$collapseGallery": "Collapse Gallery", "$copiedToClipboard": "Copied to clipboard", "$copyToClipboard": "Copy to clipboard", "$description": "Description", "$expandInformation": "Expand Information", - "$expandGallery": "Expand Gallery", "$moduleGoesHere": "Your module goes here!", "$less": "less", "$license": "License", @@ -115,7 +115,7 @@ "$clickToZoomEnabled": "Mouse Click To Zoom", "$reducedMotion": "Reduce motion (disables animations)", "$preserveViewport": "Preserve Zoom", - "$uvWebsite": "more info", + "$uvWebsite": "more info", "$custom": "custom", "$embedInstructions": "To embed this item in your own website, copy and paste the code below.", "$height": "Height", @@ -127,6 +127,7 @@ "$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.", @@ -135,5 +136,13 @@ "$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" + "$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" } \ No newline at end of file From 900e0975f6b8142707f970ee0de4479dd5dc3886 Mon Sep 17 00:00:00 2001 From: Jones Date: Fri, 27 Jan 2023 15:05:51 +0000 Subject: [PATCH 03/12] adding locale files and improved regex for string replacement --- .../config/config.json | 6 +- .../modules/uv-shared-module/BaseExtension.ts | 10 +- src/locales/cy-GB.json | 148 ++++++++++++++++++ src/locales/en-GB.json | 2 +- src/locales/fr-FR.json | 148 ++++++++++++++++++ src/locales/pl-PL.json | 148 ++++++++++++++++++ src/locales/sv-SE.json | 148 ++++++++++++++++++ 7 files changed, 601 insertions(+), 9 deletions(-) create mode 100644 src/locales/cy-GB.json create mode 100644 src/locales/fr-FR.json create mode 100644 src/locales/pl-PL.json create mode 100644 src/locales/sv-SE.json 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 index 073fd8eef..2f720b905 100644 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json +++ b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json @@ -113,7 +113,7 @@ "selectionEnabled": false }, "content": { - "allPages": "$all_pages", + "allPages": "$allPages", "currentViewAsJpg": "$currentViewAsJpg", "currentViewAsJpgExplanation": "$openNewWindow", "download": "$download", @@ -338,9 +338,9 @@ "locale": "$locale", "navigatorEnabled": "$navigatorEnabled", "clickToZoomEnabled": "$clickToZoomEnabled", - "pagingEnabled": "$twoPageView", + "pagingEnabled": "$goHome", "reducedMotion": "$reducedMotion", - "preserveViewport": "$preserveViewpor", + "preserveViewport": "$preserveViewport", "title": "$settings", "website": "$uvWebsite" } 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 e3b7b050f..2617f9f67 100644 --- a/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts +++ b/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts @@ -493,19 +493,19 @@ export class BaseExtension implements IExtension { config = JSON.parse(JSON.stringify(config)); } - return this.translate_locale(config, locale); + return this.translateLocale(config, locale); } - private async translate_locale(config: Object, locale: String): Promise { + private async translateLocale(config: Object, locale: String): Promise { let localeStrings = await import(`../../../../locales/${locale}.json`); let conf = JSON.stringify(config); - for(const str in localeStrings) { - conf = conf.replace(str, localeStrings[str]) + for(let str in localeStrings) { + conf = conf.replace(new RegExp(str.replace(/[$/]/g, '\\$&'), 'g'), localeStrings[str]); } - conf = JSON.parse(conf) + conf = JSON.parse(conf); return conf; } diff --git a/src/locales/cy-GB.json b/src/locales/cy-GB.json new file mode 100644 index 000000000..7b52dec73 --- /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 ôl:", + "$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": "", + "$entireFile": "", + "$individualPages": "", + "$noDownloadOptionsAvailable": "", + "$pagingNote": "", + "$preview": "", + "$selection": "", + "$termsOfUse": "", + "$wholeImageHighRes": "", + "$wholeImageHighResExplanation": "", + "$wholeImageLowResAsJpg": "", + "$wholeImageLowResAsJpgExplanation": "", + "$wholeImagesHighRes": "", + "$wholeImagesHighResExplanation": "", + "$add_to_bookmarks": "", + "$embed": "", + "$exitFullScreen": "", + "$feedback": "", + "$fullScreen": "", + "$moreInfo": "", + "$open": "", + "$share": "", + "$emptyValue": "", + "$invalidNumber": "", + "$noMatches": "", + "$ok": "", + "$pageNotFound": "", + "$refresh": "", + "$placeholder_text": "", + "$help": "", + "$attribution": "", + "$aboutTheImage": "", + "$collapseInformation": "", + "$collapseGallery": "", + "$copiedToClipboard": "", + "$copyToClipboard": "", + "$description": "", + "$expandInformation": "", + "$moduleGoesHere": "", + "$less": "", + "$license": "", + "$logo": "", + "$aboutTheItem": "", + "$more": "", + "$noDataToDisplay": "", + "$page": "", + "$aboutThisSection": "", + "$moreInformation": "", + "$selectAll": "", + "$selectPagesForDownload": "", + "$first": "", + "$firstImage": "", + "firstPage": "", + "$folio": "", + "$gallery": "", + "$go": "", + "$image": "", + "$last": "", + "$lastImage": "", + "$lastPage": "", + "$next": "", + "$nextImage": "", + "$nextPage": "", + "$of": "", + "$singlePageView": "", + "$searchByPageNumber": "", + "$previous": "", + "$previousImage": "", + "$previousPage": "", + "$settings": "", + "$twoPageView": "", + "$goHome": "", + "$imageUnavailable": "", + "$rotateRight": "", + "$zoomIn": "", + "$zoomOut": "", + "$clearSearch": "", + "$displaying_A_of_B": "", + "$enterKeyword": "", + "$imageLowercase": "", + "$instanceFound": "", + "$instancesFound": "", + "$nextResult": "", + "$pageLowercase": "", + "$previousResult": "", + "$print": "", + "$resultFoundFor": "", + "$resultsFoundFor": "", + "$searchWithinItem": "", + "$locale": "", + "$navigatorEnabled": "", + "$clickToZoomEnabled": "", + "$reducedMotion": "", + "$preserveViewport": "", + "$uvWebsite": "", + "$custom": "", + "$embedInstructions": "", + "$height": "", + "$iiifManifest": "", + "$shareInstructions": "", + "$size": "", + "$width": "", + "$cancel": "", + "$confirm": "", + "$viewTerms": "", + "$login": "", + "$log_in": "", + "$logout": "", + "$authCORSError": "", + "$authorisationFailedMessage": "", + "$canvasIndexOutOfRange": "", + "$fallbackDegradedLabel": "", + "$fallbackDegradedMessage": "", + "$forbiddenResourceMessage": "", + "$mediaViewer": "", + "$skipToDownload": "", + "$pleaseEnterValue": "", + "$pleaseLogInToViewAtFullQuality": "", + "$vr": "", + "$currentTime": "", + "$duration": "", + "$mute": "", + "$pause": "", + "$play": "" +} \ No newline at end of file diff --git a/src/locales/en-GB.json b/src/locales/en-GB.json index 08461d829..9ad2b240c 100644 --- a/src/locales/en-GB.json +++ b/src/locales/en-GB.json @@ -13,7 +13,7 @@ "$contents": "Contents", "$volume": "volume", "$close": "Close", - "$all_pages": "All Pages", + "$allPages": "All Pages", "$currentViewAsJpg": "Current view {0} x {1}px (jpg)", "$openNewWindow": "Opens in a new window", "$download": "Download", diff --git a/src/locales/fr-FR.json b/src/locales/fr-FR.json new file mode 100644 index 000000000..b83f2a221 --- /dev/null +++ b/src/locales/fr-FR.json @@ -0,0 +1,148 @@ +{ + "$collapse": "", + "$collapseFull": "", + "$date": "", + "$expandContents": "", + "$expandGallery": "", + "$index": "", + "$manifestRanges": "", + "$searchResult": "", + "$searchResults": "", + "$sortBy": "", + "$thumbnails": "", + "$contents": "", + "$volume": "", + "$close": "", + "$allPages": "", + "$currentViewAsJpg": "", + "$openNewWindow": "", + "$download": "", + "$downloadSelection": "", + "$downloadSelectionExplanation": "", + "$editSettings": "", + "$entireDocument": "", + "entireFileX": "", + "$entireFile": "", + "$individualPages": "", + "$noDownloadOptionsAvailable": "", + "$pagingNote": "", + "$preview": "", + "$selection": "", + "$termsOfUse": "", + "$wholeImageHighRes": "", + "$wholeImageHighResExplanation": "", + "$wholeImageLowResAsJpg": "", + "$wholeImageLowResAsJpgExplanation": "", + "$wholeImagesHighRes": "", + "$wholeImagesHighResExplanation": "", + "$add_to_bookmarks": "", + "$embed": "", + "$exitFullScreen": "", + "$feedback": "", + "$fullScreen": "", + "$moreInfo": "", + "$open": "", + "$share": "", + "$emptyValue": "", + "$invalidNumber": "", + "$noMatches": "", + "$ok": "", + "$pageNotFound": "", + "$refresh": "", + "$placeholder_text": "", + "$help": "", + "$attribution": "", + "$aboutTheImage": "", + "$collapseInformation": "", + "$collapseGallery": "", + "$copiedToClipboard": "", + "$copyToClipboard": "", + "$description": "", + "$expandInformation": "", + "$moduleGoesHere": "", + "$less": "", + "$license": "", + "$logo": "", + "$aboutTheItem": "", + "$more": "", + "$noDataToDisplay": "", + "$page": "", + "$aboutThisSection": "", + "$moreInformation": "", + "$selectAll": "", + "$selectPagesForDownload": "", + "$first": "", + "$firstImage": "", + "firstPage": "", + "$folio": "", + "$gallery": "", + "$go": "", + "$image": "", + "$last": "", + "$lastImage": "", + "$lastPage": "", + "$next": "", + "$nextImage": "", + "$nextPage": "", + "$of": "", + "$singlePageView": "", + "$searchByPageNumber": "", + "$previous": "", + "$previousImage": "", + "$previousPage": "", + "$settings": "", + "$twoPageView": "", + "$goHome": "", + "$imageUnavailable": "", + "$rotateRight": "", + "$zoomIn": "", + "$zoomOut": "", + "$clearSearch": "", + "$displaying_A_of_B": "", + "$enterKeyword": "", + "$imageLowercase": "", + "$instanceFound": "", + "$instancesFound": "", + "$nextResult": "", + "$pageLowercase": "", + "$previousResult": "", + "$print": "", + "$resultFoundFor": "", + "$resultsFoundFor": "", + "$searchWithinItem": "", + "$locale": "", + "$navigatorEnabled": "", + "$clickToZoomEnabled": "", + "$reducedMotion": "", + "$preserveViewport": "", + "$uvWebsite": "", + "$custom": "", + "$embedInstructions": "", + "$height": "", + "$iiifManifest": "", + "$shareInstructions": "", + "$size": "", + "$width": "", + "$cancel": "", + "$confirm": "", + "$viewTerms": "", + "$login": "", + "$log_in": "", + "$logout": "", + "$authCORSError": "", + "$authorisationFailedMessage": "", + "$canvasIndexOutOfRange": "", + "$fallbackDegradedLabel": "", + "$fallbackDegradedMessage": "", + "$forbiddenResourceMessage": "", + "$mediaViewer": "", + "$skipToDownload": "", + "$pleaseEnterValue": "", + "$pleaseLogInToViewAtFullQuality": "", + "$vr": "", + "$currentTime": "", + "$duration": "", + "$mute": "", + "$pause": "", + "$play": "" +} \ No newline at end of file diff --git a/src/locales/pl-PL.json b/src/locales/pl-PL.json new file mode 100644 index 000000000..b83f2a221 --- /dev/null +++ b/src/locales/pl-PL.json @@ -0,0 +1,148 @@ +{ + "$collapse": "", + "$collapseFull": "", + "$date": "", + "$expandContents": "", + "$expandGallery": "", + "$index": "", + "$manifestRanges": "", + "$searchResult": "", + "$searchResults": "", + "$sortBy": "", + "$thumbnails": "", + "$contents": "", + "$volume": "", + "$close": "", + "$allPages": "", + "$currentViewAsJpg": "", + "$openNewWindow": "", + "$download": "", + "$downloadSelection": "", + "$downloadSelectionExplanation": "", + "$editSettings": "", + "$entireDocument": "", + "entireFileX": "", + "$entireFile": "", + "$individualPages": "", + "$noDownloadOptionsAvailable": "", + "$pagingNote": "", + "$preview": "", + "$selection": "", + "$termsOfUse": "", + "$wholeImageHighRes": "", + "$wholeImageHighResExplanation": "", + "$wholeImageLowResAsJpg": "", + "$wholeImageLowResAsJpgExplanation": "", + "$wholeImagesHighRes": "", + "$wholeImagesHighResExplanation": "", + "$add_to_bookmarks": "", + "$embed": "", + "$exitFullScreen": "", + "$feedback": "", + "$fullScreen": "", + "$moreInfo": "", + "$open": "", + "$share": "", + "$emptyValue": "", + "$invalidNumber": "", + "$noMatches": "", + "$ok": "", + "$pageNotFound": "", + "$refresh": "", + "$placeholder_text": "", + "$help": "", + "$attribution": "", + "$aboutTheImage": "", + "$collapseInformation": "", + "$collapseGallery": "", + "$copiedToClipboard": "", + "$copyToClipboard": "", + "$description": "", + "$expandInformation": "", + "$moduleGoesHere": "", + "$less": "", + "$license": "", + "$logo": "", + "$aboutTheItem": "", + "$more": "", + "$noDataToDisplay": "", + "$page": "", + "$aboutThisSection": "", + "$moreInformation": "", + "$selectAll": "", + "$selectPagesForDownload": "", + "$first": "", + "$firstImage": "", + "firstPage": "", + "$folio": "", + "$gallery": "", + "$go": "", + "$image": "", + "$last": "", + "$lastImage": "", + "$lastPage": "", + "$next": "", + "$nextImage": "", + "$nextPage": "", + "$of": "", + "$singlePageView": "", + "$searchByPageNumber": "", + "$previous": "", + "$previousImage": "", + "$previousPage": "", + "$settings": "", + "$twoPageView": "", + "$goHome": "", + "$imageUnavailable": "", + "$rotateRight": "", + "$zoomIn": "", + "$zoomOut": "", + "$clearSearch": "", + "$displaying_A_of_B": "", + "$enterKeyword": "", + "$imageLowercase": "", + "$instanceFound": "", + "$instancesFound": "", + "$nextResult": "", + "$pageLowercase": "", + "$previousResult": "", + "$print": "", + "$resultFoundFor": "", + "$resultsFoundFor": "", + "$searchWithinItem": "", + "$locale": "", + "$navigatorEnabled": "", + "$clickToZoomEnabled": "", + "$reducedMotion": "", + "$preserveViewport": "", + "$uvWebsite": "", + "$custom": "", + "$embedInstructions": "", + "$height": "", + "$iiifManifest": "", + "$shareInstructions": "", + "$size": "", + "$width": "", + "$cancel": "", + "$confirm": "", + "$viewTerms": "", + "$login": "", + "$log_in": "", + "$logout": "", + "$authCORSError": "", + "$authorisationFailedMessage": "", + "$canvasIndexOutOfRange": "", + "$fallbackDegradedLabel": "", + "$fallbackDegradedMessage": "", + "$forbiddenResourceMessage": "", + "$mediaViewer": "", + "$skipToDownload": "", + "$pleaseEnterValue": "", + "$pleaseLogInToViewAtFullQuality": "", + "$vr": "", + "$currentTime": "", + "$duration": "", + "$mute": "", + "$pause": "", + "$play": "" +} \ No newline at end of file diff --git a/src/locales/sv-SE.json b/src/locales/sv-SE.json new file mode 100644 index 000000000..b83f2a221 --- /dev/null +++ b/src/locales/sv-SE.json @@ -0,0 +1,148 @@ +{ + "$collapse": "", + "$collapseFull": "", + "$date": "", + "$expandContents": "", + "$expandGallery": "", + "$index": "", + "$manifestRanges": "", + "$searchResult": "", + "$searchResults": "", + "$sortBy": "", + "$thumbnails": "", + "$contents": "", + "$volume": "", + "$close": "", + "$allPages": "", + "$currentViewAsJpg": "", + "$openNewWindow": "", + "$download": "", + "$downloadSelection": "", + "$downloadSelectionExplanation": "", + "$editSettings": "", + "$entireDocument": "", + "entireFileX": "", + "$entireFile": "", + "$individualPages": "", + "$noDownloadOptionsAvailable": "", + "$pagingNote": "", + "$preview": "", + "$selection": "", + "$termsOfUse": "", + "$wholeImageHighRes": "", + "$wholeImageHighResExplanation": "", + "$wholeImageLowResAsJpg": "", + "$wholeImageLowResAsJpgExplanation": "", + "$wholeImagesHighRes": "", + "$wholeImagesHighResExplanation": "", + "$add_to_bookmarks": "", + "$embed": "", + "$exitFullScreen": "", + "$feedback": "", + "$fullScreen": "", + "$moreInfo": "", + "$open": "", + "$share": "", + "$emptyValue": "", + "$invalidNumber": "", + "$noMatches": "", + "$ok": "", + "$pageNotFound": "", + "$refresh": "", + "$placeholder_text": "", + "$help": "", + "$attribution": "", + "$aboutTheImage": "", + "$collapseInformation": "", + "$collapseGallery": "", + "$copiedToClipboard": "", + "$copyToClipboard": "", + "$description": "", + "$expandInformation": "", + "$moduleGoesHere": "", + "$less": "", + "$license": "", + "$logo": "", + "$aboutTheItem": "", + "$more": "", + "$noDataToDisplay": "", + "$page": "", + "$aboutThisSection": "", + "$moreInformation": "", + "$selectAll": "", + "$selectPagesForDownload": "", + "$first": "", + "$firstImage": "", + "firstPage": "", + "$folio": "", + "$gallery": "", + "$go": "", + "$image": "", + "$last": "", + "$lastImage": "", + "$lastPage": "", + "$next": "", + "$nextImage": "", + "$nextPage": "", + "$of": "", + "$singlePageView": "", + "$searchByPageNumber": "", + "$previous": "", + "$previousImage": "", + "$previousPage": "", + "$settings": "", + "$twoPageView": "", + "$goHome": "", + "$imageUnavailable": "", + "$rotateRight": "", + "$zoomIn": "", + "$zoomOut": "", + "$clearSearch": "", + "$displaying_A_of_B": "", + "$enterKeyword": "", + "$imageLowercase": "", + "$instanceFound": "", + "$instancesFound": "", + "$nextResult": "", + "$pageLowercase": "", + "$previousResult": "", + "$print": "", + "$resultFoundFor": "", + "$resultsFoundFor": "", + "$searchWithinItem": "", + "$locale": "", + "$navigatorEnabled": "", + "$clickToZoomEnabled": "", + "$reducedMotion": "", + "$preserveViewport": "", + "$uvWebsite": "", + "$custom": "", + "$embedInstructions": "", + "$height": "", + "$iiifManifest": "", + "$shareInstructions": "", + "$size": "", + "$width": "", + "$cancel": "", + "$confirm": "", + "$viewTerms": "", + "$login": "", + "$log_in": "", + "$logout": "", + "$authCORSError": "", + "$authorisationFailedMessage": "", + "$canvasIndexOutOfRange": "", + "$fallbackDegradedLabel": "", + "$fallbackDegradedMessage": "", + "$forbiddenResourceMessage": "", + "$mediaViewer": "", + "$skipToDownload": "", + "$pleaseEnterValue": "", + "$pleaseLogInToViewAtFullQuality": "", + "$vr": "", + "$currentTime": "", + "$duration": "", + "$mute": "", + "$pause": "", + "$play": "" +} \ No newline at end of file From e218a4dad03ce8461530d6bfd39ea2ef3b295e39 Mon Sep 17 00:00:00 2001 From: Jones Date: Fri, 27 Jan 2023 17:58:54 +0000 Subject: [PATCH 04/12] adding new language files and removing old config files --- .../extensions/uv-av-extension/Extension.ts | 8 +- .../uv-av-extension/config/cy-GB.json | 320 ------------- .../uv-av-extension/config/en-GB.json | 323 ------------- .../uv-av-extension/config/fr-FR.json | 383 --------------- .../uv-av-extension/config/pl-PL.json | 321 ------------- .../uv-av-extension/config/sv-SE.json | 382 --------------- .../uv-default-extension/Extension.ts | 8 +- .../uv-default-extension/config/cy-GB.json | 188 -------- .../uv-default-extension/config/en-GB.json | 187 -------- .../uv-default-extension/config/fr-FR.json | 309 ------------ .../uv-default-extension/config/pl-PL.json | 185 -------- .../uv-default-extension/config/sv-SE.json | 321 ------------- .../uv-ebook-extension/Extension.ts | 8 +- .../uv-ebook-extension/config/cy-GB.json | 294 ------------ .../uv-ebook-extension/config/en-GB.json | 275 ----------- .../uv-ebook-extension/config/fr-FR.json | 355 -------------- .../uv-ebook-extension/config/pl-PL.json | 273 ----------- .../uv-ebook-extension/config/sv-SE.json | 356 -------------- .../uv-mediaelement-extension/Extension.ts | 8 +- .../config/cy-GB.json | 186 -------- .../config/en-GB.json | 191 -------- .../config/fr-FR.json | 311 ------------ .../config/pl-PL.json | 187 -------- .../config/sv-SE.json | 323 ------------- .../uv-model-viewer-extension/Extension.ts | 8 +- .../config/cy-GB.json | 227 --------- .../config/en-GB.json | 230 --------- .../config/fr-FR.json | 343 -------------- .../config/pl-PL.json | 229 --------- .../config/sv-SE.json | 355 -------------- .../uv-openseadragon-extension/Extension.ts | 8 +- .../config/config.json | 2 +- .../config/cy-GB.json | 423 ----------------- .../config/en-GB.json | 435 ----------------- .../config/fr-FR.json | 431 ----------------- .../config/pl-PL.json | 433 ----------------- .../config/sv-SE.json | 443 ------------------ .../extensions/uv-pdf-extension/Extension.ts | 8 +- .../uv-pdf-extension/config/cy-GB.json | 219 --------- .../uv-pdf-extension/config/en-GB.json | 214 --------- .../uv-pdf-extension/config/fr-FR.json | 340 -------------- .../uv-pdf-extension/config/pl-PL.json | 212 --------- .../uv-pdf-extension/config/sv-SE.json | 352 -------------- src/locales/cy-GB.json | 248 +++++----- src/locales/fr-FR.json | 292 ++++++------ src/locales/pl-PL.json | 292 ++++++------ src/locales/sv-SE.json | 292 ++++++------ 47 files changed, 577 insertions(+), 11161 deletions(-) delete mode 100644 src/content-handlers/iiif/extensions/uv-av-extension/config/cy-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-av-extension/config/en-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-av-extension/config/fr-FR.json delete mode 100644 src/content-handlers/iiif/extensions/uv-av-extension/config/pl-PL.json delete mode 100644 src/content-handlers/iiif/extensions/uv-av-extension/config/sv-SE.json delete mode 100644 src/content-handlers/iiif/extensions/uv-default-extension/config/cy-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-default-extension/config/en-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-default-extension/config/fr-FR.json delete mode 100644 src/content-handlers/iiif/extensions/uv-default-extension/config/pl-PL.json delete mode 100644 src/content-handlers/iiif/extensions/uv-default-extension/config/sv-SE.json delete mode 100644 src/content-handlers/iiif/extensions/uv-ebook-extension/config/cy-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-ebook-extension/config/en-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-ebook-extension/config/fr-FR.json delete mode 100644 src/content-handlers/iiif/extensions/uv-ebook-extension/config/pl-PL.json delete mode 100644 src/content-handlers/iiif/extensions/uv-ebook-extension/config/sv-SE.json delete mode 100644 src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/cy-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/en-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/fr-FR.json delete mode 100644 src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/pl-PL.json delete mode 100644 src/content-handlers/iiif/extensions/uv-mediaelement-extension/config/sv-SE.json delete mode 100644 src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/cy-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/en-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/fr-FR.json delete mode 100644 src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/pl-PL.json delete mode 100644 src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/sv-SE.json delete mode 100644 src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/cy-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/en-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/fr-FR.json delete mode 100644 src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/pl-PL.json delete mode 100644 src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/sv-SE.json delete mode 100644 src/content-handlers/iiif/extensions/uv-pdf-extension/config/cy-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-pdf-extension/config/en-GB.json delete mode 100644 src/content-handlers/iiif/extensions/uv-pdf-extension/config/fr-FR.json delete mode 100644 src/content-handlers/iiif/extensions/uv-pdf-extension/config/pl-PL.json delete mode 100644 src/content-handlers/iiif/extensions/uv-pdf-extension/config/sv-SE.json 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/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/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/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/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/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/en-GB.json b/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/en-GB.json deleted file mode 100644 index 1f50ea386..000000000 --- a/src/content-handlers/iiif/extensions/uv-model-viewer-extension/config/en-GB.json +++ /dev/null @@ -1,230 +0,0 @@ -{ - "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" - } -} \ 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 index 2f720b905..019ebde53 100644 --- a/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json +++ b/src/content-handlers/iiif/extensions/uv-openseadragon-extension/config/config.json @@ -86,7 +86,7 @@ "collapse": "$collapse", "collapseFull": "$collapseFull", "date": "$date", - "expand": "$$expandContents", + "expand": "$expandContents", "expandFull": "$expandGallery", "index": "$index", "manifestRanges": "$manifestRanges", 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/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/en-GB.json b/src/content-handlers/iiif/extensions/uv-pdf-extension/config/en-GB.json deleted file mode 100644 index 4299e6985..000000000 --- a/src/content-handlers/iiif/extensions/uv-pdf-extension/config/en-GB.json +++ /dev/null @@ -1,214 +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": "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" - } -} \ 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/locales/cy-GB.json b/src/locales/cy-GB.json index 7b52dec73..e77cbf894 100644 --- a/src/locales/cy-GB.json +++ b/src/locales/cy-GB.json @@ -21,128 +21,128 @@ "$downloadSelectionExplanation": "Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.", "$editSettings": "Golygu'r dewisiadau", "$entireDocument": "Y Ddogfen Gyfan ({0})", - "entireFileX": "", - "$entireFile": "", - "$individualPages": "", - "$noDownloadOptionsAvailable": "", - "$pagingNote": "", - "$preview": "", - "$selection": "", - "$termsOfUse": "", - "$wholeImageHighRes": "", - "$wholeImageHighResExplanation": "", - "$wholeImageLowResAsJpg": "", - "$wholeImageLowResAsJpgExplanation": "", - "$wholeImagesHighRes": "", - "$wholeImagesHighResExplanation": "", - "$add_to_bookmarks": "", - "$embed": "", - "$exitFullScreen": "", - "$feedback": "", - "$fullScreen": "", - "$moreInfo": "", - "$open": "", - "$share": "", - "$emptyValue": "", - "$invalidNumber": "", - "$noMatches": "", - "$ok": "", - "$pageNotFound": "", - "$refresh": "", - "$placeholder_text": "", - "$help": "", - "$attribution": "", - "$aboutTheImage": "", - "$collapseInformation": "", - "$collapseGallery": "", - "$copiedToClipboard": "", - "$copyToClipboard": "", - "$description": "", - "$expandInformation": "", - "$moduleGoesHere": "", - "$less": "", - "$license": "", - "$logo": "", - "$aboutTheItem": "", - "$more": "", - "$noDataToDisplay": "", - "$page": "", - "$aboutThisSection": "", - "$moreInformation": "", - "$selectAll": "", - "$selectPagesForDownload": "", - "$first": "", - "$firstImage": "", - "firstPage": "", - "$folio": "", - "$gallery": "", - "$go": "", - "$image": "", - "$last": "", - "$lastImage": "", - "$lastPage": "", - "$next": "", - "$nextImage": "", - "$nextPage": "", - "$of": "", - "$singlePageView": "", - "$searchByPageNumber": "", - "$previous": "", - "$previousImage": "", - "$previousPage": "", - "$settings": "", - "$twoPageView": "", - "$goHome": "", - "$imageUnavailable": "", - "$rotateRight": "", - "$zoomIn": "", - "$zoomOut": "", - "$clearSearch": "", - "$displaying_A_of_B": "", - "$enterKeyword": "", - "$imageLowercase": "", - "$instanceFound": "", - "$instancesFound": "", - "$nextResult": "", - "$pageLowercase": "", - "$previousResult": "", - "$print": "", - "$resultFoundFor": "", - "$resultsFoundFor": "", - "$searchWithinItem": "", - "$locale": "", - "$navigatorEnabled": "", - "$clickToZoomEnabled": "", - "$reducedMotion": "", - "$preserveViewport": "", - "$uvWebsite": "", - "$custom": "", - "$embedInstructions": "", - "$height": "", - "$iiifManifest": "", - "$shareInstructions": "", - "$size": "", - "$width": "", - "$cancel": "", - "$confirm": "", - "$viewTerms": "", - "$login": "", - "$log_in": "", - "$logout": "", - "$authCORSError": "", - "$authorisationFailedMessage": "", - "$canvasIndexOutOfRange": "", - "$fallbackDegradedLabel": "", - "$fallbackDegradedMessage": "", - "$forbiddenResourceMessage": "", - "$mediaViewer": "", - "$skipToDownload": "", - "$pleaseEnterValue": "", - "$pleaseLogInToViewAtFullQuality": "", - "$vr": "", - "$currentTime": "", - "$duration": "", - "$mute": "", - "$pause": "", - "$play": "" + "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ïwyd i'r clipfwrdd", + "$copyToClipboard": "Copïo 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", + "$custom": "dewisol", + "$embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.", + "$height": "Hyd", + "$iiifManifest": "Maniffest IIIF", + "$shareInstructions": "Er mwyn rhannu'r eitem hon, copïwch 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" } \ No newline at end of file diff --git a/src/locales/fr-FR.json b/src/locales/fr-FR.json index b83f2a221..088ffda14 100644 --- a/src/locales/fr-FR.json +++ b/src/locales/fr-FR.json @@ -1,148 +1,148 @@ { - "$collapse": "", - "$collapseFull": "", - "$date": "", - "$expandContents": "", - "$expandGallery": "", - "$index": "", - "$manifestRanges": "", - "$searchResult": "", - "$searchResults": "", - "$sortBy": "", - "$thumbnails": "", - "$contents": "", - "$volume": "", - "$close": "", - "$allPages": "", - "$currentViewAsJpg": "", - "$openNewWindow": "", - "$download": "", - "$downloadSelection": "", - "$downloadSelectionExplanation": "", - "$editSettings": "", - "$entireDocument": "", - "entireFileX": "", - "$entireFile": "", - "$individualPages": "", - "$noDownloadOptionsAvailable": "", - "$pagingNote": "", - "$preview": "", - "$selection": "", - "$termsOfUse": "", - "$wholeImageHighRes": "", - "$wholeImageHighResExplanation": "", - "$wholeImageLowResAsJpg": "", - "$wholeImageLowResAsJpgExplanation": "", - "$wholeImagesHighRes": "", - "$wholeImagesHighResExplanation": "", - "$add_to_bookmarks": "", - "$embed": "", - "$exitFullScreen": "", - "$feedback": "", - "$fullScreen": "", - "$moreInfo": "", - "$open": "", - "$share": "", - "$emptyValue": "", - "$invalidNumber": "", - "$noMatches": "", - "$ok": "", - "$pageNotFound": "", - "$refresh": "", - "$placeholder_text": "", - "$help": "", - "$attribution": "", - "$aboutTheImage": "", - "$collapseInformation": "", - "$collapseGallery": "", - "$copiedToClipboard": "", - "$copyToClipboard": "", - "$description": "", - "$expandInformation": "", - "$moduleGoesHere": "", - "$less": "", - "$license": "", - "$logo": "", - "$aboutTheItem": "", - "$more": "", - "$noDataToDisplay": "", - "$page": "", - "$aboutThisSection": "", - "$moreInformation": "", - "$selectAll": "", - "$selectPagesForDownload": "", - "$first": "", - "$firstImage": "", - "firstPage": "", - "$folio": "", - "$gallery": "", - "$go": "", - "$image": "", - "$last": "", - "$lastImage": "", - "$lastPage": "", - "$next": "", - "$nextImage": "", - "$nextPage": "", - "$of": "", - "$singlePageView": "", - "$searchByPageNumber": "", - "$previous": "", - "$previousImage": "", - "$previousPage": "", - "$settings": "", - "$twoPageView": "", - "$goHome": "", - "$imageUnavailable": "", - "$rotateRight": "", - "$zoomIn": "", - "$zoomOut": "", - "$clearSearch": "", - "$displaying_A_of_B": "", - "$enterKeyword": "", - "$imageLowercase": "", - "$instanceFound": "", - "$instancesFound": "", - "$nextResult": "", - "$pageLowercase": "", - "$previousResult": "", - "$print": "", - "$resultFoundFor": "", - "$resultsFoundFor": "", - "$searchWithinItem": "", - "$locale": "", - "$navigatorEnabled": "", - "$clickToZoomEnabled": "", - "$reducedMotion": "", - "$preserveViewport": "", - "$uvWebsite": "", - "$custom": "", - "$embedInstructions": "", - "$height": "", - "$iiifManifest": "", - "$shareInstructions": "", - "$size": "", - "$width": "", - "$cancel": "", - "$confirm": "", - "$viewTerms": "", - "$login": "", - "$log_in": "", - "$logout": "", - "$authCORSError": "", - "$authorisationFailedMessage": "", - "$canvasIndexOutOfRange": "", - "$fallbackDegradedLabel": "", - "$fallbackDegradedMessage": "", - "$forbiddenResourceMessage": "", - "$mediaViewer": "", - "$skipToDownload": "", - "$pleaseEnterValue": "", - "$pleaseLogInToViewAtFullQuality": "", - "$vr": "", - "$currentTime": "", - "$duration": "", - "$mute": "", - "$pause": "", - "$play": "" + "$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" } \ No newline at end of file diff --git a/src/locales/pl-PL.json b/src/locales/pl-PL.json index b83f2a221..bd772fa42 100644 --- a/src/locales/pl-PL.json +++ b/src/locales/pl-PL.json @@ -1,148 +1,148 @@ { - "$collapse": "", - "$collapseFull": "", - "$date": "", - "$expandContents": "", - "$expandGallery": "", - "$index": "", - "$manifestRanges": "", - "$searchResult": "", - "$searchResults": "", - "$sortBy": "", - "$thumbnails": "", - "$contents": "", - "$volume": "", - "$close": "", - "$allPages": "", - "$currentViewAsJpg": "", - "$openNewWindow": "", - "$download": "", - "$downloadSelection": "", - "$downloadSelectionExplanation": "", - "$editSettings": "", - "$entireDocument": "", - "entireFileX": "", - "$entireFile": "", - "$individualPages": "", - "$noDownloadOptionsAvailable": "", - "$pagingNote": "", - "$preview": "", - "$selection": "", - "$termsOfUse": "", - "$wholeImageHighRes": "", - "$wholeImageHighResExplanation": "", - "$wholeImageLowResAsJpg": "", - "$wholeImageLowResAsJpgExplanation": "", - "$wholeImagesHighRes": "", - "$wholeImagesHighResExplanation": "", - "$add_to_bookmarks": "", - "$embed": "", - "$exitFullScreen": "", - "$feedback": "", - "$fullScreen": "", - "$moreInfo": "", - "$open": "", - "$share": "", - "$emptyValue": "", - "$invalidNumber": "", - "$noMatches": "", - "$ok": "", - "$pageNotFound": "", - "$refresh": "", - "$placeholder_text": "", - "$help": "", - "$attribution": "", - "$aboutTheImage": "", - "$collapseInformation": "", - "$collapseGallery": "", - "$copiedToClipboard": "", - "$copyToClipboard": "", - "$description": "", - "$expandInformation": "", - "$moduleGoesHere": "", - "$less": "", - "$license": "", - "$logo": "", - "$aboutTheItem": "", - "$more": "", - "$noDataToDisplay": "", - "$page": "", - "$aboutThisSection": "", - "$moreInformation": "", - "$selectAll": "", - "$selectPagesForDownload": "", - "$first": "", - "$firstImage": "", - "firstPage": "", - "$folio": "", - "$gallery": "", - "$go": "", - "$image": "", - "$last": "", - "$lastImage": "", - "$lastPage": "", - "$next": "", - "$nextImage": "", - "$nextPage": "", - "$of": "", - "$singlePageView": "", - "$searchByPageNumber": "", - "$previous": "", - "$previousImage": "", - "$previousPage": "", - "$settings": "", - "$twoPageView": "", - "$goHome": "", - "$imageUnavailable": "", - "$rotateRight": "", - "$zoomIn": "", - "$zoomOut": "", - "$clearSearch": "", - "$displaying_A_of_B": "", - "$enterKeyword": "", - "$imageLowercase": "", - "$instanceFound": "", - "$instancesFound": "", - "$nextResult": "", - "$pageLowercase": "", - "$previousResult": "", - "$print": "", - "$resultFoundFor": "", - "$resultsFoundFor": "", - "$searchWithinItem": "", - "$locale": "", - "$navigatorEnabled": "", - "$clickToZoomEnabled": "", - "$reducedMotion": "", - "$preserveViewport": "", - "$uvWebsite": "", - "$custom": "", - "$embedInstructions": "", - "$height": "", - "$iiifManifest": "", - "$shareInstructions": "", - "$size": "", - "$width": "", - "$cancel": "", - "$confirm": "", - "$viewTerms": "", - "$login": "", - "$log_in": "", - "$logout": "", - "$authCORSError": "", - "$authorisationFailedMessage": "", - "$canvasIndexOutOfRange": "", - "$fallbackDegradedLabel": "", - "$fallbackDegradedMessage": "", - "$forbiddenResourceMessage": "", - "$mediaViewer": "", - "$skipToDownload": "", - "$pleaseEnterValue": "", - "$pleaseLogInToViewAtFullQuality": "", - "$vr": "", - "$currentTime": "", - "$duration": "", - "$mute": "", - "$pause": "", - "$play": "" + "$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" } \ No newline at end of file diff --git a/src/locales/sv-SE.json b/src/locales/sv-SE.json index b83f2a221..c6efc537b 100644 --- a/src/locales/sv-SE.json +++ b/src/locales/sv-SE.json @@ -1,148 +1,148 @@ { - "$collapse": "", - "$collapseFull": "", - "$date": "", - "$expandContents": "", - "$expandGallery": "", - "$index": "", - "$manifestRanges": "", - "$searchResult": "", - "$searchResults": "", - "$sortBy": "", - "$thumbnails": "", - "$contents": "", - "$volume": "", - "$close": "", - "$allPages": "", - "$currentViewAsJpg": "", - "$openNewWindow": "", - "$download": "", - "$downloadSelection": "", - "$downloadSelectionExplanation": "", - "$editSettings": "", - "$entireDocument": "", - "entireFileX": "", - "$entireFile": "", - "$individualPages": "", - "$noDownloadOptionsAvailable": "", - "$pagingNote": "", - "$preview": "", - "$selection": "", - "$termsOfUse": "", - "$wholeImageHighRes": "", - "$wholeImageHighResExplanation": "", - "$wholeImageLowResAsJpg": "", - "$wholeImageLowResAsJpgExplanation": "", - "$wholeImagesHighRes": "", - "$wholeImagesHighResExplanation": "", - "$add_to_bookmarks": "", - "$embed": "", - "$exitFullScreen": "", - "$feedback": "", - "$fullScreen": "", - "$moreInfo": "", - "$open": "", - "$share": "", - "$emptyValue": "", - "$invalidNumber": "", - "$noMatches": "", - "$ok": "", - "$pageNotFound": "", - "$refresh": "", - "$placeholder_text": "", - "$help": "", - "$attribution": "", - "$aboutTheImage": "", - "$collapseInformation": "", - "$collapseGallery": "", - "$copiedToClipboard": "", - "$copyToClipboard": "", - "$description": "", - "$expandInformation": "", - "$moduleGoesHere": "", - "$less": "", - "$license": "", - "$logo": "", - "$aboutTheItem": "", - "$more": "", - "$noDataToDisplay": "", - "$page": "", - "$aboutThisSection": "", - "$moreInformation": "", - "$selectAll": "", - "$selectPagesForDownload": "", - "$first": "", - "$firstImage": "", - "firstPage": "", - "$folio": "", - "$gallery": "", - "$go": "", - "$image": "", - "$last": "", - "$lastImage": "", - "$lastPage": "", - "$next": "", - "$nextImage": "", - "$nextPage": "", - "$of": "", - "$singlePageView": "", - "$searchByPageNumber": "", - "$previous": "", - "$previousImage": "", - "$previousPage": "", - "$settings": "", - "$twoPageView": "", - "$goHome": "", - "$imageUnavailable": "", - "$rotateRight": "", - "$zoomIn": "", - "$zoomOut": "", - "$clearSearch": "", - "$displaying_A_of_B": "", - "$enterKeyword": "", - "$imageLowercase": "", - "$instanceFound": "", - "$instancesFound": "", - "$nextResult": "", - "$pageLowercase": "", - "$previousResult": "", - "$print": "", - "$resultFoundFor": "", - "$resultsFoundFor": "", - "$searchWithinItem": "", - "$locale": "", - "$navigatorEnabled": "", - "$clickToZoomEnabled": "", - "$reducedMotion": "", - "$preserveViewport": "", - "$uvWebsite": "", - "$custom": "", - "$embedInstructions": "", - "$height": "", - "$iiifManifest": "", - "$shareInstructions": "", - "$size": "", - "$width": "", - "$cancel": "", - "$confirm": "", - "$viewTerms": "", - "$login": "", - "$log_in": "", - "$logout": "", - "$authCORSError": "", - "$authorisationFailedMessage": "", - "$canvasIndexOutOfRange": "", - "$fallbackDegradedLabel": "", - "$fallbackDegradedMessage": "", - "$forbiddenResourceMessage": "", - "$mediaViewer": "", - "$skipToDownload": "", - "$pleaseEnterValue": "", - "$pleaseLogInToViewAtFullQuality": "", - "$vr": "", - "$currentTime": "", - "$duration": "", - "$mute": "", - "$pause": "", - "$play": "" + "$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" } \ No newline at end of file From efae12d6ee3b69c2d77543986cafe2be41461334 Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 14 Feb 2023 11:45:05 +0000 Subject: [PATCH 05/12] Fixing missing characters --- src/locales/cy-GB.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/locales/cy-GB.json b/src/locales/cy-GB.json index e77cbf894..19d561af3 100644 --- a/src/locales/cy-GB.json +++ b/src/locales/cy-GB.json @@ -8,7 +8,7 @@ "$manifestRanges": "Amrediadau Maniffest", "$searchResult": "{0} canlyniad chwilio", "$searchResults": "{0} canlyniad chwilio", - "$sortBy": "Trefnu yn ôl:", + "$sortBy": "Trefnu yn \u00f4l:", "$thumbnails": "Bodluniau", "$contents": "Cynnwys", "$volume": "cyfrol", @@ -21,7 +21,7 @@ "$downloadSelectionExplanation": "Agor ffenest er mwyn dewis tudalennau i'w lawrlwytho.", "$editSettings": "Golygu'r dewisiadau", "$entireDocument": "Y Ddogfen Gyfan ({0})", - "entireFileX": "Y ffeil gyfan ({0})", + "$entireFileX": "Y ffeil gyfan ({0})", "$entireFile": "Y ffeil gyfan", "$individualPages": "Tudalennau Unigol", "$noDownloadOptionsAvailable": "Nid oes unrhyw opsiynau lawrlwytho ar gael.", @@ -55,8 +55,8 @@ "$aboutTheImage": "Am y ddelwedd", "$collapseInformation": "Lleihau'r Wybodaeth", "$collapseGallery": "Cuddio'r Galeri", - "$copiedToClipboard": "Copïwyd i'r clipfwrdd", - "$copyToClipboard": "Copïo i'r clipfwrd", + "$copiedToClipboard": "Cop\u00efwyd i'r clipfwrdd", + "$copyToClipboard": "Cop\u00efo i'r clipfwrd", "$description": "Disgrifiad", "$expandInformation": "Ehangu'r Wybodaeth", "$moduleGoesHere": "Eich modiwl fan hyn!", @@ -73,7 +73,7 @@ "$selectPagesForDownload": "Dewis Tudalennau i'w Lawrlwytho", "$first": "gyntaf", "$firstImage": "Delwedd Gyntaf", - "firstPage": "Tudalen gyntaf", + "$firstPage": "Tudalen gyntaf", "$folio": "Ffolio", "$gallery": "Galeri", "$go": "GWELD", @@ -115,12 +115,12 @@ "$clickToZoomEnabled": "Cliciwch gyda'r llygoden i glosio", "$reducedMotion": "Lleihau symudiad (analluogi animeiddiadau)", "$preserveViewport": "Cadw'r lefel o glosio", - "$uvWebsite": "mwy o wybodaeth", + "$uvWebsite": "mwy o wybodaeth<\/a>", "$custom": "dewisol", - "$embedInstructions": "Er mwyn ymgorffori'r eitem hon ar eich gwefan, copïwch a gosodwch y cod isod.", + "$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ïwch y URL isod.", + "$shareInstructions": "Er mwyn rhannu'r eitem hon, cop\u00efwch y URL isod.", "$size": "Maint:", "$width": "Lled", "$cancel": "Canslo", @@ -145,4 +145,4 @@ "$mute": "Mudo", "$pause": "Seibiant", "$play": "Chwarae" -} \ No newline at end of file +} From 658a22567ebbe59cf28c99148d6ab5f7d4814a5b Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 14 Feb 2023 11:45:59 +0000 Subject: [PATCH 06/12] Fixing missing characters --- src/locales/en-GB.json | 294 ++++++++++++++++++++--------------------- 1 file changed, 147 insertions(+), 147 deletions(-) diff --git a/src/locales/en-GB.json b/src/locales/en-GB.json index 9ad2b240c..3596a102e 100644 --- a/src/locales/en-GB.json +++ b/src/locales/en-GB.json @@ -1,148 +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", - "$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" -} \ No newline at end of file + "$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" +} From c4be32cf7aee8f2ca8c9f2c82a3dc320213bd6c8 Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 14 Feb 2023 11:46:50 +0000 Subject: [PATCH 07/12] Fixing missing characters --- src/locales/fr-FR.json | 114 ++++++++++++++++++++--------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/src/locales/fr-FR.json b/src/locales/fr-FR.json index 088ffda14..3b6f1ea5f 100644 --- a/src/locales/fr-FR.json +++ b/src/locales/fr-FR.json @@ -6,8 +6,8 @@ "$expandGallery": "Afficher la galerie", "$index": "Index", "$manifestRanges": "Manifestes", - "$searchResult": "{0} résultats", - "$searchResults": "{0} résultats", + "$searchResult": "{0} r\u00e9sultats", + "$searchResults": "{0} r\u00e9sultats", "$sortBy": "Trier par :", "$thumbnails": "Vignettes", "$contents": "Contenus", @@ -15,47 +15,47 @@ "$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", + "$openNewWindow": "Ouvre une nouvelle fen\u00eatre", + "$download": "T\u00e9l\u00e9charger", + "$downloadSelection": "T\u00e9l\u00e9charger la s\u00e9lection", + "$downloadSelectionExplanation": "Ouvre une fen\u00eatre pour s\u00e9lectionner les pages \u00e0 t\u00e9l\u00e9charger.", + "$editSettings": "Modifier les param\u00e8tres", "$entireDocument": "Document entier ({0})", - "entireFileX": "Fichier complet ({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", + "$noDownloadOptionsAvailable": "Aucune option de t\u00e9l\u00e9chargement n'est disponible.", + "$pagingNote": "Veuillez fermer l'affichage en double page pour acc\u00e9der aux options suppl\u00e9mentaires.", + "$preview": "Aper\u00e7u", + "$selection": "S\u00e9lection", "$termsOfUse": "Conditions d'utilisation", "$wholeImageHighRes": "Image {0} x {1}px ({2})", - "$wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", + "$wholeImageHighResExplanation": "Ouvre une nouvelle fen\u00eatre.", "$wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "$wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre.", + "$wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fen\u00eatre.", "$wholeImagesHighRes": "Images ({0})", - "$wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", + "$wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fen\u00eatres.", "$add_to_bookmarks": "Ajouter aux favoris", - "$embed": "Intégrer", - "$exitFullScreen": "Quitter le mode plein écran", + "$embed": "Int\u00e9grer", + "$exitFullScreen": "Quitter le mode plein \u00e9cran", "$feedback": "Commentaire", - "$fullScreen": "Affichage en plein écran", + "$fullScreen": "Affichage en plein \u00e9cran", "$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.", + "$noMatches": "Aucune correspondance n'a \u00e9t\u00e9 trouv\u00e9e.", "$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", + "$pageNotFound": "Ce contenu ne contient pas de page avec le num\u00e9ro indiqu\u00e9. Veuillez essayer de basculer le mode de num\u00e9rotation sur 'image'.", + "$refresh": "Rafra\u00eechir", "$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", + "$copiedToClipboard": "Copi\u00e9 dans le presse-papiers", "$copyToClipboard": "Copier dans le presse-papiers", "$description": "Description", "$expandInformation": "Afficher les informations", @@ -65,58 +65,58 @@ "$logo": "Logo", "$aboutTheItem": "A propos du contenu", "$more": "suite", - "$noDataToDisplay": "Aucune donnée à afficher", + "$noDataToDisplay": "Aucune donn\u00e9e \u00e0 afficher", "$page": "Page", - "$aboutThisSection": "À propos de cette rubrique", + "$aboutThisSection": "\u00c0 propos de cette rubrique", "$moreInformation": "Informations", - "$selectAll": "Tout sélectionner", - "$selectPagesForDownload": "Sélectionner les pages à télécharger", + "$selectAll": "Tout s\u00e9lectionner", + "$selectPagesForDownload": "S\u00e9lectionner les pages \u00e0 t\u00e9l\u00e9charger", "$first": "Premier", - "$firstImage": "Première image", - "firstPage": "Première page", + "$firstImage": "Premi\u00e8re image", + "$firstPage": "Premi\u00e8re page", "$folio": "Folio", "$gallery": "Gallerie", "$go": "Aller", "$image": "Image", "$last": "Dernier", - "$lastImage": "Dernière image", - "$lastPage": "Dernière page", + "$lastImage": "Derni\u00e8re image", + "$lastPage": "Derni\u00e8re 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", + "$searchByPageNumber": "Recherche par num\u00e9ro de page.", + "$previous": "Pr\u00e9c\u00e9dent", + "$previousImage": "Image pr\u00e9c\u00e9dente", + "$previousPage": "Page pr\u00e9c\u00e9dent", + "$settings": "Param\u00e8tres", "$twoPageView": "Affichage double page", "$goHome": "Retour", "$imageUnavailable": "Image non disponible", - "$rotateRight": "Pivoter à droite", + "$rotateRight": "Pivoter \u00e0 droite", "$zoomIn": "Zoomer", - "$zoomOut": "Dézoomer", + "$zoomOut": "D\u00e9zoomer", "$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", + "$instanceFound": "1 instance de '{0}' trouv\u00e9e", + "$instancesFound": "{0} instances de '{1}' trouv\u00e9es", + "$nextResult": "R\u00e9sultat suivant", "$pageLowercase": "page", - "$previousResult": "Résultat précéde", + "$previousResult": "R\u00e9sultat pr\u00e9c\u00e9de", "$print": "Imprimer", - "$resultFoundFor": "résultat trouvé pour ", - "$resultsFoundFor": "résultats trouvés pour", + "$resultFoundFor": "r\u00e9sultat trouv\u00e9 pour ", + "$resultsFoundFor": "r\u00e9sultats trouv\u00e9s pour", "$searchWithinItem": "Chercher dans ce document :", "$locale": "Langues", - "$navigatorEnabled": "Navigateur activé", + "$navigatorEnabled": "Navigateur activ\u00e9", "$clickToZoomEnabled": "Cliquer pour zoomer", - "$reducedMotion": "Réduire le mouvement (désactive les animations)", + "$reducedMotion": "R\u00e9duire le mouvement (d\u00e9sactive les animations)", "$preserveViewport": "Conserver le zoom", - "$uvWebsite": "informations", - "$custom": "personnalisée", + "$uvWebsite": "informations<\/a>", + "$custom": "personnalis\u00e9e", "$embedInstructions": "Pour afficher ce contenu sur votre site internet, copier-collez le code ci-dessous.", "$height": "Hauteur", "$iiifManifest": "Manifeste IIIF", @@ -128,21 +128,21 @@ "$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.", + "$logout": "D\u00e9connexion", + "$authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre \u00e0 jour votre navigateur pour afficher ce contenu.", + "$authorisationFailedMessage": "Votre tentative de connexion semble avoir \u00e9chou\u00e9. Veuillez r\u00e9essayer.", "$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", + "$fallbackDegradedMessage": "Connectez-vous pour visualisez ce contenu en r\u00e9solution maximale.", + "$forbiddenResourceMessage": "Vos droits d'acc\u00e8s ne vous permettent pas de visualiser cette image", + "$mediaViewer": "Visionneuse multim\u00e9dia", + "$skipToDownload": "Passer aux t\u00e9l\u00e9chargements et aux formats alternatifs", "$pleaseEnterValue": "veuillez saisir une valeur.", - "$pleaseLogInToViewAtFullQuality": "Veuillez vous connecter pour voir en pleine qualité.", + "$pleaseLogInToViewAtFullQuality": "Veuillez vous connecter pour voir en pleine qualit\u00e9.", "$vr": "VR", "$currentTime": "Heure actuelle", - "$duration": "Durée", + "$duration": "Dur\u00e9e", "$mute": "Muet", "$pause": "Pause", "$play": "Jouer" -} \ No newline at end of file +} From fefc9512b26cd795802a7009e6e40f670e678434 Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 14 Feb 2023 11:47:30 +0000 Subject: [PATCH 08/12] Fixing missing characters --- src/locales/pl-PL.json | 164 ++++++++++++++++++++--------------------- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/src/locales/pl-PL.json b/src/locales/pl-PL.json index bd772fa42..85ac83f3b 100644 --- a/src/locales/pl-PL.json +++ b/src/locales/pl-PL.json @@ -1,71 +1,71 @@ { - "$collapse": "Zwiń zawartość", - "$collapseFull": "Zwiń galerię", + "$collapse": "Zwi\u0144 zawarto\u015b\u0107", + "$collapseFull": "Zwi\u0144 galeri\u0119", "$date": "data", - "$expandContents": "Rozwiń zawartość", - "$expandGallery": "Rozwiń galerię", + "$expandContents": "Rozwi\u0144 zawarto\u015b\u0107", + "$expandGallery": "Rozwi\u0144 galeri\u0119", "$index": "Indeks", "$manifestRanges": "Zakresy manifestu", - "$searchResult": "Liczba wyników: {0}", - "$searchResults": "Liczba wyników: {0}", + "$searchResult": "Liczba wynik\u00f3w: {0}", + "$searchResults": "Liczba wynik\u00f3w: {0}", "$sortBy": "Sortuj wg:", "$thumbnails": "Miniatury", - "$contents": "Zawartość", + "$contents": "Zawarto\u015b\u0107", "$volume": "tom", "$close": "Zamknij", "$allPages": "Wszystkie strony", "$currentViewAsJpg": "Aktualny widok {0} x {1}px (jpg)", - "$openNewWindow": "Otwiera się w nowym oknie", + "$openNewWindow": "Otwiera si\u0119 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", + "$entireDocument": "Ca\u0142y dokument ({0})", + "$entireFileX": "Ca\u0142y plik ({0})", + "$entireFile": "Ca\u0142y 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", + "$noDownloadOptionsAvailable": "Brak dost\u0119pnych opcji pobierania.", + "$pagingNote": "Wy\u0142\u0105cz widok dw\u00f3ch stron, aby uzyska\u0107 dodatkowe opcje.", + "$preview": "Podgl\u0105d", + "$selection": "Wyb\u00f3r", "$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", + "$wholeImageHighRes": "Pe\u0142ny obraz {0} x {1}px ({2})", + "$wholeImageHighResExplanation": "Otwiera si\u0119 w nowym oknie.", + "$wholeImageLowResAsJpg": "Pe\u0142ny obraz {0} x {1}px (jpg)", + "$wholeImageLowResAsJpgExplanation": "Otwiera si\u0119 w nowym oknie.", + "$wholeImagesHighRes": "Pe\u0142ne obrazy ({0})", + "$wholeImagesHighResExplanation": "Otwiera si\u0119 w dw\u00f3ch nowych oknach", + "$add_to_bookmarks": "Dodaj do zak\u0142adek", + "$embed": "Osad\u017a", + "$exitFullScreen": "Zamknij pe\u0142ny 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ń.", + "$fullScreen": "Pe\u0142ny ekran", + "$moreInfo": "Wi\u0119cej informacji", + "$open": "Otw\u00f3rz", + "$share": "Udost\u0119pnij", + "$emptyValue": "prosz\u0119 wprowadzi\u0107 warto\u015b\u0107.", + "$invalidNumber": "Prosz\u0119 wprowadzi\u0107 poprawny numer.", + "$noMatches": "Nie znaleziono dopasowa\u0144.", "$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", + "$pageNotFound": "Ten obiekt nie zawiera strony z wprowadzonym numerem. Spr\u00f3buj prze\u0142\u0105czy\u0107 tryb numeracji na 'obraz'.", + "$refresh": "Od\u015bwie\u017c", + "$placeholder_text": "tekst zast\u0119pczy", "$help": "Pomoc", - "$attribution": "Źródło", + "$attribution": "\u0179r\u00f3d\u0142o", "$aboutTheImage": "O obrazie", - "$collapseInformation": "Zwiń informacje", - "$collapseGallery": "Zwiń galerię", + "$collapseInformation": "Zwi\u0144 informacje", + "$collapseGallery": "Zwi\u0144 galeri\u0119", "$copiedToClipboard": "Skopiowano do schowka", "$copyToClipboard": "Skopiuj do schowka", "$description": "Opis", - "$expandInformation": "Rozwiń informacje", - "$moduleGoesHere": "Miejsce na twój moduł!", + "$expandInformation": "Rozwi\u0144 informacje", + "$moduleGoesHere": "Miejsce na tw\u00f3j modu\u0142!", "$less": "mniej", "$license": "Licencja", "$logo": "Logo", "$aboutTheItem": "O obiekcie", - "$more": "więcej", - "$noDataToDisplay": "Brak danych do wyświetlenia", + "$more": "wi\u0119cej", + "$noDataToDisplay": "Brak danych do wy\u015bwietlenia", "$page": "Strona", "$aboutThisSection": "O tej sekcji", "$moreInformation": "O obiekcie", @@ -73,76 +73,76 @@ "$selectPagesForDownload": "Wybierz strony do pobrania", "$first": "Pierwsza", "$firstImage": "Pierwszy obraz", - "firstPage": "Pierwsza strona", + "$firstPage": "Pierwsza strona", "$folio": "Folio", "$gallery": "Galeria", - "$go": "Idź", + "$go": "Id\u017a", "$image": "Obraz", "$last": "Ostatnia", "$lastImage": "Ostatni obraz", "$lastPage": "Ostatnia strona", - "$next": "Następna", - "$nextImage": "Następny obraz", - "$nextPage": "Następna strona", + "$next": "Nast\u0119pna", + "$nextImage": "Nast\u0119pny obraz", + "$nextPage": "Nast\u0119pna strona", "$of": "z {0}", "$singlePageView": "Widok pojedynczej strony", - "$searchByPageNumber": "Szukaj według numeru strony", + "$searchByPageNumber": "Szukaj wed\u0142ug 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ż", + "$twoPageView": "Widok dw\u00f3ch stro", + "$goHome": "Zobacz ca\u0142\u0105 stron\u0119", + "$imageUnavailable": "Obraz niedost\u0119pny", + "$rotateRight": "Obr\u00f3\u0107 w prawo", + "$zoomIn": "Przybli\u017c", "$zoomOut": "Oddal", - "$clearSearch": "Wyczyść", + "$clearSearch": "Wyczy\u015b\u0107", "$displaying_A_of_B": "{0} {1} z {2}", - "$enterKeyword": "Wprowadź słowo kluczowe", + "$enterKeyword": "Wprowad\u017a s\u0142owo kluczowe", "$imageLowercase": "obraz", - "$instanceFound": "Znaleziono 1 wystąpienie '{0}'", - "$instancesFound": "Znalezione wystąpienia '{1}': {0}", - "$nextResult": "Następny wynik", + "$instanceFound": "Znaleziono 1 wyst\u0105pienie '{0}'", + "$instancesFound": "Znalezione wyst\u0105pienia '{1}': {0}", + "$nextResult": "Nast\u0119pny wynik", "$pageLowercase": "strona", "$previousResult": "Poprzedni wynik", "$print": "Drukuj", "$resultFoundFor": "wynik dla", - "$resultsFoundFor": "wyniki/wyników dla", + "$resultsFoundFor": "wyniki\/wynik\u00f3w 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", + "$locale": "J\u0119zyk", + "$navigatorEnabled": "W\u0142\u0105czona nawigacja", + "$clickToZoomEnabled": "Przybli\u017cenie przez klikni\u0119cie mysz\u0105", + "$reducedMotion": "Zmniejsz ruch (wy\u0142\u0105cza animacje)", + "$preserveViewport": "Zachowanie przybli\u017cenia", + "$uvWebsite": "wi\u0119cej informacji<\/a>", "$custom": "Ustawienia", - "$embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", - "$height": "Wysokość", + "$embedInstructions": "Aby osadzi\u0107 ten obiekt na w\u0142asnej witrynie, skopiuj i wklej poni\u017cszy kod.", + "$height": "Wysoko\u015b\u0107", "$iiifManifest": "Manifest IIIF", - "$shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", + "$shareInstructions": "Aby udost\u0119pni\u0107 ten obiekt, skopiuj poni\u017cszy adres URL.", "$size": "Rozmiar:", - "$width": "Szerokość", + "$width": "Szeroko\u015b\u0107", "$cancel": "Anuluj", - "$confirm": "Potwierdź", - "$viewTerms": "Przeczytaj pełny Regulamin", - "$login": "Zaloguj się", - "$log_in": "Zaloguj się", + "$confirm": "Potwierd\u017a", + "$viewTerms": "Przeczytaj pe\u0142ny Regulamin", + "$login": "Zaloguj si\u0119", + "$log_in": "Zaloguj si\u0119", "$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.", + "$authCORSError": "Twoja przegl\u0105darka nie obs\u0142uguje CORS. Zaktualizuj j\u0105, aby wy\u015bwietli\u0107 t\u0119 zawarto\u015b\u0107.", + "$authorisationFailedMessage": "Twoja pr\u00f3ba logowania nie powid\u0142a si\u0119. Prosz\u0119 spr\u00f3buj 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.", + "$fallbackDegradedLabel": "Zaloguj si\u0119", + "$fallbackDegradedMessage": "Zaloguj si\u0119, aby zobaczy\u0107 t\u0119 tre\u015b\u0107 w pe\u0142nej rozdzielczo\u015bci.", + "$forbiddenResourceMessage": "Twoje obecne prawa dost\u0119pu s\u0105 niewystarczaj\u0105ce, aby wy\u015bwietli\u0107 ten obraz", + "$mediaViewer": "Przegl\u0105darka multimedi\u00f3w", + "$skipToDownload": "Przejd\u017a do pobierania i alternatywnych format\u00f3w", + "$pleaseEnterValue": "prosz\u0119 wprowadzi\u0107 warto\u015b\u0107", + "$pleaseLogInToViewAtFullQuality": "Zaloguj si\u0119, aby ogl\u0105da\u0107 w pe\u0142nej jako\u015bci.", "$vr": "VR", "$currentTime": "Obecny czas", "$duration": "Czas trwania", "$mute": "Wycisz", "$pause": "Pauza", "$play": "Odtwarzaj" -} \ No newline at end of file +} From 3da9cf5557952cc4ffe3727248669131e596415a Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 14 Feb 2023 11:50:02 +0000 Subject: [PATCH 09/12] Fixing missing characters --- src/locales/sv-SE.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/locales/sv-SE.json b/src/locales/sv-SE.json index c6efc537b..602f297b3 100644 --- a/src/locales/sv-SE.json +++ b/src/locales/sv-SE.json @@ -21,7 +21,7 @@ "$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})", + "$entireFileX": "Hela filen ({0})", "$entireFile": "Hela filen", "$individualPages": "Enskilda sidor", "$noDownloadOptionsAvailable": "Inga nedladdningsalternativ är tillgängliga.", @@ -73,7 +73,7 @@ "$selectPagesForDownload": "Välj sidor att ladda ner", "$first": "Första", "$firstImage": "Första bild", - "firstPage": "Första sidan", + "$firstPage": "Första sidan", "$folio": "Folio", "$gallery": "Galleri", "$go": "Gå", @@ -145,4 +145,4 @@ "$mute": "Tyst", "$pause": "Paus", "$play": "Spela" -} \ No newline at end of file +} From 8caf0bc162a3324b2dd64fcad9eaed13b7096d39 Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 14 Feb 2023 11:52:00 +0000 Subject: [PATCH 10/12] Fixing encoding --- src/locales/fr-FR.json | 110 ++++++++++++++++++++--------------------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/src/locales/fr-FR.json b/src/locales/fr-FR.json index 3b6f1ea5f..ad5fa6713 100644 --- a/src/locales/fr-FR.json +++ b/src/locales/fr-FR.json @@ -6,8 +6,8 @@ "$expandGallery": "Afficher la galerie", "$index": "Index", "$manifestRanges": "Manifestes", - "$searchResult": "{0} r\u00e9sultats", - "$searchResults": "{0} r\u00e9sultats", + "$searchResult": "{0} résultats", + "$searchResults": "{0} résultats", "$sortBy": "Trier par :", "$thumbnails": "Vignettes", "$contents": "Contenus", @@ -15,47 +15,47 @@ "$close": "Fermer", "$allPages": "Toutes les pages", "$currentViewAsJpg": "Vue actuelle {0} x {1}px (jpg)", - "$openNewWindow": "Ouvre une nouvelle fen\u00eatre", - "$download": "T\u00e9l\u00e9charger", - "$downloadSelection": "T\u00e9l\u00e9charger la s\u00e9lection", - "$downloadSelectionExplanation": "Ouvre une fen\u00eatre pour s\u00e9lectionner les pages \u00e0 t\u00e9l\u00e9charger.", - "$editSettings": "Modifier les param\u00e8tres", + "$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\u00e9l\u00e9chargement n'est disponible.", - "$pagingNote": "Veuillez fermer l'affichage en double page pour acc\u00e9der aux options suppl\u00e9mentaires.", - "$preview": "Aper\u00e7u", - "$selection": "S\u00e9lection", + "$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\u00eatre.", + "$wholeImageHighResExplanation": "Ouvre une nouvelle fenêtre.", "$wholeImageLowResAsJpg": "Image {0} x {1}px (jpg)", - "$wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fen\u00eatre.", + "$wholeImageLowResAsJpgExplanation": "Ouvre une nouvelle fenêtre.", "$wholeImagesHighRes": "Images ({0})", - "$wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fen\u00eatres.", + "$wholeImagesHighResExplanation": "S'ouvre dans deux nouvelles fenêtres.", "$add_to_bookmarks": "Ajouter aux favoris", - "$embed": "Int\u00e9grer", - "$exitFullScreen": "Quitter le mode plein \u00e9cran", + "$embed": "Intégrer", + "$exitFullScreen": "Quitter le mode plein écran", "$feedback": "Commentaire", - "$fullScreen": "Affichage en plein \u00e9cran", + "$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 \u00e9t\u00e9 trouv\u00e9e.", + "$noMatches": "Aucune correspondance n'a été trouvée.", "$ok": "OK", - "$pageNotFound": "Ce contenu ne contient pas de page avec le num\u00e9ro indiqu\u00e9. Veuillez essayer de basculer le mode de num\u00e9rotation sur 'image'.", - "$refresh": "Rafra\u00eechir", + "$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\u00e9 dans le presse-papiers", + "$copiedToClipboard": "Copié dans le presse-papiers", "$copyToClipboard": "Copier dans le presse-papiers", "$description": "Description", "$expandInformation": "Afficher les informations", @@ -65,58 +65,58 @@ "$logo": "Logo", "$aboutTheItem": "A propos du contenu", "$more": "suite", - "$noDataToDisplay": "Aucune donn\u00e9e \u00e0 afficher", + "$noDataToDisplay": "Aucune donnée à afficher", "$page": "Page", - "$aboutThisSection": "\u00c0 propos de cette rubrique", + "$aboutThisSection": "À propos de cette rubrique", "$moreInformation": "Informations", - "$selectAll": "Tout s\u00e9lectionner", - "$selectPagesForDownload": "S\u00e9lectionner les pages \u00e0 t\u00e9l\u00e9charger", + "$selectAll": "Tout sélectionner", + "$selectPagesForDownload": "Sélectionner les pages à télécharger", "$first": "Premier", - "$firstImage": "Premi\u00e8re image", - "$firstPage": "Premi\u00e8re page", + "$firstImage": "Première image", + "$firstPage": "Première page", "$folio": "Folio", "$gallery": "Gallerie", "$go": "Aller", "$image": "Image", "$last": "Dernier", - "$lastImage": "Derni\u00e8re image", - "$lastPage": "Derni\u00e8re page", + "$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\u00e9ro de page.", - "$previous": "Pr\u00e9c\u00e9dent", - "$previousImage": "Image pr\u00e9c\u00e9dente", - "$previousPage": "Page pr\u00e9c\u00e9dent", - "$settings": "Param\u00e8tres", + "$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 \u00e0 droite", + "$rotateRight": "Pivoter à droite", "$zoomIn": "Zoomer", - "$zoomOut": "D\u00e9zoomer", + "$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\u00e9e", - "$instancesFound": "{0} instances de '{1}' trouv\u00e9es", - "$nextResult": "R\u00e9sultat suivant", + "$instanceFound": "1 instance de '{0}' trouvée", + "$instancesFound": "{0} instances de '{1}' trouvées", + "$nextResult": "Résultat suivant", "$pageLowercase": "page", - "$previousResult": "R\u00e9sultat pr\u00e9c\u00e9de", + "$previousResult": "Résultat précéde", "$print": "Imprimer", - "$resultFoundFor": "r\u00e9sultat trouv\u00e9 pour ", - "$resultsFoundFor": "r\u00e9sultats trouv\u00e9s pour", + "$resultFoundFor": "résultat trouvé pour ", + "$resultsFoundFor": "résultats trouvés pour", "$searchWithinItem": "Chercher dans ce document :", "$locale": "Langues", - "$navigatorEnabled": "Navigateur activ\u00e9", + "$navigatorEnabled": "Navigateur activé", "$clickToZoomEnabled": "Cliquer pour zoomer", - "$reducedMotion": "R\u00e9duire le mouvement (d\u00e9sactive les animations)", + "$reducedMotion": "Réduire le mouvement (désactive les animations)", "$preserveViewport": "Conserver le zoom", - "$uvWebsite": "informations<\/a>", - "$custom": "personnalis\u00e9e", + "$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", @@ -128,20 +128,20 @@ "$viewTerms": "Lire les termes et les conditions d'utilisation", "$login": "Connexion", "$log_in": "Connexion", - "$logout": "D\u00e9connexion", - "$authCORSError": "Votre navigateur ne supporte pas CORS, veuillez mettre \u00e0 jour votre navigateur pour afficher ce contenu.", - "$authorisationFailedMessage": "Votre tentative de connexion semble avoir \u00e9chou\u00e9. Veuillez r\u00e9essayer.", + "$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\u00e9solution maximale.", - "$forbiddenResourceMessage": "Vos droits d'acc\u00e8s ne vous permettent pas de visualiser cette image", - "$mediaViewer": "Visionneuse multim\u00e9dia", - "$skipToDownload": "Passer aux t\u00e9l\u00e9chargements et aux formats alternatifs", + "$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\u00e9.", + "$pleaseLogInToViewAtFullQuality": "Veuillez vous connecter pour voir en pleine qualité.", "$vr": "VR", "$currentTime": "Heure actuelle", - "$duration": "Dur\u00e9e", + "$duration": "Durée", "$mute": "Muet", "$pause": "Pause", "$play": "Jouer" From a118e106543d802946498b7771aa3080b5a8dbca Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 14 Feb 2023 11:53:10 +0000 Subject: [PATCH 11/12] Fixing encoding --- src/locales/pl-PL.json | 160 ++++++++++++++++++++--------------------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/src/locales/pl-PL.json b/src/locales/pl-PL.json index 85ac83f3b..2ade88313 100644 --- a/src/locales/pl-PL.json +++ b/src/locales/pl-PL.json @@ -1,71 +1,71 @@ { - "$collapse": "Zwi\u0144 zawarto\u015b\u0107", - "$collapseFull": "Zwi\u0144 galeri\u0119", + "$collapse": "Zwiń zawartość", + "$collapseFull": "Zwiń galerię", "$date": "data", - "$expandContents": "Rozwi\u0144 zawarto\u015b\u0107", - "$expandGallery": "Rozwi\u0144 galeri\u0119", + "$expandContents": "Rozwiń zawartość", + "$expandGallery": "Rozwiń galerię", "$index": "Indeks", "$manifestRanges": "Zakresy manifestu", - "$searchResult": "Liczba wynik\u00f3w: {0}", - "$searchResults": "Liczba wynik\u00f3w: {0}", + "$searchResult": "Liczba wyników: {0}", + "$searchResults": "Liczba wyników: {0}", "$sortBy": "Sortuj wg:", "$thumbnails": "Miniatury", - "$contents": "Zawarto\u015b\u0107", + "$contents": "Zawartość", "$volume": "tom", "$close": "Zamknij", "$allPages": "Wszystkie strony", "$currentViewAsJpg": "Aktualny widok {0} x {1}px (jpg)", - "$openNewWindow": "Otwiera si\u0119 w nowym oknie", + "$openNewWindow": "Otwiera się w nowym oknie", "$download": "Pobierz", "$downloadSelection": "Pobierz wybrane strony", "$downloadSelectionExplanation": "Otwiera okno wyboru stron do pobrania.", "$editSettings": "Edytuj ustawienia", - "$entireDocument": "Ca\u0142y dokument ({0})", - "$entireFileX": "Ca\u0142y plik ({0})", - "$entireFile": "Ca\u0142y plik", + "$entireDocument": "Cały dokument ({0})", + "$entireFileX": "Cały plik ({0})", + "$entireFile": "Cały plik", "$individualPages": "Strony indywidualne", - "$noDownloadOptionsAvailable": "Brak dost\u0119pnych opcji pobierania.", - "$pagingNote": "Wy\u0142\u0105cz widok dw\u00f3ch stron, aby uzyska\u0107 dodatkowe opcje.", - "$preview": "Podgl\u0105d", - "$selection": "Wyb\u00f3r", + "$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\u0142ny obraz {0} x {1}px ({2})", - "$wholeImageHighResExplanation": "Otwiera si\u0119 w nowym oknie.", - "$wholeImageLowResAsJpg": "Pe\u0142ny obraz {0} x {1}px (jpg)", - "$wholeImageLowResAsJpgExplanation": "Otwiera si\u0119 w nowym oknie.", - "$wholeImagesHighRes": "Pe\u0142ne obrazy ({0})", - "$wholeImagesHighResExplanation": "Otwiera si\u0119 w dw\u00f3ch nowych oknach", - "$add_to_bookmarks": "Dodaj do zak\u0142adek", - "$embed": "Osad\u017a", - "$exitFullScreen": "Zamknij pe\u0142ny ekran", + "$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\u0142ny ekran", - "$moreInfo": "Wi\u0119cej informacji", - "$open": "Otw\u00f3rz", - "$share": "Udost\u0119pnij", - "$emptyValue": "prosz\u0119 wprowadzi\u0107 warto\u015b\u0107.", - "$invalidNumber": "Prosz\u0119 wprowadzi\u0107 poprawny numer.", - "$noMatches": "Nie znaleziono dopasowa\u0144.", + "$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\u00f3buj prze\u0142\u0105czy\u0107 tryb numeracji na 'obraz'.", - "$refresh": "Od\u015bwie\u017c", - "$placeholder_text": "tekst zast\u0119pczy", + "$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": "\u0179r\u00f3d\u0142o", + "$attribution": "Źródło", "$aboutTheImage": "O obrazie", - "$collapseInformation": "Zwi\u0144 informacje", - "$collapseGallery": "Zwi\u0144 galeri\u0119", + "$collapseInformation": "Zwiń informacje", + "$collapseGallery": "Zwiń galerię", "$copiedToClipboard": "Skopiowano do schowka", "$copyToClipboard": "Skopiuj do schowka", "$description": "Opis", - "$expandInformation": "Rozwi\u0144 informacje", - "$moduleGoesHere": "Miejsce na tw\u00f3j modu\u0142!", + "$expandInformation": "Rozwiń informacje", + "$moduleGoesHere": "Miejsce na twój moduł!", "$less": "mniej", "$license": "Licencja", "$logo": "Logo", "$aboutTheItem": "O obiekcie", - "$more": "wi\u0119cej", - "$noDataToDisplay": "Brak danych do wy\u015bwietlenia", + "$more": "więcej", + "$noDataToDisplay": "Brak danych do wyświetlenia", "$page": "Strona", "$aboutThisSection": "O tej sekcji", "$moreInformation": "O obiekcie", @@ -76,69 +76,69 @@ "$firstPage": "Pierwsza strona", "$folio": "Folio", "$gallery": "Galeria", - "$go": "Id\u017a", + "$go": "Idź", "$image": "Obraz", "$last": "Ostatnia", "$lastImage": "Ostatni obraz", "$lastPage": "Ostatnia strona", - "$next": "Nast\u0119pna", - "$nextImage": "Nast\u0119pny obraz", - "$nextPage": "Nast\u0119pna strona", + "$next": "Następna", + "$nextImage": "Następny obraz", + "$nextPage": "Następna strona", "$of": "z {0}", "$singlePageView": "Widok pojedynczej strony", - "$searchByPageNumber": "Szukaj wed\u0142ug numeru strony", + "$searchByPageNumber": "Szukaj według numeru strony", "$previous": "Poprzednia", "$previousImage": "Poprzedni obraz", "$previousPage": "Poprzednia stron", "$settings": "Ustawienia", - "$twoPageView": "Widok dw\u00f3ch stro", - "$goHome": "Zobacz ca\u0142\u0105 stron\u0119", - "$imageUnavailable": "Obraz niedost\u0119pny", - "$rotateRight": "Obr\u00f3\u0107 w prawo", - "$zoomIn": "Przybli\u017c", + "$twoPageView": "Widok dwóch stro", + "$goHome": "Zobacz całą stronę", + "$imageUnavailable": "Obraz niedostępny", + "$rotateRight": "Obróć w prawo", + "$zoomIn": "Przybliż", "$zoomOut": "Oddal", - "$clearSearch": "Wyczy\u015b\u0107", + "$clearSearch": "Wyczyść", "$displaying_A_of_B": "{0} {1} z {2}", - "$enterKeyword": "Wprowad\u017a s\u0142owo kluczowe", + "$enterKeyword": "Wprowadź słowo kluczowe", "$imageLowercase": "obraz", - "$instanceFound": "Znaleziono 1 wyst\u0105pienie '{0}'", - "$instancesFound": "Znalezione wyst\u0105pienia '{1}': {0}", - "$nextResult": "Nast\u0119pny wynik", + "$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\u00f3w dla", + "$resultsFoundFor": "wyniki/wyników dla", "$searchWithinItem": "Wyszukaj w tym obiekcie:", - "$locale": "J\u0119zyk", - "$navigatorEnabled": "W\u0142\u0105czona nawigacja", - "$clickToZoomEnabled": "Przybli\u017cenie przez klikni\u0119cie mysz\u0105", - "$reducedMotion": "Zmniejsz ruch (wy\u0142\u0105cza animacje)", - "$preserveViewport": "Zachowanie przybli\u017cenia", - "$uvWebsite": "wi\u0119cej informacji<\/a>", + "$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\u0107 ten obiekt na w\u0142asnej witrynie, skopiuj i wklej poni\u017cszy kod.", - "$height": "Wysoko\u015b\u0107", + "$embedInstructions": "Aby osadzić ten obiekt na własnej witrynie, skopiuj i wklej poniższy kod.", + "$height": "Wysokość", "$iiifManifest": "Manifest IIIF", - "$shareInstructions": "Aby udost\u0119pni\u0107 ten obiekt, skopiuj poni\u017cszy adres URL.", + "$shareInstructions": "Aby udostępnić ten obiekt, skopiuj poniższy adres URL.", "$size": "Rozmiar:", - "$width": "Szeroko\u015b\u0107", + "$width": "Szerokość", "$cancel": "Anuluj", - "$confirm": "Potwierd\u017a", - "$viewTerms": "Przeczytaj pe\u0142ny Regulamin", - "$login": "Zaloguj si\u0119", - "$log_in": "Zaloguj si\u0119", + "$confirm": "Potwierdź", + "$viewTerms": "Przeczytaj pełny Regulamin", + "$login": "Zaloguj się", + "$log_in": "Zaloguj się", "$logout": "Wyloguj", - "$authCORSError": "Twoja przegl\u0105darka nie obs\u0142uguje CORS. Zaktualizuj j\u0105, aby wy\u015bwietli\u0107 t\u0119 zawarto\u015b\u0107.", - "$authorisationFailedMessage": "Twoja pr\u00f3ba logowania nie powid\u0142a si\u0119. Prosz\u0119 spr\u00f3buj ponownie.", + "$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\u0119", - "$fallbackDegradedMessage": "Zaloguj si\u0119, aby zobaczy\u0107 t\u0119 tre\u015b\u0107 w pe\u0142nej rozdzielczo\u015bci.", - "$forbiddenResourceMessage": "Twoje obecne prawa dost\u0119pu s\u0105 niewystarczaj\u0105ce, aby wy\u015bwietli\u0107 ten obraz", - "$mediaViewer": "Przegl\u0105darka multimedi\u00f3w", - "$skipToDownload": "Przejd\u017a do pobierania i alternatywnych format\u00f3w", - "$pleaseEnterValue": "prosz\u0119 wprowadzi\u0107 warto\u015b\u0107", - "$pleaseLogInToViewAtFullQuality": "Zaloguj si\u0119, aby ogl\u0105da\u0107 w pe\u0142nej jako\u015bci.", + "$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", From 5e230a89ddc2c1fbe561feaff618dacd740d9b34 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 21 Feb 2023 16:19:18 +0000 Subject: [PATCH 12/12] simplifying regex --- .../iiif/modules/uv-shared-module/BaseExtension.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 2617f9f67..aa92664bd 100644 --- a/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts +++ b/src/content-handlers/iiif/modules/uv-shared-module/BaseExtension.ts @@ -502,7 +502,9 @@ export class BaseExtension implements IExtension { let conf = JSON.stringify(config); for(let str in localeStrings) { - conf = conf.replace(new RegExp(str.replace(/[$/]/g, '\\$&'), 'g'), localeStrings[str]); + let replaceStr = str.replace('$',''); + let re = new RegExp(`\\$${replaceStr}\\b`, 'g'); + conf = conf.replace(re, localeStrings[str]); } conf = JSON.parse(conf);