diff --git a/next.config.js b/next.config.js index c919165f..f7b887fc 100755 --- a/next.config.js +++ b/next.config.js @@ -85,7 +85,7 @@ module.exports = withPlugins( experimental: { modern: true, }, - exportTrailingSlash: true, + exportTrailingSlash: false, /** * Generate language specific pages under /[locale]/... paths e.g: * /de/ leads to the the German landing page diff --git a/source/features/address/config.ts b/source/features/address/config.ts index 1d7cc58d..24423114 100644 --- a/source/features/address/config.ts +++ b/source/features/address/config.ts @@ -1 +1 @@ -export const ADDRESS_SEARCH_RESULT_PATH = '/address/'; +export const ADDRESS_SEARCH_RESULT_PATH = '/address'; diff --git a/source/features/blocks/config.ts b/source/features/blocks/config.ts index c5d0bc3c..ffb2cff5 100644 --- a/source/features/blocks/config.ts +++ b/source/features/blocks/config.ts @@ -2,4 +2,4 @@ export const BLOCK_BROWSE_PATH = '/browse-blocks'; export const BLOCKS_PER_PAGE_DEFAULT = 20; export const BLOCKS_PER_PAGE_MAXIMUM = 50; export const BLOCKS_PER_PAGE_MINIMUM = 5; -export const BLOCK_SEARCH_RESULT_PATH = '/block/'; +export const BLOCK_SEARCH_RESULT_PATH = '/block'; diff --git a/source/features/epochs/config.ts b/source/features/epochs/config.ts index 5fd0a09c..3f764cde 100644 --- a/source/features/epochs/config.ts +++ b/source/features/epochs/config.ts @@ -1,5 +1,5 @@ -export const EPOCH_SEARCH_RESULT_PATH = '/epoch/'; -export const EPOCH_BROWSE_PATH = '/browse-epochs/'; +export const EPOCH_SEARCH_RESULT_PATH = '/epoch'; +export const EPOCH_BROWSE_PATH = '/browse-epochs'; export const EPOCH_BLOCKS_PER_PAGE = 10; export const EPOCHS_PER_PAGE_DEFAULT = 10; export const EPOCHS_PER_PAGE_MINIMUM = 5; diff --git a/source/features/errors/PageNotFoundError.tsx b/source/features/errors/PageNotFoundError.tsx index 2c231c3c..7510d7e7 100644 --- a/source/features/errors/PageNotFoundError.tsx +++ b/source/features/errors/PageNotFoundError.tsx @@ -35,7 +35,7 @@ export default (props: IErrorProps) => {

{notFoundText}

- + {translate('404:error.explorerTitle')} diff --git a/source/features/i18n/translations/de.json b/source/features/i18n/translations/de.json index 114389a3..b128e8f0 100644 --- a/source/features/i18n/translations/de.json +++ b/source/features/i18n/translations/de.json @@ -73,7 +73,7 @@ "cardanoFoundationYoutube": "Cardano Foundation Youtube", "cardanoReddit": "Cardano Reddit", "cardanoText": "Cardano ist NUR eine Softwareplattform und führt keine unabhängige Prüfung oder inhaltliche Überprüfung von Blockchain, digitaler Währung, Kryptowährung oder zugehöriger Technologie durch. Die Nutzung dieser Website und Software erfolgt auf eigenes Risiko. Diese Website wird \"wie besehen\" und nur als Referenz bereitgestellt.", - "cardanoSL": "Cardano-SL Quellcode", + "cardanoSource": "Cardano Quellcode", "documentation": "Dokumentation", "iohk": "Unterstützt von IOHK", "joinCommunity": "Werde Teil der Community", diff --git a/source/features/i18n/translations/en.json b/source/features/i18n/translations/en.json index 1c439570..c74a9ce2 100644 --- a/source/features/i18n/translations/en.json +++ b/source/features/i18n/translations/en.json @@ -73,7 +73,7 @@ "cardanoFoundationYoutube": "Cardano Foundation Youtube", "cardanoReddit": "Cardano Reddit", "cardanoText": "Cardano is a software platform ONLY and does not conduct any independent diligence on or substantive review of any blockchain, digital currency, cryptocurrency or associated technology. Your use of this website and software is entirely at your own risk, and this website is provided on an \"as is\" basis and for reference only.", - "cardanoSL": "Cardano SL Source", + "cardanoSource": "Cardano Source", "documentation": "Documentation", "iohk": "IOHK Supported Project", "joinCommunity": "Join the community", diff --git a/source/features/i18n/translations/ja.json b/source/features/i18n/translations/ja.json index 1b60c245..44fd0711 100644 --- a/source/features/i18n/translations/ja.json +++ b/source/features/i18n/translations/ja.json @@ -73,7 +73,7 @@ "cardanoFoundationYoutube": "Cardano Foundation Youtube", "cardanoReddit": "Cardano Reddit", "cardanoText": "Cardanoはソフトウェアプラットフォームのみを提供します。いかなるブロックチェーン、デジタル通貨、暗号通貨または関連技術についても、独立したデューディリジェンスや実質的なレビューを行うことはありません。本ウェブサイトおよびソフトウェアの使用は完全にユーザー自身の責任で行われるものとし、本ウェブサイトは現状有り姿ベースで参照の便宜を目的としてのみ提供されます。", - "cardanoSL": "Cardano SLソース", + "cardanoSource": "Cardano ソース", "documentation": "ドキュメンテーション", "iohk": "IOHK サポートされているプロジェクト", "joinCommunity": "コミュニティに参加する", diff --git a/source/features/search/config.ts b/source/features/search/config.ts index d3fb624a..50301b10 100644 --- a/source/features/search/config.ts +++ b/source/features/search/config.ts @@ -1 +1 @@ -export const NO_SEARCH_RESULTS_PATH = '/no-search-results/'; +export const NO_SEARCH_RESULTS_PATH = '/no-search-results'; diff --git a/source/features/stake-pools/components/UnmoderatedDataWarning.tsx b/source/features/stake-pools/components/UnmoderatedDataWarning.tsx index eea131be..7d088ee0 100644 --- a/source/features/stake-pools/components/UnmoderatedDataWarning.tsx +++ b/source/features/stake-pools/components/UnmoderatedDataWarning.tsx @@ -19,7 +19,7 @@ export default ({ onAcceptUnmoderatedData }: IUnmoderatedDataWarning) => {

{translate('stakePools.unmoderatedContent')}

- + {translate('stakePools.unmoderatedLeave')}