Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Feb 28, 2024
2 parents 1376163 + 213b0fc commit b27076b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function useGetData(beforeLastObservationSnap, intl) {
useEffect(() => {
async function getData() {
try {
const dataGraph = await getDataByField();
const dataGraph = await getDataByField(beforeLastObservationSnap);
setData(dataGraph);
} catch (e) {
// eslint-disable-next-line no-console
Expand All @@ -69,7 +69,7 @@ function useGetData(beforeLastObservationSnap, intl) {
}
}
getData();
}, [getDataByField]);
}, [beforeLastObservationSnap, getDataByField]);

return { data, isError, isLoading };
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function Header() {
active={selectedLang === 'en'}
onClick={() => setSelectedLang('en')}
>
Anglais
English
</ToolTranslateItem>
</ToolTranslate>
</ToolItem>
Expand Down
6 changes: 3 additions & 3 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -700,11 +700,11 @@
"app.national-publi.general.dynamique-ouverture.chart-evolution-proportion.comments": "This graph presents, for each observation date, the open access rate of scientific publications {commentsName} by publication date. Each curve represents the open access rates observed for an observation date, and the open access rates are expressed as a function of the publication year. For each publication year, it is observed that the open rate increases with the date of observation. This is due to the process of releasing the most recent publications through the expiry of moving walls or deposits on open archives after an embargo period. <linebreak></linebreak>As a result, the open access rate of publications released in {publicationDate4} has increased from {oaYMinusOne4}% in {observationDate4} to {oaYMinus4}% in {observationDate}. Where the open access rate is higher in the latest publication year than in previous years, this is an indication of a shortening of the timeframe for open access provision.",
"app.health-publi.general.dynamique-ouverture.chart-evolution-proportion.comments": "This graph presents, for each observation date, the open access rate of scientific publications {commentsName} in health, by publication date. Each curve represents the open access rates observed for an observation date, and the open access rates are expressed as a function of the publication year. For each publication year, it is observed that the open rate increases with the date of observation. This is due to the process of releasing the most recent publications through the expiry of moving walls or deposits on open archives after an embargo period. <linebreak></linebreak>As a result, the open access rate of publications released in {publicationDate4} has increased from {oaYMinusOne4}% in {observationDate4} to {oaYMinus4}% in {observationDate}. Where the open access rate is higher in the latest publication year than in previous years, this is an indication of a shortening of the timeframe for open access provision.",
"app.national-publi.general.dynamique-ouverture.chart-taux-ouverture.title": "Open access rate of scientific publications {commentsName} published during the previous year by observation year",
"app.health-publi.general.dynamique-ouverture.chart-taux-ouverture.title": "Open access rate of scientific publications {commentsName} in health published during the previous year by observation year",
"app.national-publi.general.dynamique-ouverture.chart-taux-ouverture.tooltip": "<b>Open access rates observed in {point.name} ({point.bsoDomain})</b><br><b>{point.y:.2f}%</b> of the publications ((commentsName)) published in {point.publicationDate}<br>are in open access {point.ratio}",
"app.national-publi.general.dynamique-ouverture.chart-taux-ouverture.comments": "This graph presents, for each observation year since {fistObservationYear}, the open access rate of research publications {commentsName} published during the previous year.<linebreak></linebreak>Thus, {value1}% of scientific publications {commentsName} published in {year1} were open access in {year2} (observation date). In {year2}, this rate is {value2}%. The access rate has thus changed by {differenceValue} point(s) in one year.",
"app.health-publi.general.dynamique-ouverture.chart-taux-ouverture.title": "Open access rate of scientific publications {commentsName} in health published during the previous year by observation year",
"app.health-publi.general.dynamique-ouverture.chart-taux-ouverture.tooltip": "<b>Open access rates observed in {point.name}</b><br><b>{point.y:.2f}%</b> publications ((commentsName)) published in {point.publicationDate}<br>are open access {point.ratio}",
"app.national-publi.general.dynamique-ouverture.chart-taux-ouverture.comments": "This graph presents, for each observation year since {fistObservationYear}, the open access rate of scientific publications {commentsName} published during the previous year.<linebreak></linebreak>Thus, {value1}% of scientific publications {commentsName} published in {year1} were open access in {year2} (observation date). In {year2}, this rate is {value2}%. The access rate has thus changed by {differenceValue} point(s) in one year.",
"app.health-publi.general.dynamique-ouverture.chart-taux-ouverture.comments": "This graph presents, for each observation year since {fistObservationYear}, the open access rate of scientific publications {commentsName} in health published during the previous year.<linebreak></linebreak>Thus, {healthValue1}% of scientific publications {commentsName} in health published in {year1} were open access in {year2} (observation date). In {year2}, this rate is {healthValue2}%. The access rate has thus changed by {healthDifferenceValue} point(s) in one year.",
"app.health-publi.general.dynamique-ouverture.chart-taux-ouverture.comments": "This graph presents, for each observation year since {fistObservationYear}, the open access rate of research publications {commentsName} in health published during the previous year.<linebreak></linebreak>Thus, {healthValue1}% of scientific publications {commentsName} in health published in {year1} were open access in {year2} (observation date). In {year2}, this rate is {healthValue2}%. The access rate has thus changed by {healthDifferenceValue} point(s) in one year.",
"app.national-publi.general.genres-ouverture.title": "What are the most open types of publication?",
"app.national-publi.general.genres-ouverture.description": "Scientific publications take a variety of forms: articles are the most common, but there are also books (monographs written by a single author or collective works bringing together various contributions), conference proceedings, <glossary0>app.glossary.preprints</glossary0>, i.e. articles proposed for discussion before submission to a scientific journal, etc. The preferred types of publication vary according to disciplines and disciplinary communities. Each type of publication has its own dissemination logic, which explains why open access rates vary from one to another.",
"app.national-publi.general.genres-ouverture.chart-repartition-genres.title": "Open access rate by type of publications {commentsName} publications from {publicationYear}",
Expand Down

0 comments on commit b27076b

Please sign in to comment.