Skip to content

Commit

Permalink
feat(webapp): add files to korean and chinese translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Nov 21, 2023
1 parent 7d1c111 commit 53415e0
Show file tree
Hide file tree
Showing 29 changed files with 1,652 additions and 6 deletions.
12 changes: 6 additions & 6 deletions webapp/src/language/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { deepMerge } from '../utils/deep-merge'

import en from './en'
import es from './es'
//import ko from './ko'
//import zh from './zh'
import ko from './ko'
import zh from './zh'

const languajes = {
...es,
...en,
// ...ko,
// ...zh,
...ko,
...zh,
}

const getLanguaje = (languaje) => {
Expand All @@ -27,6 +27,6 @@ const getLanguaje = (languaje) => {
export default {
en: getLanguaje('en'),
es: getLanguaje('es'),
// ko: getLanguaje('ko'),
// zh: getLanguaje('zh'),
ko: getLanguaje('ko'),
zh: getLanguaje('zh'),
}
30 changes: 30 additions & 0 deletions webapp/src/language/ko/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import ko from './ko.json'
import koLacchain from './ko.lacchain.json'
import koTelosTestnet from './ko.telos-testnet.json'
import koLibreTestnet from './ko.libre-testnet.json'
import koLibre from './ko.libre.json'
import koTelos from './ko.telos.json'
import koJungle from './ko.jungle.json'
import koMainnet from './ko.mainnet.json'
import koXPRTestnet from './ko.xpr-testnet.json'
import koXPR from './ko.xpr.json'
import koWaxTestnet from './ko.wax-testnet.json'
import koWax from './ko.wax.json'
import koUltraTestnet from './ko.ultra-testnet.json'

export default {
ko,
'ko.lacchain': koLacchain,
'ko.telos': koTelos,
'ko.xpr': koXPR,
'ko.wax': koWax,
'ko.jungle': koJungle,
'ko.mainnet': koMainnet,
'ko.telos-testnet': koTelosTestnet,
'ko.libre-testnet': koLibreTestnet,
'ko.libre': koLibre,
'ko.xpr-testnet': koXPRTestnet,
'ko.wax-testnet': koWaxTestnet,
'ko.ultra-testnet': koUltraTestnet,
}

539 changes: 539 additions & 0 deletions webapp/src/language/ko/ko.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions webapp/src/language/ko/ko.jungle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"routes": {
"/evm>moreDescription": "Monitor EVM statistics, such as transaction amount history, gas price and total wallets created."
}
}
157 changes: 157 additions & 0 deletions webapp/src/language/ko/ko.lacchain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"routes": {
"/entities>sidebar": "Entities",
"/entities>title": "Entities - {{networkName}} + Antelope Network Dashboard",
"/entities>heading": "Entities",
"/entities>moreDescription": "A list of entities that are part the network. They can be partner or non-partner entities.",
"/lacchain/network>sidebar": "Network Topology",
"/lacchain/network>title": "Network Topology - {{networkName}} + Antelope Network Dashboard",
"/lacchain/network>heading": "Network Topology",
"/lacchain/network>moreDescription": "A visual representation of the network’s current nodes.",
"/management>sidebar": "Management",
"/management>title": "Management - {{networkName}} + Antelope Network Dashboard",
"/management>heading": "Management",
"/management>moreDescription": "Log in to manage your LACChain account.",
"/node-config>sidebar": "Node config",
"/node-config>title": "Node config - {{networkName}} + Antelope Network Dashboard",
"/node-config>heading": "Configure a new node",
"/ricardian-contract>sidebar": "Validator Agreement",
"/ricardian-contract>heading": "",
"/cpu-benchmark>title": "CPU Benchmarks - {{networkName}} + Antelope Network Dashboard",
"/block-producers>title": "Block Producers - {{networkName}} + Antelope Network Dashboard",
"/rewards-distribution>title": "Rewards Distribution - {{networkName}} + Antelope Network Dashboard",
"/nodes>title": "{{networkName}} Nodes Status Monitor",
"/nodes-distribution>title": "Geographic Distribution of Nodes - {{networkName}} + Antelope Network Dashboard",
"/accounts>title": "Accounts and Contracts - {{networkName}} + Antelope Network Dashboard",
"/bpjson>title": "BP JSON - {{networkName}} + Antelope Network Dashboard",
"/ricardian-contract>title": "BP Agreement - {{networkName}} + Antelope Network Dashboard",
"/block-distribution>title": "Block Production Distribution - {{networkName}} + Antelope Network Dashboard",
"/missed-blocks>title": "Missed Blocks - {{networkName}} + Antelope Network Dashboard",
"/endpoints>title": "API Endpoints - {{networkName}} + Antelope Network Dashboard",
"/endpoints-stats>title": "API Endpoints Stats- {{networkName}} + Antelope Network Dashboard",
"/about>title": "About - {{networkName}} + Antelope Network Dashboard",
"/help>title": "Help - {{networkName}} + Antelope Network Dashboard"
},
"common": {
"producerName": "Entity name",
"producers": "Entities",
"producer": "Entity",
"boot": "Boot",
"writer": "Writer",
"observer": "Observer",
"validator": "Validator",
"partner": "Partner",
"nonPartner": "Non-Partner"
},
"producerCardComponent": {
"entityType": "Entity type",
"entityType1": "Partner",
"entityType2": "Non-Partner",
"viewProfile": "View Entity Profile",
"BPonNetwork": "Entity on {{networkName}}"
},
"lacchainAddEntityActionEntityTypeFieldComponent": {
"entityType1": "Partner",
"entityType2": "Non-Partner"
},
"lacchainManagement": {
"loginWarning": "Please log in with your LACChain account to use this feature.",
"noneActionWarning": "There is no actions available for your account.",
"setentinfoTitle": "Set Entity Info",
"setentinfoTooltip": "Set on-chain information for your LACChain entity.",
"setnodeinfoTitle": "Set Node Info",
"setnodeinfoTooltip": "Set onchain information for a node you manage.",
"newaccountTitle": "New Account",
"newaccountTooltip": "Create a new account",
"addentityTitle": "Add Entity",
"addentityTooltip": "Register a new entity on the network.",
"addbootTitle": "Add Boot Node",
"addbootTooltip": "Register a new boot node on the network.",
"addobserverTitle": "Add Observer Node",
"addobserverTooltip": "Register a new observer node on the network.",
"setscheduleTitle": "Set Validator Schedule",
"setscheduleTooltip": "Set the group of blockproducing validator nodes.",
"addvalidatorTitle": "Add Validator Node",
"addvalidatorTooltip": "Register a new validator node on the network.",
"addwriterTitle": "Add Writer Node",
"addwriterTooltip": "Register a new writer node on the network.",
"setalimitsTitle": "Set Account Limits",
"setalimitsTooltip": "Set account CPU and NET resource limits.",
"netrmgroupTitle": "Remove Net Group",
"netrmgroupTooltip": "Remove a Group.",
"netsetgroupTitle": "Set Net Group",
"netsetgroupTooltip": "Set Net Group.",
"netaddgroupTitle": "Add Net Group",
"netaddgroupTooltip": "Add Net Group.",
"setramTitle": "Set RAM",
"setramTooltip": "Set RAM for an account.",
"setentxinfoTitle": "Set extended entity info",
"setentxinfoTooltip": "Set extended entity info.",
"setnodexinfoTitle": "Set extended node info",
"setnodexinfoTooltip": "Set extended node info.",
"rmnodeTitle": "Remove Node",
"rmnodeTooltip": "Allow remove a Validator Node from the network.",
"rmentityTitle": "Remove Entity",
"rmentityTooltip": "Allow remove an entity from the network.",
"entity": "Entity",
"organization_name": "Organization Name",
"organization_id": "Organization ID",
"technical_contact": "Technical Contact",
"business_contact": "Business Contact",
"email": "E-mail",
"website": "Website",
"code_of_conduct": "Code of Conduct",
"ownership_disclosure": "Ownership Disclosure",
"github_user": "GitHub user",
"chain_resources": "Chain Resources",
"other_resources": "Other Resources",
"logo_256": "Logo 256",
"logo_1024": "Logo 1024",
"logo_svg": "Logo SVG",
"location_name": "Location Name",
"country": "Country",
"latitude": "Latitude",
"longitude": "Longitude",
"hive": "Hive",
"twitter": "Twitter",
"youtube": "Youtube",
"facebook": "Facebook",
"github": "Github",
"reddit": "Reddit",
"keybase": "Keybase",
"telegram": "Telegram",
"webchat": "Webchat",
"name": "Name",
"node_name": "Node Name",
"node": "Node",
"peer_keys": "Peer keys",
"location_country": "Location Country",
"location_latitude": "Location Latitude",
"location_longitude": "Location Longitude",
"observer": "Observer",
"owner": "Owner",
"active": "Active",
"public_key": "Public key",
"writer_authority": "Writer Authority",
"validator_authority": "Validator Authority",
"ram_bytes": "RAM bytes",
"account": "Account",
"executeTransaction": "Execute Transaction",
"creator": "Creator",
"comiteeAccount": "Permissioning Comitee Account Management",
"partnerAccount": "Partner Entity Management",
"nonPartnerAccount": "Non-Partner Entity Management"
},
"blockDistributionRoute": {
"title": "Blocks Generated by Node"
},
"missedBlocksRoute": {
"title": "Missed Blocks by Node"
},
"ricardianContractRoute": {
"title": "LACChain Validator Node Agreement"
},
"producerSearchComponent": {
"title": "Search Entity"
}
}
5 changes: 5 additions & 0 deletions webapp/src/language/ko/ko.libre-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"routes": {
"/faucet>moreDescription": "This tool allows you to create an account and get LIBRE testnet tokens."
}
}
3 changes: 3 additions & 0 deletions webapp/src/language/ko/ko.libre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"routes": {}
}
20 changes: 20 additions & 0 deletions webapp/src/language/ko/ko.mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"routes": {
"/>title": "EOS Network Monitor and Infrastructure Dashboard",
"/cpu-benchmark>title": "CPU Benchmarks - EOS Network Monitor",
"/block-producers>title": "Block Producers - EOS Network Monitor",
"/rewards-distribution>title": "Rewards Distribution - EOS Network Monitor",
"/nodes-distribution>title": "Geographic Distribution of Nodes - EOS Network Monitor",
"/accounts>title": "Accounts and Contracts - EOS Network Monitor",
"/bpjson>title": "BP JSON - EOS Network Monitor",
"/ricardian-contract>title": "BP Agreement - EOS Network Monitor",
"/block-distribution>title": "Block Production Distribution - EOS Network Monitor",
"/missed-blocks>title": "Missed Blocks - EOS Network Monitor",
"/endpoints>title": "API Endpoints - EOS Network Monitor",
"/endpoints-stats>title": "API Endpoints Stats- EOS Network Monitor",
"/about>title": "About - EOS Network Monitor",
"/help>title": "Help - EOS Network Monitor",
"/undiscoverable-bps>title": "Undiscoverable Block Producers or Sock Puppet BPs - EOS Network Monitor",
"/evm>moreDescription": "Monitor EVM statistics, such as transaction amount history, gas price and total wallets created."
}
}
6 changes: 6 additions & 0 deletions webapp/src/language/ko/ko.telos-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"routes": {
"/evm>moreDescription": "Monitor Telos EVM statistics (tEVM), such as transaction amount history, gas price and total wallets created.",
"/evm-rpc-endpoints>moreDescription": "A list of Telos EVM (tEVM) endpoints, with their health status and latency in milliseconds."
}
}
6 changes: 6 additions & 0 deletions webapp/src/language/ko/ko.telos.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"routes": {
"/evm>moreDescription": "Monitor Telos EVM statistics (tEVM), such as transaction amount history, gas price and total wallets created.",
"/evm-rpc-endpoints>moreDescription": "A list of Telos EVM (tEVM) endpoints, with their health status and latency in milliseconds."
}
}
6 changes: 6 additions & 0 deletions webapp/src/language/ko/ko.ultra-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"routes": {
"/faucet>moreDescription": "This tool allows you to create an account and get UOS testnet tokens.",
"/>moreDescription": "Find information on the {{networkName}} Network and its current status."
}
}
3 changes: 3 additions & 0 deletions webapp/src/language/ko/ko.wax-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"routes": {}
}
3 changes: 3 additions & 0 deletions webapp/src/language/ko/ko.wax.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"routes": {}
}
20 changes: 20 additions & 0 deletions webapp/src/language/ko/ko.xpr-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"routes": {
"/>title": "{{networkName}} Monitor and Infrastructure Dashboard",
"/cpu-benchmark>title": "CPU Benchmarks - {{networkName}} Dashboard",
"/block-producers>title": "Block Producers - {{networkName}} Dashboard",
"/rewards-distribution>title": "Rewards Distribution - {{networkName}} Dashboard",
"/undiscoverable-bps>title": "Paid undiscoverable Block Producers - {{networkName}} Dashboard",
"/nodes>title": "{{networkName}} Nodes Status Monitor",
"/nodes-distribution>title": "Geographic Distribution of Nodes - {{networkName}} Dashboard",
"/accounts>title": "Accounts and Contracts - {{networkName}} Dashboard",
"/bpjson>title": "BP JSON - {{networkName}} Dashboard",
"/ricardian-contract>title": "BP Agreement - {{networkName}} Dashboard",
"/block-distribution>title": "Block Production Distribution - {{networkName}} Dashboard",
"/missed-blocks>title": "Missed Blocks - {{networkName}} Dashboard",
"/endpoints>title": "API Endpoints - {{networkName}} Dashboard",
"/endpoints-stats>title": "API Endpoints Stats- {{networkName}} Dashboard",
"/about>title": "About - {{networkName}} Dashboard",
"/help>title": "Help - {{networkName}} Dashboard"
}
}
20 changes: 20 additions & 0 deletions webapp/src/language/ko/ko.xpr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"routes": {
"/>title": "{{networkName}} Monitor and Infrastructure Dashboard",
"/cpu-benchmark>title": "CPU Benchmarks - {{networkName}} Dashboard",
"/block-producers>title": "Block Producers - {{networkName}} Dashboard",
"/rewards-distribution>title": "Rewards Distribution - {{networkName}} Dashboard",
"/undiscoverable-bps>title": "Paid undiscoverable Block Producers - {{networkName}} Dashboard",
"/nodes>title": "{{networkName}} Nodes Status Monitor",
"/nodes-distribution>title": "Geographic Distribution of Nodes - {{networkName}} Dashboard",
"/accounts>title": "Accounts and Contracts - {{networkName}} Dashboard",
"/bpjson>title": "BP JSON - {{networkName}} Dashboard",
"/ricardian-contract>title": "BP Agreement - {{networkName}} Dashboard",
"/block-distribution>title": "Block Production Distribution - {{networkName}} Dashboard",
"/missed-blocks>title": "Missed Blocks - {{networkName}} Dashboard",
"/endpoints>title": "API Endpoints - {{networkName}} Dashboard",
"/endpoints-stats>title": "API Endpoints Stats- {{networkName}} Dashboard",
"/about>title": "About - {{networkName}} Dashboard",
"/help>title": "Help - {{networkName}} Dashboard"
}
}
30 changes: 30 additions & 0 deletions webapp/src/language/zh/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import zh from './zh.json'
import zhLacchain from './zh.lacchain.json'
import zhTelosTestnet from './zh.telos-testnet.json'
import zhLibreTestnet from './zh.libre-testnet.json'
import zhLibre from './zh.libre.json'
import zhTelos from './zh.telos.json'
import zhJungle from './zh.jungle.json'
import zhMainnet from './zh.mainnet.json'
import zhXPRTestnet from './zh.xpr-testnet.json'
import zhXPR from './zh.xpr.json'
import zhWaxTestnet from './zh.wax-testnet.json'
import zhWax from './zh.wax.json'
import zhUltraTestnet from './zh.ultra-testnet.json'

export default {
zh,
'zh.lacchain': zhLacchain,
'zh.telos': zhTelos,
'zh.xpr': zhXPR,
'zh.wax': zhWax,
'zh.jungle': zhJungle,
'zh.mainnet': zhMainnet,
'zh.telos-testnet': zhTelosTestnet,
'zh.libre-testnet': zhLibreTestnet,
'zh.libre': zhLibre,
'zh.xpr-testnet': zhXPRTestnet,
'zh.wax-testnet': zhWaxTestnet,
'zh.ultra-testnet': zhUltraTestnet,
}

Loading

0 comments on commit 53415e0

Please sign in to comment.