Skip to content

Commit

Permalink
Merge pull request #37 from DanielBoye/main
Browse files Browse the repository at this point in the history
Norwegian translation for /no/mining and styleguide in footer
  • Loading branch information
Swepool authored Sep 1, 2022
2 parents 6e83f33 + 655554e commit 4a9a20a
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 13 deletions.
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

1 comment on commit 4a9a20a

@vercel
Copy link

@vercel vercel bot commented on 4a9a20a Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.