Skip to content

Commit

Permalink
fix(i18): correctly load all translations (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jun 4, 2020
1 parent 06612e2 commit 2a47993
Show file tree
Hide file tree
Showing 22 changed files with 7,075 additions and 8,932 deletions.
1 change: 1 addition & 0 deletions .env
@@ -0,0 +1 @@
SKIP_PREFLIGHT_CHECK=true
15,663 changes: 6,826 additions & 8,837 deletions package-lock.json

Large diffs are not rendered by default.

43 changes: 22 additions & 21 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "ipld-explorer-components",
"version": "1.5.1",
"version": "1.6.0",
"description": "React components for https://explore.ipld.io",
"repository": "ipfs-shipyard/ipld-explorer-components",
"license": "MIT",
Expand Down Expand Up @@ -64,17 +64,17 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.15.0",
"eslint-plugin-standard": "^4.0.1",
"i18next": "^17.0.17",
"i18next-browser-languagedetector": "^3.0.3",
"i18next-icu": "^1.1.2",
"i18next-xhr-backend": "^3.2.0",
"i18next": "^19.1.0",
"i18next-browser-languagedetector": "^4.0.1",
"i18next-icu": "^1.3.1",
"i18next-http-backend": "^1.0.15",
"ipfs-css": "^0.13.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^5.2.1",
"react-i18next": "^11.2.2",
"react-i18next": "^11.2.7",
"react-loadable": "^5.5.0",
"react-scripts": "^3.1.2",
"react-scripts": "^3.4.1",
"react-virtualized": "^9.20.1",
"redux-bundler": "^26.0.0",
"redux-bundler-react": "^1.2.0",
Expand All @@ -83,30 +83,31 @@
"webpack": "^4.41.0"
},
"peerDependencies": {
"i18next": "^17.0.17",
"i18next-browser-languagedetector": "^3.0.3",
"i18next-icu": "^1.1.2",
"i18next-xhr-backend": "^3.2.0",
"i18next": "^19.1.0",
"i18next-browser-languagedetector": "^4.0.1",
"i18next-icu": "^1.3.1",
"i18next-http-backend": "^1.0.15",
"ipfs-css": "^0.13.1",
"prop-types": "^15.7.2",
"react": "^16.10.1",
"react-dom": "^16.10.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^5.2.1",
"react-i18next": "^11.2.2",
"react-i18next": "^11.2.7",
"react-loadable": "^5.5.0",
"react-virtualized": "^9.21.1",
"redux-bundler": "^26.0.0",
"redux-bundler-react": "^1.2.0",
"tachyons": "^4.11.1"
},
"engines": {
"node": ">=8",
"npm": ">=5"
"node": ">=10",
"npm": ">=6"
},
"browsers": [
">0.25%",
"not ie 11",
"not op_mini all"
">1%",
"last 2 versions",
"Firefox ESR",
"not ie < 11"
],
"standard": {
"parser": "babel-eslint"
Expand Down
65 changes: 65 additions & 0 deletions public/locales/ca/explore.json
@@ -0,0 +1,65 @@
{
"appName": "Explorador d'IPLD",
"tabName": "Explora",
"homeLink": "Inici",
"UpdateAvailable": {
"paragraph1": "A new version of IPLD Explorer is available; <1>please reload</1>."
},
"StartExploringPage": {
"title": "Explora - IPLD",
"header": "Explora el bosc de Merkle",
"leadParagraph": "Enganxa un CID al quadre de text per trobar el node IPLD al que es refereix, o tria un conjunt de dades acceptat."
},
"AboutIpld": {
"paragraph1":"<0>IPLD is <1>the data model of the content-addressable web.</1> It allows us to treat all hash-linked data structures as subsets of a unified information space, unifying all data models that link data with hashes as instances of IPLD.</0>",
"paragraph2": "<0>Content addressing through hashes has become a widely-used means of connecting data in distributed systems, from the blockchains that run your favorite cryptocurrencies, to the commits that back your code, to the web’s content at large. Yet, whilst all of these tools rely on some common primitives, their specific underlying data structures are not interoperable.</0>",
"paragraph3": "<0>Enter IPLD: a single namespace for all hash-inspired protocols. Through IPLD, links can be traversed across protocols, allowing you to explore data regardless of the underlying protocol.</0>"
},
"ExplorePage": {
"title": "Explorant - IPLD"
},
"IpldExploreForm": {
"explore": "Explora"
},
"CidInfo": {
"header": "Info del CID",
"hashDigest": "Hash digest"
},
"ObjectInfo": {
"gatewayLink": "Mira-ho al getaway d'IPFS"
},
"base": "base",
"version": "versió",
"codec": "codec",
"multihash": "multihash",
"tour": {
"projects": {
"title": "Conjunt de dades acceptats",
"paragraph1": "Explore the featured datasets or paste a CID to see how that data is structured and linked across protocols."
},
"explorer": {
"step1": {
"title": "Explorador d'IPLD",
"paragraph1": "Your journey with IPLD Explorer starts here. Click \"Next\" to learn more."
},
"step2": {
"title": "Ruta de navegació",
"paragraph1": "The path that leads to this node.",
"paragraph2": "Click on it to traverse to its parents or children."
},
"step3": {
"title": "Info del node",
"paragraph1": "Aquí tens informació detallada sobre el node i el pots obrir al getaway d'IPFS.",
"paragraph2": "Si el node és un directori pots veure i navegar en els seus fills."
},
"step4": {
"title": "Info del CID",
"paragraph1": "El CID descomposat per tal que puguins aprendre el seu significat."
},
"step5": {
"title": "Representació visual",
"paragraph1": "Una representació visual del node i els seus fills."
}
}
}
}
11 changes: 8 additions & 3 deletions public/locales/cs/explore.json
@@ -1,5 +1,10 @@
{
"appName": "IPLD Průzkumník",
"tabName": "Prozkoumat",
"homeLink": "Hlavní stránka",
"UpdateAvailable": {
"paragraph1": "A new version of IPLD Explorer is available; <1>please reload</1>."
},
"StartExploringPage": {
"title": "Průzkumník - IPLD",
"header": "Prozkoumejte Merkelův les",
Expand All @@ -17,7 +22,7 @@
"explore": "Prozkoumat"
},
"CidInfo": {
"header": "Informace o CID",
"header": "CID info",
"hashDigest": "Hash digest"
},
"ObjectInfo": {
Expand All @@ -35,7 +40,7 @@
"explorer": {
"step1": {
"title": "IPLD Průzkumník",
"paragraph1": "Vaše cesta průzkumníka začíná zde. Naučte se více."
"paragraph1": "Your journey with IPLD Explorer starts here. Click \"Next\" to learn more."
},
"step2": {
"title": "Cesta",
Expand All @@ -45,7 +50,7 @@
"step3": {
"title": "Informace o uzlu",
"paragraph1": "Zde máte podrobné informace o uzlu a můžete je otevřít v bráně IPFS.",
"paragraph2": "Pokud je uzel adresář, můžete vidět jeho děti a přejděte k nim."
"paragraph2": "Pokud je uzel adresářem, můžete vidět jeho děti a přejít na ně."
},
"step4": {
"title": "CID info",
Expand Down
9 changes: 7 additions & 2 deletions public/locales/da/explore.json
@@ -1,5 +1,10 @@
{
"appName": "IPLD Udforsker",
"tabName": "Udforsk",
"homeLink": "Hjem",
"UpdateAvailable": {
"paragraph1": "A new version of IPLD Explorer is available; <1>please reload</1>."
},
"StartExploringPage": {
"title": "Udforsk - IPLD",
"header": "Udforsk Merkle-skoven",
Expand All @@ -17,7 +22,7 @@
"explore": "Udforsk"
},
"CidInfo": {
"header": "CID-info",
"header": "CID info",
"hashDigest": "Hash sum"
},
"ObjectInfo": {
Expand All @@ -35,7 +40,7 @@
"explorer": {
"step1": {
"title": "IPLD Udforsker",
"paragraph1": "Your journey of explorer starts here. Continue to learn more."
"paragraph1": "Your journey with IPLD Explorer starts here. Click \"Next\" to learn more."
},
"step2": {
"title": "Sti",
Expand Down
9 changes: 7 additions & 2 deletions public/locales/de/explore.json
@@ -1,5 +1,10 @@
{
"appName": "IPLD-Explorer",
"tabName": "Erkunden",
"homeLink": "Home",
"UpdateAvailable": {
"paragraph1": "A new version of IPLD Explorer is available; <1>please reload</1>."
},
"StartExploringPage": {
"title": "Erkunden – IPLD",
"header": "Merkle-Wald erkunden",
Expand All @@ -17,7 +22,7 @@
"explore": "Erkunden"
},
"CidInfo": {
"header": "CID-Info",
"header": "CID Informationen",
"hashDigest": "Hash-Extrakt"
},
"ObjectInfo": {
Expand All @@ -35,7 +40,7 @@
"explorer": {
"step1": {
"title": "IPLD-Explorer",
"paragraph1": "Deine Reise im Explorer startet hier. Lerne mehr."
"paragraph1": "Your journey with IPLD Explorer starts here. Click \"Next\" to learn more."
},
"step2": {
"title": "Breadcrumbs",
Expand Down
9 changes: 7 additions & 2 deletions public/locales/en/explore.json
@@ -1,5 +1,10 @@
{
"appName": "IPLD Explorer",
"tabName": "Explore",
"homeLink": "Home",
"UpdateAvailable": {
"paragraph1": "A new version of IPLD Explorer is available; <1>please reload</1>."
},
"StartExploringPage": {
"title": "Explore - IPLD",
"header": "Explore the Merkle Forest",
Expand All @@ -17,7 +22,7 @@
"explore": "Explore"
},
"CidInfo": {
"header": "CID Info",
"header": "CID info",
"hashDigest": "Hash digest"
},
"ObjectInfo": {
Expand All @@ -35,7 +40,7 @@
"explorer": {
"step1": {
"title": "IPLD Explorer",
"paragraph1": "Your journey of explorer starts here. Continue to learn more."
"paragraph1": "Your journey with IPLD Explorer starts here. Click \"Next\" to learn more."
},
"step2": {
"title": "Breadcrumbs",
Expand Down
39 changes: 22 additions & 17 deletions public/locales/es/explore.json
@@ -1,14 +1,19 @@
{
"appName": "Explorador IPLD",
"tabName": "Explorar",
"homeLink": "Inicio",
"UpdateAvailable": {
"paragraph1": "A new version of IPLD Explorer is available; <1>please reload</1>."
},
"StartExploringPage": {
"title": "Explorar - IPLD",
"header": "Explorar el Merkle Forest",
"leadParagraph": "Pegue un CID en el cuadro para obtener el nodo de IPLD al que se dirige, o elija un conjunto de datos destacado."
},
"AboutIpld": {
"paragraph1":"<0>IPLD is <1>the data model of the content-addressable web.</1> It allows us to treat all hash-linked data structures as subsets of a unified information space, unifying all data models that link data with hashes as instances of IPLD.</0>",
"paragraph2": "<0>Content addressing through hashes has become a widely-used means of connecting data in distributed systems, from the blockchains that run your favorite cryptocurrencies, to the commits that back your code, to the web’s content at large. Yet, whilst all of these tools rely on some common primitives, their specific underlying data structures are not interoperable.</0>",
"paragraph3": "<0>Enter IPLD: a single namespace for all hash-inspired protocols. Through IPLD, links can be traversed across protocols, allowing you to explore data regardless of the underlying protocol.</0>"
"paragraph1":"<0>IPLD es <1>el modelo de datos de la web direccionable por contenido.</1> Nos permite tratar todas las estructuras de datos vinculados con hash como subconjuntos de un espacio de información unificado, unificando todos los modelos de datos que vinculan datos con hashes como instancias de IPLD.</0>",
"paragraph2": "<0>El direccionamiento de contenido a través de hashes se ha convertido en un medio ampliamente utilizado para conectar datos en sistemas distribuidos, desde las cadenas de bloques que ejecutan sus criptomonedas favoritas, hasta las confirmaciones que respaldan su código y el contenido de la web en general. Sin embargo, si bien todas estas herramientas se basan en algunas primitivas comunes, sus estructuras de datos subyacentes específicas no son interoperables.</0>",
"paragraph3": "<0>Ingresar IPLD: un espacio de nombres único para todos los protocolos inspirados en hash. A través de IPLD, los enlaces pueden atravesarse a través de protocolos, lo que le permite explorar datos independientemente del protocolo subyacente.</0>"
},
"ExplorePage": {
"title": "Explorando - IPLD"
Expand All @@ -17,7 +22,7 @@
"explore": "Explorar"
},
"CidInfo": {
"header": "CID Info",
"header": "Información del CID",
"hashDigest": "Hash digest"
},
"ObjectInfo": {
Expand All @@ -29,31 +34,31 @@
"multihash": "multihash",
"tour": {
"projects": {
"title": "Featured datasets",
"paragraph1": "Explore the featured datasets or paste a CID to see how that data is structured and linked across protocols."
"title": "Conjuntos de datos destacados",
"paragraph1": "Explore los conjuntos de datos destacados o pegue un CID para ver cómo esos datos están estructurados y vinculados entre protocolos."
},
"explorer": {
"step1": {
"title": "Explorador IPLD",
"paragraph1": "Your journey of explorer starts here. Continue to learn more."
"paragraph1": "Your journey with IPLD Explorer starts here. Click \"Next\" to learn more."
},
"step2": {
"title": "Breadcrumbs",
"paragraph1": "The path that leads to this node.",
"paragraph2": "Click on it to traverse to its parents or children."
"title": "Migas de Pan",
"paragraph1": "La ruta que conduce a este nodo.",
"paragraph2": "Haga clic en él para recorrer a sus padres o hijos."
},
"step3": {
"title": "Node info",
"paragraph1": "Here you have detailed info about the node and you can open it in the IPFS gateway.",
"paragraph2": "If the node if a directory you can see itss children and navigate to them."
"title": "Información del nodo",
"paragraph1": "Aquí tiene información detallada sobre el nodo y puede abrirlo en el portal IPFS.",
"paragraph2": "Si el nodo es un directorio, puede ver sus elementos secundarios y navegar hasta ellos."
},
"step4": {
"title": "CID info",
"paragraph1": "The decomposed CID so you can learn its meaning."
"title": "Información del CID",
"paragraph1": "El CID es descompuesto para que pueda aprender su significado."
},
"step5": {
"title": "Visual representation",
"paragraph1": "A visual representation of the node and its children."
"title": "Representación visual",
"paragraph1": "Una representación visual del nodo y sus hijos."
}
}
}
Expand Down

0 comments on commit 2a47993

Please sign in to comment.