Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Norwegian translation for /no/mining and styleguide in footer #37

Merged
merged 10 commits into from
Sep 1, 2022
10 changes: 9 additions & 1 deletion src/i18n/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,15 @@ const en = {
text5: 'The Kryptokrona isn’t dependent on our central banks or servers, thus less fragile than todays financial systems.',
title6: 'Drama-free',
text6: 'Our network reduces the amount of new coins minted with every block, making for a drama-free emission.',
}
},
mining: {
title: 'Mining',
mainText1: 'Kryptokrona is a cryptocurrency that relies on proof-of-work mining to achieve distributed consensus. It utilizes the Cryptonight Turtle algorithm. This algorithm is primarily mined on CPUs and is ASIC resistant. With Kryptokrona being ASIC resistant, the whole network gets decentralized. This means that the algorithm is purposefully designed to stop mining from being dominated by a set of specialized miners with the most expensive equipment. Therefore Kryptokrona should be easily mineable through regular computers',
title2: 'Hardware for mining',
text2: 'You can mine Kryptokrona on CPUs, GPUs & Android Phones. Compare your hashrate to others, and even help expand the list!',
title3: 'Software',
text3: 'There are several options when it comes to mining software.The most common mining software for mining such algorithms is XMRig. Guide on how to mine XKR is coming up soon.',
},
}

export default en
52 changes: 52 additions & 0 deletions src/i18n/i18n-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,32 @@ type RootTranslation = {
*/
text6: string
}
mining: {
/**
* Mining
*/
title: string
/**
* Kryptokrona is a cryptocurrency that relies on proof-of-work mining to achieve distributed consensus. It utilizes the Cryptonight Turtle algorithm. This algorithm is primarily mined on CPUs and is ASIC resistant. With Kryptokrona being ASIC resistant, the whole network gets decentralized. This means that the algorithm is purposefully designed to stop mining from being dominated by a set of specialized miners with the most expensive equipment. Therefore Kryptokrona should be easily mineable through regular computers
*/
mainText1: string
/**
* Hardware for mining
*/
title2: string
/**
* You can mine Kryptokrona on CPUs, GPUs & Android Phones. Compare your hashrate to others, and even help expand the list!
*/
text2: string
/**
* Software
*/
title3: string
/**
* There are several options when it comes to mining software.The most common mining software for mining such algorithms is XMRig. Guide on how to mine XKR is coming up soon.
*/
text3: string
}
}

export type TranslationFunctions = {
Expand Down Expand Up @@ -552,6 +578,32 @@ export type TranslationFunctions = {
*/
text6: () => LocalizedString
}
mining: {
/**
* Mining
*/
title: () => LocalizedString
/**
* Kryptokrona is a cryptocurrency that relies on proof-of-work mining to achieve distributed consensus. It utilizes the Cryptonight Turtle algorithm. This algorithm is primarily mined on CPUs and is ASIC resistant. With Kryptokrona being ASIC resistant, the whole network gets decentralized. This means that the algorithm is purposefully designed to stop mining from being dominated by a set of specialized miners with the most expensive equipment. Therefore Kryptokrona should be easily mineable through regular computers
*/
mainText1: () => LocalizedString
/**
* Hardware for mining
*/
title2: () => LocalizedString
/**
* You can mine Kryptokrona on CPUs, GPUs & Android Phones. Compare your hashrate to others, and even help expand the list!
*/
text2: () => LocalizedString
/**
* Software
*/
title3: () => LocalizedString
/**
* There are several options when it comes to mining software.The most common mining software for mining such algorithms is XMRig. Guide on how to mine XKR is coming up soon.
*/
text3: () => LocalizedString
}
}

export type Formatters = {}
1 change: 1 addition & 0 deletions src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<a href="https://github.com/kryptokrona/kryptokrona-stickers">{$LL.footer.stickers()}</a>
<a href="https://docs.kryptokrona.org">{$LL.footer.docs()}</a>
<a href="https://github.com/kryptokrona">Github</a>
<a href="https://github.com/kryptokrona/Styleguide">Sylegudie</a>
</div>
<div>
<h3>Hugin</h3>
Expand Down
19 changes: 7 additions & 12 deletions src/routes/[lang]/mining/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import MiningConfig from "$lib/components/mining/MiningConfig.svelte";
import MiningCalc from "$lib/components/mining/MiningCalc.svelte";
import LinkButton from "../../../lib/components/buttons/LinkButton.svelte";
import LL from "$i18n/i18n-svelte";
</script>

<svelte:head>
Expand All @@ -20,19 +21,13 @@
</svelte:head>

<div class="wrapper container">
<h1>Mining</h1>
<p>Kryptokrona is a cryptocurrency that relies on proof-of-work mining to achieve distributed consensus. It utilizes
the Cryptonight Turtle algorithm. This algorithm is primarily mined on CPUs and is ASIC resistant. With
Kryptokrona being ASIC resistant, the whole network gets decentralized. This means that the algorithm is
purposefully designed to stop mining from being dominated by a set of specialized miners with the most expensive
equipment. Therefore Kryptokrona should be easily mineable through "regular" computers.</p>
<h2>Hardwate for mining</h2>
<p>You can mine Kryptokrona on CPUs, GPUs & Android Phones. Compare your hashrate to others, and even help expand
the list!</p>
<h1>{$LL.mining.title()}</h1>
<p>{$LL.mining.mainText()}</p>
<h2>{$LL.mining.title2()}</h2>
<p>{$LL.mining.text2()}</p>
<LinkButton url="https://kryptokrona.org/benchmarks" target="_blank" enabled={false} text="Kryptokrona Benchmarks"/>
<h2>Software</h2>
<p>There are several options when it comes to mining software.The most common mining software for mining such
algorithms is XMRig. Guide on how to mine XKR is coming up soon.</p>
<h2>{$LL.mining.title3()}</h2>
<p>{$LL.mining.text3()}</p>
<LinkButton url="https://xmrig.com/download" target="_blank" enabled={false} text="Download XMRig"/>
<div class="tools">
<MiningConfig/>
Expand Down