Internationalize strings

This commit is contained in:
2023-04-27 01:48:38 +02:00
parent 688adb3896
commit 15e661f23b
5 changed files with 246 additions and 104 deletions

View File

@@ -1,32 +1,32 @@
<template>
<v-row>
<v-col cols="12">
<span class="text-h4 text-high-emphasis">My Journey as a Developer</span>
<span class="text-h4 text-high-emphasis">{{ $t('bioTitle') }}</span>
</v-col>
<v-col cols="12">
<v-sheet color="transparent" class="text-medium-emphasis">
<p>
My interest in programming was sparked in 2007 when I began tinkering with SQL
in an attempt to setup a private server for my favorite
<a :href="mmorpgWikiUrl" target="_blank">MMORPG</a>
(it was a success!)
Eager to dive deeper into the world of coding, I attended a
<a :href="htlWikiUrl" target="_blank">HTL</a>
specializing in IT in 2009, where I learned C, Java, HTML and CSS.
Some years later, I pursued a degree in
<a :href="biWikiUrl" target="_blank">BI</a>
with a specialization in Web and App development.
</p>
<i18n-t
keypath="bioBody"
tag="p"
>
<template v-slot:mmorpg>
<NuxtLink :href="mmorpgWikiUrl" target="_blank">MMORPG</NuxtLink>
</template>
<template v-slot:htl>
<NuxtLink :href="htlWikiUrl" target="_blank">HTL</NuxtLink>
</template>
<template v-slot:bi>
<NuxtLink :href="biWikiUrl" target="_blank">{{ $t('bi') }}</NuxtLink>
</template>
</i18n-t>
<br/>
<p>
Here's some of the tech that I've used and worked with before:
</p>
<p>{{ $t('bioSubtitle') }}</p>
</v-sheet>
</v-col>
<v-col v-for="set, ind in sets" :key="ind" cols="12">
<v-card>
<v-card-item>
<v-card-title>{{ set.title }}</v-card-title>
<v-card-title>{{ $t(set.title) }}</v-card-title>
</v-card-item>
<v-card-text class="text-center">
<v-row>
@@ -112,15 +112,15 @@ export default {
const os = _groupBy(this.os, e => e.level)
return [
{
title: "Languages & Frameworks",
title: 'languagesFrameworks',
data: Object.keys(languages).sort().reverse().map(e => languages[e])
},
{
title: "Tools & Platforms",
title: 'toolsPlatforms',
data: Object.keys(tech).sort().reverse().map(e => tech[e])
},
{
title: "Operating Systems",
title: 'os',
data: Object.keys(os).sort().reverse().map(e => os[e])
}
]

View File

@@ -6,11 +6,16 @@
</span>
</v-col>
<v-col cols="12" class="my-6">
<p class="text-body-1 text-md-h6 text-medium-emphasis" style="max-width: 550px;">
I'm a Software Developer based in Vienna, Austria.<br/>
I develop various types of applications.
Explore my <NuxtLink to="/portfolio">portfolio</NuxtLink> to view a showcase of my projects.
</p>
<i18n-t
keypath="introduction"
tag="p"
class="text-body-1 text-md-h6 text-medium-emphasis"
style="max-width: 550px;"
>
<template v-slot:portfolio>
<NuxtLink to="/portfolio">{{ $t('portfolio') }}</NuxtLink>
</template>
</i18n-t>
</v-col>
<v-col cols="12">
<v-btn
@@ -19,7 +24,7 @@
prepend-icon="mdi-email-outline"
:href="`mailto:<${$myEmail}>`"
>
Get in touch
{{ $t('getInTouch') }}
</v-btn>
</v-col>
</v-row>

View File

@@ -2,7 +2,7 @@
<ImageCarousel ref="imageCarousel" />
<v-row>
<v-col cols="12">
<span class="text-h5 font-weight-medium">Some of my projects</span>
<span class="text-h5 font-weight-medium">{{ $t('portfolioTitle') }}</span>
</v-col>
<v-col v-for="(project, index) of projects" :key="index" cols="12" lg="4" md="6">
<v-card height="100%" class="d-flex flex-column">
@@ -263,9 +263,3 @@ export default {
}
}
</script>
<style>
path {
fill: #fff !IMPORTANT;
}
</style>