-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add light theme, start adding translations
- Loading branch information
1 parent
d6da8a9
commit 1346d8d
Showing
19 changed files
with
428 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:12.18.3-alpine3.12 | ||
FROM node:14.15.4-alpine3.12 | ||
|
||
COPY . /app | ||
WORKDIR /app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
const NextI18Next = require('next-i18next').default | ||
const { localeSubpaths } = require('next/config').default().publicRuntimeConfig | ||
const path = require('path') | ||
const { locales, defaultLocale } = require("./locales"); | ||
|
||
module.exports = new NextI18Next({ | ||
otherLanguages: ['en'], | ||
localeSubpaths, | ||
localePath: path.resolve('./public/static/locales') | ||
}) | ||
module.exports = { | ||
locales: locales, | ||
defaultLocale: defaultLocale, | ||
// pages: { | ||
// "*": ["common"], | ||
// "/home": ["home"], | ||
// "/node": ["node"] | ||
// }, | ||
// loader: false, | ||
// loadLocaleFrom: (locale, namespace) => | ||
// import(`./locales/${locale}/${namespace}`).then((m) => m.default), | ||
} | ||
|
||
// const NextI18Next = require('next-i18next').default | ||
// // const { localeSubpaths } = require('next/config').default().publicRuntimeConfig | ||
// const path = require('path') | ||
|
||
// module.exports = new NextI18Next({ | ||
// otherLanguages: locales, | ||
// defaultLanguage: defaultLocale, | ||
// // localeSubpaths, | ||
// localePath: path.resolve('./public/static/locales') | ||
// }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module.exports = { | ||
|
||
"header.pages.nodes.title": "Nodes", | ||
"header.pages.notifier.title": "Notifier", | ||
|
||
"stats.total.nodes.title": "Total nodes", | ||
"stats.total.providers.title": "Total providers", | ||
"stats.total.delegations.title": "Total delegations", | ||
"stats.total.blocks.title": "Total blocks", | ||
"stats.total.transactions.title": "Total transactions", | ||
"stats.total.participation.title": "Total participation", | ||
|
||
"page.nodes.title": "Nodes", | ||
"page.nodes.header": "Nodes", | ||
|
||
"page.nodes.table.header.nodeid.title": "Node id", | ||
"page.nodes.table.header.delegators.title": "Delegators", | ||
"page.nodes.table.header.totalstake.title": "Total stake", | ||
"page.nodes.table.header.freespace.title": "Free space", | ||
"page.nodes.table.header.startedon.title": "Started on", | ||
"page.nodes.table.header.timeleft.title": "Time left", | ||
"page.nodes.table.header.fee.title": "Fee", | ||
"page.nodes.table.header.maxyield.title": "Max yield", | ||
"page.nodes.table.header.country.title": "Country", | ||
|
||
"pagination.show": "Show", | ||
"pagination.entries": "entries", | ||
"pagination.jump.to.page": "Jump to page", | ||
|
||
"filter.search.placeolder": "Search Address / TX / Asset / Blockchain / Subnet", | ||
|
||
"space.available": "Available space", | ||
|
||
"footer.join.us.telegram": "Join us on Telegram" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import en from './en' | ||
import nl from './nl' | ||
import ja from './ja' | ||
import ko from './ko' | ||
import zh from './zh' | ||
|
||
export default { | ||
en: en, | ||
nl: nl, | ||
ja: ja, | ||
ko: ko, | ||
zh: zh, | ||
} |
Oops, something went wrong.