diff --git a/packages/pxweb2/public/config/config.js b/packages/pxweb2/public/config/config.js index b7dc4482a..549f94822 100644 --- a/packages/pxweb2/public/config/config.js +++ b/packages/pxweb2/public/config/config.js @@ -2,15 +2,14 @@ window.PxWeb2Config = { language: { supportedLanguages: [ { shorthand: 'en', languageName: 'English' }, - { shorthand: 'sv', languageName: 'Svenska' }, { shorthand: 'no', languageName: 'Norsk' }, ], - defaultLanguage: 'en', - fallbackLanguage: 'en', + defaultLanguage: 'no', + fallbackLanguage: 'no', showDefaultLanguageInPath: true, }, baseApplicationPath: '/', - apiUrl: 'https://api.scb.se/OV0104/v2beta/api/v2', + apiUrl: 'https://data.ssb.no/api/pxwebapi/v2', maxDataCells: 150000, specialCharacters: ['.', '..', ':', '-', '...', '*'], variableFilterExclusionList: { diff --git a/packages/pxweb2/public/icons/topicIconMap.json b/packages/pxweb2/public/icons/topicIconMap.json index 33a05ce5c..f1fd4e862 100644 --- a/packages/pxweb2/public/icons/topicIconMap.json +++ b/packages/pxweb2/public/icons/topicIconMap.json @@ -1,24 +1,25 @@ { - "JO": "AgricultureForestryHuntingAndFishing.svg", - "NV": "EstablishmentsAndEnterprises.svg", - "ME": "Elections.svg", - "UF": "Education.svg", - "EN": "EnergyAndManufacturing.svg", - "MI": "NatureAndTheEnvironment.svg", - "FM": "BankingAndFinancialMarkets.svg", - "AA": "GeneralStatistics.svg", - "HE": "PricesAndPriceIndices.svg", - "BO": "ConstructionHousingAndProperty.svg", - "AM": "LabourMarketAndEarnings.svg", - "LE": "LivingConditions.svg", - "NR": "NationalAccountsAndBusinessCycles.svg", - "OV": "Test.svg", - "BE": "Population.svg", - "PR": "IncomeAndConsumption.svg", - "OE": "PublicFinances.svg", - "HA": "ExternalEconomy.svg", - "TK": "TransportAndTourism.svg", - "HS": "Health.svg", - "KU": "CultureAndRecreation.svg", - "SO": "SocialServices.svg" + "js": "AgricultureForestryHuntingAndFishing.svg", + "bf": "BankingAndFinancialMarkets.svg", + "bb": "ConstructionHousingAndProperty.svg", + "va": "Elections.svg", + "kf": "CultureAndRecreation.svg", + "ud": "Education.svg", + "ei": "EnergyAndManufacturing.svg", + "vf": "EstablishmentsAndEnterprises.svg", + "ut": "ExternalEconomy.svg", + "he": "Health.svg", + "in": "ImmigrationAndImmigrants.svg", + "if": "IncomeAndConsumption.svg", + "al": "LabourMarketAndEarnings.svg", + "nk": "NationalAccountsAndBusinessCycles.svg", + "nm": "NatureAndTheEnvironment.svg", + "be": "Population.svg", + "pp": "PricesAndPriceIndices.svg", + "os": "PublicSector.svg", + "sk": "SocialConditionsWelfareAndCrime.svg", + "sv": "Svalbard.svg", + "ti": "TechnologyAndInnovation.svg", + "tr": "TransportAndTourism.svg", + "vt": "TradeAndService.svg" } diff --git a/packages/pxweb2/public/locales/ar/translation.json b/packages/pxweb2/public/locales/ar/translation.json index 8edeb9292..a03e49758 100644 --- a/packages/pxweb2/public/locales/ar/translation.json +++ b/packages/pxweb2/public/locales/ar/translation.json @@ -46,7 +46,7 @@ "error": "خطأ:" }, "status_messages": { - "welcome": "أهلاً بكم في PxWeb 2.0 الجديد! ما زلنا نعمل على تحسينه لمساعدتك في العثور على الأرقام التي تحتاجها واستخدامها.", + "welcome": "أهلاً بكم في PxWeb 2 - v2.0.0 الجديد! ما زلنا نعمل على تحسينه لمساعدتك في العثور على الأرقام التي تحتاجها واستخدامها.", "drawer_view": "عرض الرسم البياني قيد الإنشاء.", "drawer_save_file": "هناك المزيد من تنسيقات الملفات قيد العمل.", "drawer_save_api": "ميزة استعلام API قيد الإنشاء.", diff --git a/packages/pxweb2/public/locales/en/translation.json b/packages/pxweb2/public/locales/en/translation.json index 48b3f6ec0..4f529227a 100644 --- a/packages/pxweb2/public/locales/en/translation.json +++ b/packages/pxweb2/public/locales/en/translation.json @@ -46,7 +46,7 @@ "error": "Error:" }, "status_messages": { - "welcome": "Welcome to the new PxWeb 2.0! We're still improving to help you find and use the numbers you need 📊✨", + "welcome": "Welcome to the new PxWeb 2 - v2.0.0! We're still improving to help you find and use the numbers you need 📊✨", "drawer_view": "Graph display is under construction.", "drawer_save_file": "More file formats are in the works.", "drawer_save_api": "Feature for API query is under construction.", @@ -317,7 +317,7 @@ }, "footer": { "description": "On this site you can follow as Statistics Sweden (SCB) and Statistics Norway (SSB) are building a new and more user-friendly interface for PxWeb.", - "descriptionLink": "Read more about the project on Github", + "descriptionLink": "Read more about the project", "contact": "Contact", "projectLeader": "Project leader", "scrumMaster": "Scrum master", diff --git a/packages/pxweb2/public/locales/no/translation.json b/packages/pxweb2/public/locales/no/translation.json index 67047e329..489fce5f3 100644 --- a/packages/pxweb2/public/locales/no/translation.json +++ b/packages/pxweb2/public/locales/no/translation.json @@ -46,7 +46,7 @@ "error": "Feil:" }, "status_messages": { - "welcome": "Velkommen til nye PxWeb 2.0! Vi jobber fortsatt med å gjøre det enklere for deg å finne og bruke tallene du trenger 📊✨", + "welcome": "Velkommen til nye PxWeb 2 - v2.0.0! Vi jobber fortsatt med å gjøre det enklere for deg å finne og bruke tallene du trenger 📊✨", "drawer_view": "Visning for graf er under arbeid.", "drawer_save_file": "Flere filformat er under arbeid.", "drawer_save_api": "Funksjon for API-spørring er under arbeid.", diff --git a/packages/pxweb2/public/locales/sv/translation.json b/packages/pxweb2/public/locales/sv/translation.json index a45c66827..b5a8a75ca 100644 --- a/packages/pxweb2/public/locales/sv/translation.json +++ b/packages/pxweb2/public/locales/sv/translation.json @@ -46,7 +46,7 @@ "error": "Fel:" }, "status_messages": { - "welcome": "Välkommen till nya PxWeb! Vi fortsätter att jobba med att göra det enklare för dig att hitta och använda siffrorna du behöver 📊✨", + "welcome": "Välkommen till nya PxWeb 2 - v2.0.0! Vi fortsätter att jobba med att göra det enklare för dig att hitta och använda siffrorna du behöver 📊✨", "drawer_view": "Visning av diagram är under arbete.", "drawer_save_file": "Fler filformat är under arbete.", "drawer_save_api": "Funktionen för API-uttag är under arbete.", @@ -317,7 +317,7 @@ }, "footer": { "description": "På den här sidan kan du följa när Statistikmyndigheten SCB och Statistisk centralbyrå (SSB) tar fram ett nytt gränssnitt för PxWeb.", - "descriptionLink": "Läs mer om projektet på Github", + "descriptionLink": "Läs mer om projektet", "contact": "Kontakt", "projectLeader": "Projektledare", "scrumMaster": "Scrummaster",