Skip to content

Commit

Permalink
Add en-GB locales
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Mar 7, 2024
1 parent 567b8a7 commit 54c37cb
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
// "de-CH",
"es",
"en",
// "en-GB",
"fr",
// "fr-CA",
// "fr-CH",
Expand Down
4 changes: 4 additions & 0 deletions src/locales/en-GB/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"native": "English (UK)",
"global": "English (UK)"
}
4 changes: 4 additions & 0 deletions src/locales/en-GB/datepicker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const format = 'DD/MM/YYYY';
const locale = import('vue2-datepicker/locale/en');
locale.formatLocale.firstDayOfWeek = 1;
export default {format, locale};
8 changes: 8 additions & 0 deletions src/locales/en-GB/default.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import Utils from '../../utils';
export default Utils.mergeDeep(
{
fields: require('./fields.json')
},
require('./texts.json'),
require('../en/custom.json')
);
2 changes: 2 additions & 0 deletions src/locales/en-GB/duration.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { en as locale } from '@musement/iso-duration';
export default locale;
27 changes: 27 additions & 0 deletions src/locales/en-GB/fields.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Anonymized Location": "Anonymised Location",
"Center Frequency": "Centre Frequency",
"Cloud Cover": "Cloud Cover",
"Cloud Storage": "Cloud Storage",
"Cloud-Optimized GeoTIFF image": "Cloud-Optimised GeoTIFF image",
"Cloud-Optimized Point Cloud (LASzip)": "Cloud-Optimised Point Cloud (LASzip)",
"Color": "Colour",
"Finalized": "Finalised",
"Grayscale with relief": "Greyscale with relief",
"Grayscale without relief": "Greyscale without relief",
"Instruments": "Instruments",
"Internationalization / Localization": "Internationalisation / Localisation",
"License": "Licence",
"Normalized Radar Backscatter (SAR)": "Normalised Radar Backscatter (SAR)",
"Organization": "Organisation",
"Parent STAC Catalog": "Parent STAC Catalogue",
"Point (at pixel center)": "Point (at pixel centre)",
"Polarizations": "Polarisations",
"RGB color with relief": "RGB colour with relief",
"RGB color without relief": "RGB colour without relief",
"Root STAC Catalog": "Root STAC Catalogue",
"The center wavelength of the band": "The centre wavelength of the band",
"The size of one side of the anonymized bounding box": "The size of one side of the anonymised bounding box",
"Visualization": "Visualisation",
"Visualizations": "Visualisations"
}
21 changes: 21 additions & 0 deletions src/locales/en-GB/texts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"anonymized": {
"title": "Anonymised"
},
"catalogs": {
"filterByTitle": "Filter catalogues by title",
"filterByTitleAndMore": "Filter catalogues by title, description and keywords",
"noMatches": "No catalogues match the given search criteria."
},
"errors": {
"noExternalAccess": "Accessing external catalogues is not allowed!"
},
"index": {
"catalog": "Catalogue",
"specifyCatalog": "Please specify a STAC Catalogue or API..."
},
"sidebar": {
"switchCatalog": "Switch Catalogue"
},
"stacCatalog": "Catalogue | Catalogues"
}

0 comments on commit 54c37cb

Please sign in to comment.