feat: replace hard-coded content with i18n translation keys
This commit is contained in:
parent
7fe9cdeef3
commit
eefc4cc8d4
9 changed files with 80 additions and 272 deletions
|
@ -26,23 +26,23 @@ const attributions = [
|
|||
|
||||
<template>
|
||||
<section>
|
||||
<h1>{{ $route.meta.title }}</h1>
|
||||
<h2>Artwork</h2>
|
||||
<h1>{{ $t(`${$route.meta.title}`) }}</h1>
|
||||
<h2>{{ $t("attributions.artwork.heading") }}</h2>
|
||||
</section>
|
||||
<AttributionTable :attributions="attributions" />
|
||||
<section>
|
||||
<h2>Other</h2>
|
||||
<h2>{{ $t("attributions.other.heading") }}</h2>
|
||||
</section>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Source</th>
|
||||
<th>{{ $t("attributions.other.headings[0]") }}</th>
|
||||
<th>{{ $t("attributions.other.headings[1]") }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Icons</td>
|
||||
<td>{{ $t("attributions.other.icons[0]") }}</td>
|
||||
<td>
|
||||
<a
|
||||
href="https://fontawesome.com/license/free"
|
||||
|
@ -54,7 +54,7 @@ const attributions = [
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Heading Font</td>
|
||||
<td>{{ $t("attributions.other.headingFont[0]") }}</td>
|
||||
<td>
|
||||
<a
|
||||
href="https://github.com/MichalSahar/Secular"
|
||||
|
@ -63,7 +63,7 @@ const attributions = [
|
|||
>
|
||||
Secular One
|
||||
</a>
|
||||
by
|
||||
{{ $t("attributions.other.headingFont[1]") }}
|
||||
<a
|
||||
href="https://github.com/MichalSahar"
|
||||
target="_blank"
|
||||
|
@ -74,7 +74,7 @@ const attributions = [
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Copy Font</td>
|
||||
<td>{{ $t("attributions.other.copyFont[0]") }}</td>
|
||||
<td>
|
||||
<a
|
||||
href="https://antonkoovit.com/typefaces/arvo"
|
||||
|
@ -83,7 +83,7 @@ const attributions = [
|
|||
>
|
||||
Arvo
|
||||
</a>
|
||||
by
|
||||
{{ $t("attributions.other.copyFont[1]") }}
|
||||
<a
|
||||
href="https://antonkoovit.com/"
|
||||
target="_blank"
|
||||
|
@ -94,9 +94,9 @@ const attributions = [
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Background</td>
|
||||
<td>{{ $t("attributions.other.background[0]") }}</td>
|
||||
<td>
|
||||
Layered Waves from
|
||||
{{ $t("attributions.other.background[1][0]") }}
|
||||
<a
|
||||
href="https://haikei.app/"
|
||||
target="_blank"
|
||||
|
@ -104,7 +104,7 @@ const attributions = [
|
|||
>
|
||||
Haikei
|
||||
</a>
|
||||
by
|
||||
{{ $t("attributions.other.background[1][1]") }}
|
||||
<a
|
||||
href="https://zcreativelabs.com/"
|
||||
target="_blank"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue