Skip to content

Commit

Permalink
[MIM-1971] Fixed texts in om statistikken (#2797)
Browse files Browse the repository at this point in the history
* updated phrases for "om statistikken"

* lint fix formatting

* Fixed formatting
  • Loading branch information
annesiri authored and Carl-OW committed Jul 9, 2024
1 parent a71eaa6 commit 9eff235
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ export function configureAppStore(toggleDebugging) {
statReg: statRegReducer,
dataSources: dataSourcesReducer,
statistics: statisticsReducer,
jobs: jobsReducer
jobs: jobsReducer,
}

const store = configureStore({
reducer: rootReducer,
middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(middlewares),
devTools: process.env.NODE_ENV !== 'production',
enhancers: (defaultEnhancers) => [...defaultEnhancers(), ...enhancers]
enhancers: (defaultEnhancers) => [...defaultEnhancers(), ...enhancers],
})

return store
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/site/i18n/phrases.properties
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ updated = Oppdatert
nextUpdate = Neste oppdatering
notAvailable = Ikke tilgjengelig
notYetDetermined = Foreløpig ikke fastsatt
lastUpdated = Sist oppdatert
lastUpdated = Informasjonen under «Om statistikken» ble sist oppdatert

articleAnalysisPublications = Artikler, analyser og publikasjoner

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/site/i18n/phrases_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ updated = Updated
nextUpdate = Next update
notAvailable = Not available
notYetDetermined = Not yet determined
lastUpdated = Last updated
lastUpdated = The information under «About the statistics» was last updated

articleAnalysisPublications = Articles, analysis, and publications

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/site/i18n/phrases_nn.properties
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ updated = Oppdatert
nextUpdate = Neste oppdatering
notAvailable = Ikkje tilgjengeleg
notYetDetermined = Foreløpig ikkje fastsett
lastUpdated = Sist oppdatert
lastUpdated = Informasjonen under «Om statistikken» blei sist oppdatert

articleAnalysisPublications = Artiklar, analysar og publikasjonar

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ const OmStatistikken = (props: AboutTheStatisticsProps) => {
{renderIngress()}
{lastUpdated && (
<p>
<span className='fw-bold'>{lastUpdatedPhrase}:</span>
{` ${lastUpdated}`}
<i>{`${lastUpdatedPhrase} ${lastUpdated}.`}</i>
</p>
)}
<div className='om-statistikken-accordion col-lg-7'>
Expand Down

0 comments on commit 9eff235

Please sign in to comment.