The Node.js® Website

fix: pageNumber and dynamic await

+2 -2
+1 -1
i18n/locales/fr.json
··· 161 "next": "Suivant", 162 "nextAriaLabel": "Page suivante", 163 "defaultLabel": "Pagination", 164 - "pageLabel": "Aller à la page {pagenumber}" 165 }, 166 "sidebar": { 167 "title": "Changer de page"
··· 161 "next": "Suivant", 162 "nextAriaLabel": "Page suivante", 163 "defaultLabel": "Pagination", 164 + "pageLabel": "Aller à la page {pageNumber}" 165 }, 166 "sidebar": { 167 "title": "Changer de page"
+1 -1
next.dynamic.mjs
··· 136 137 // We then attempt to retrieve the source version of the file as there is no localised version 138 // of the file and we set it on the cache to prevent future checks of the same locale for this file 139 - const { source: fileContent } = _getMarkdownFile( 140 defaultLocale.code, 141 pathname 142 );
··· 136 137 // We then attempt to retrieve the source version of the file as there is no localised version 138 // of the file and we set it on the cache to prevent future checks of the same locale for this file 139 + const { source: fileContent } = await _getMarkdownFile( 140 defaultLocale.code, 141 pathname 142 );