From c36d08a347885dcbf46421ebac22971b63d9f835 Mon Sep 17 00:00:00 2001 From: Daniel Svitan Date: Wed, 22 Oct 2025 15:07:19 +0200 Subject: [PATCH] :globe_with_meridians: Adds slovak translation --- src/i18n/ui.ts | 181 +++++++++++++++++++++++++++++++- src/pages/[lang]/index.astro | 196 ++++++++++++++++------------------- 2 files changed, 265 insertions(+), 112 deletions(-) diff --git a/src/i18n/ui.ts b/src/i18n/ui.ts index bcd0671..6845843 100644 --- a/src/i18n/ui.ts +++ b/src/i18n/ui.ts @@ -7,12 +7,183 @@ export const defaultLang = 'en'; export const ui = { en: { - 'nav.home': 'Home', - 'nav.hello': 'Hello', - 'nav.twitter': 'Twitter', + "main.note.accessibility": "Note: this page has been kept simple in favor of accessibility", + "main.intro.0": "Hi, I'm ", + "main.intro.1": "Daniel Svitan", + "main.intro.2": " a ", + "main.intro.3": " year-old aspiring engineer", + "main.residence": "Residence: Bratislava, Slovakia", + "main.contacts.title": "Contacts:", + "main.contacts.signal": "(you can text me on Signal)", + "main.socials.title": "Socials:", + "main.experience.title": "Experience:", + "main.experience.header.when": "When", + "main.experience.header.occupation": "Occupation and details", + "main.experience.0.when": "July, 2024 - present", + "main.experience.0.occupation": "Data scientist", + "main.experience.0.occupation.details": "Faculty of Electronics and Informatics, Slovak Technical University in Bratislava (FEI STU)", + "main.experience.0.details.0": "Created data labeling system for the ECG quality classification neural network", + "main.experience.0.details.1": "Contributed to the ECG quality classification neural network", + "main.experience.0.details.2": "Created quality classification system based on ECG quality classification neural network", + "main.experience.0.details.3": "Wrote the Tom & Jerry LabChart Text File Dynamic Sync Algorithm", + "main.experience.publications": "Publications:", + "main.education.title": "Education:", + "main.education.header.when": "When", + "main.education.header.where": "Where", + "main.education.0.when": "2024 - present", + "main.education.0.where": "Evanjelické Lýceum Bratislava - 5-year Bilingual Gymnasium (high school)", + "main.education.1.when": "2023 - 2024", + "main.education.1.where": "Spojená škola Svätej Rodiny v Bratislave - 8-year Gymnasium (high school)", + "main.education.2.when": "2022 - 2023", + "main.education.2.where": "Del Mar High School in San Jose, California, United States of America", + "main.skills.title": "Skills:", + "main.skills.languages": "Languages: Slovak (native), English (C1), German (B1)", + "main.skills.data-science": "Data science: PyTorch (neural networks), Matplotlib, SciPy, NumPy", + "main.skills.sysadmin": "Sysadmin: Docker, Caddy, ZFS, Linux", + "main.skills.frontend": "Frontend: HTML, CSS/SCSS, JavaScript/TypeScript, TailWindCSS, React, Vue, Nuxt, Astro", + "main.skills.backend": "Backend: Ktor (Kotlin), Fiber (Go), Echo (Go), FastAPI (Python), NestJS (TypeScript)", + "main.skills.database": "Database: MySQL, PostgreSQL, Redis/Valkey, Firestore, MongoDB", + "main.skills.math": "Math: Calculus (1), Statistics, Linear algebra", + "main.skills.other": "Other: Driver license type B (Slovak), LibreOffice", + "main.skills.0": "Having my own Debian server at home, I've self-hosted multiple apps and projects, including Nextcloud, Immich, Gitea, Prometheus+Grafana, ngIRCd, WireGuard Easy, and many more.", + "main.skills.1": "I route them all through my Caddy reverse proxy, but since my server is behind NAT, I also have a VPS that is connected to my server through a tunnel and routes all of the traffic to my server through that tunnel.", + "main.skills.2": "I also protect myself against data loss with a RAIDZ1 ZFS pool, regular backups (monthly to an off-site physical drive owned by me and every two days to a cloud storage box), and regular ZFS Scrubs.", + "main.skills.3": "And everything is encrypted, my pool and both backups with a randomly generated binary file.", + "main.skills.4": "Needless to say, I've got some experience with system administration as well as Linux systems, since I also daily drive Arch Linux.", + "main.projects.title": "Some of my projects:", + "main.projects.header.name": "Name", + "main.projects.header.reference": "Reference", + "main.projects.header.description": "Description", + "main.projects.header.tags": "Tags", + "main.projects.0.name": "SOČ 2024/2025 Paper", + "main.projects.0.description": "Research paper entitled \"Faktory ovplyvňujúce študijné výsledky a identifikácia rizikových skupín\", which won first place in the regional round of the competition", + "main.projects.0.tags.0": "#statistics", + "main.projects.0.tags.1": "#research", + "main.projects.1.name": "State SOČ Cross Examination", + "main.projects.1.description": "Cross examination of the Slovak State SOC Competition results and the analysis of the judges' bias", + "main.projects.1.tags.0": "#statistics", + "main.projects.2.name": "Door alarm", + "main.projects.2.description": "A home-made door alarm based on ultrasound sensor distance measurements", + "main.projects.2.tags.0": "#electronics", + "main.projects.2.tags.1": "#go", + "main.projects.3.name": "Green School / Zelená Škola", + "main.projects.3.description": "A website for a school club of environmentalists", + "main.projects.3.tags.0": "#web-dev", + "main.projects.3.tags.1": "#nuxt", + "main.projects.4.name": "Automod", + "main.projects.4.description": "A discord bot for my local community", + "main.projects.4.tags.0": "#discord", + "main.projects.4.tags.1": "#kotlin", + "main.projects.5.name": "Pwetty", + "main.projects.5.description": "A very, very simple json prettifier", + "main.projects.5.tags.0": "#c", + "main.projects.5.tags.1": "#assembly", + "main.projects.6.name": "Keys", + "main.projects.6.description": "A very simple client-server based keylogger for Windows, Linux, and MacOS", + "main.projects.6.tags.0": "#go", + "main.projects.6.tags.1": "#keylogger", + "main.projects.7.name": "Adventná Výzva", + "main.projects.7.description": "An interactive game-like app for kids with an advent theme", + "main.projects.7.tags.0": "#web-dev", + "main.projects.7.tags.1": "#react", + "main.projects.footer": "And many other closed-source projects, especially contracts (like NatArt) and the tens of projects at FEI STU (including multiple algorithms and labeling / data processing systems, mostly concerned with bio-medical signals like ECG or PPG).", + "main.interests.title": "About me and my interests:", + "main.interests.0": "I spend most of my free time working on various projects of mine; I've recently decided to expand my horizons and work on some projects that are not pure computer science. But other than that, I like to go on walks, listen to music, and I occasionally play video games.", + "main.interests.1": "I also love going rollerblading and I used to play airsoft, but I haven't had the time to play recently. And, believe it or not, I like to cook and read books as well.", + "main.interests.2": "When I grow up, I want to study mechanical engineering, since I take interest in engineering in general, not just programming. I'm still not sure which university I want to go to, but chances are that it will be somewhere in Germany, Benelux, or Scandinavia (or Czechia and Slovakia as a last resort). Both my parents are successful engineers (chemical, not mechanical though), so I have a lot to live up to.", + "main.interests.3": "But currently, I'm just trying to survive high school.", + "main.note.source.0": "Note: the source code of this website is available ", + "main.note.source.1": "here", + "main.note.source.2": "", }, sk: { - 'nav.home': 'Start', - 'nav.hello': 'Hallo', + "main.note.accessibility": "Poznámka: táto stránka bola z dôvodu prístupnosti navrhnutá jednoducho", + "main.intro.0": "Ahoj, som ", + "main.intro.1": "Daniel Svitaň", + "main.intro.2": "", + "main.intro.3": " ročný aspirujúci inžinier", + "main.residence": "Bydlisko: Bratislava, Slovensko", + "main.contacts.title": "Kontakty:", + "main.contacts.signal": "(môžete mi poslať správu cez Signal)", + "main.socials.title": "Sociálne siete:", + "main.experience.title": "Skúsenosti:", + "main.experience.header.when": "Kedy", + "main.experience.header.occupation": "Povolanie a podrobnosti", + "main.experience.0.when": "Júl 2024 – súčasnosť", + "main.experience.0.occupation": "Dátový vedec", + "main.experience.0.occupation.details": "Fakulta elektrotechniky a informatiky, Slovenská technická univerzita v Bratislave (FEI STU)", + "main.experience.0.details.0": "Vytvoril systém označovania údajov pre neurónovú sieť klasifikácie kvality EKG", + "main.experience.0.details.1": "Prispel k neurónovej sieti klasifikácie kvality EKG", + "main.experience.0.details.2": "Vytvoril systém klasifikácie kvality založený na neurónovej sieti klasifikácie kvality EKG", + "main.experience.0.details.3": "Napísal algoritmus dynamickej synchronizácie textových súborov Tom & Jerry LabChart", + "main.experience.publications": "Publikácie:", + "main.education.title": "Vzdelanie:", + "main.education.header.when": "Kedy", + "main.education.header.where": "Kde", + "main.education.0.when": "2024 – súčasnosť", + "main.education.0.where": "Evanjelické Lýceum Bratislava – 5-ročné bilingválne gymnázium", + "main.education.1.when": "2023 – 2024", + "main.education.1.where": "Spojená škola Svätej Rodiny v Bratislave – 8-ročné gymnázium", + "main.education.2.when": "2022 – 2023", + "main.education.2.where": "Del Mar High School v San Jose, Kalifornia, Spojené štáty americké", + "main.skills.title": "Zručnosti:", + "main.skills.languages": "Jazyky: slovenčina (rodný jazyk), angličtina (C1), nemčina (B1)", + "main.skills.data-science": "Dátová veda: PyTorch (neurónové siete), Matplotlib, SciPy, NumPy", + "main.skills.sysadmin": "Sysadmin: Docker, Caddy, ZFS, Linux", + "main.skills.frontend": "Frontend: HTML, CSS/SCSS, JavaScript/TypeScript, TailWindCSS, React, Vue, Nuxt, Astro", + "main.skills.backend": "Backend: Ktor (Kotlin), Fiber (Go), Echo (Go), FastAPI (Python), NestJS (TypeScript)", + "main.skills.database": "Databáza: MySQL, PostgreSQL, Redis/Valkey, Firestore, MongoDB", + "main.skills.math": "Matematika: kalkulus (1), štatistika, lineárna algebra", + "main.skills.other": "Ostatné: Vodičský preukaz typu B (slovenský), LibreOffice", + "main.skills.0": "Keďže mám doma vlastný Debian server, sám som hostoval viacero aplikácií a projektov, vrátane Nextcloud, Immich, Gitea, Prometheus+Grafana, ngIRCd, WireGuard Easy a mnoho ďalších.", + "main.skills.1": "Všetky smerujem cez môj reverse proxy Caddy, ale keďže môj server je za NAT, mám aj VPS, ktorý je pripojený k môjmu serveru cez tunel a smeruje všetky dáta na môj server cez tento tunel.", + "main.skills.2": "Chránim sa aj pred stratou dát pomocou RAIDZ1 ZFS pool, pravidelných záloh (mesačne na fyzický disk mimo lokality, ktorý vlastním, a každé dva dni do cloudového úložiska) a pravidelných ZFS Scrubs.", + "main.skills.3": "A všetko je šifrované, môj pool aj obe zálohy pomocou náhodne generovaného binárneho súboru.", + "main.skills.4": "Netreba dodávať, že mám určité skúsenosti so správou systémov, ako aj so systémami Linux, keďže denne používam Arch Linux.", + "main.projects.title": "Niektoré z mojich projektov:", + "main.projects.header.name": "Názov", + "main.projects.header.reference": "Referencia", + "main.projects.header.description": "Popis", + "main.projects.header.tags": "Tagy", + "main.projects.0.name": "SOČ 2024/2025 Paper", + "main.projects.0.description": "Výskumná práca s názvom \"Faktory ovplyvňujúce študijné výsledky a identifikácia rizikových skupín\", ktorá získala prvé miesto v krajskom kole súťaže", + "main.projects.0.tags.0": "#štatistika", + "main.projects.0.tags.1": "#výskum", + "main.projects.1.name": "Štátna SOČ analýza výsledkov", + "main.projects.1.description": "Krížová kontrola výsledkov slovackej štátnej súťaže SOČ a analýza zaujatosti porotcov", + "main.projects.1.tags.0": "#štatistika", + "main.projects.2.name": "Dverový alarm", + "main.projects.2.description": "Domáci dverový alarm založený na meraní vzdialenosti ultrazvukovým senzorom", + "main.projects.2.tags.0": "#elektronika", + "main.projects.2.tags.1": "#go", + "main.projects.3.name": "Zelená škola / Green School", + "main.projects.3.description": "Webová stránka pre školský klub environmentalistov", + "main.projects.3.tags.0": "#web-dev", + "main.projects.3.tags.1": "#nuxt", + "main.projects.4.name": "Automod", + "main.projects.4.description": "Discord bot pre moju miestnu komunitu", + "main.projects.4.tags.0": "#discord", + "main.projects.4.tags.1": "#kotlin", + "main.projects.5.name": "Pwetty", + "main.projects.5.description": "Veľmi, veľmi jednoduchý json prettifier", + "main.projects.5.tags.0": "#c", + "main.projects.5.tags.1": "#assembly", + "main.projects.6.name": "Keys", + "main.projects.6.description": "Veľmi jednoduchý keylogger založený na vzťahu klient-server pre Windows, Linux a MacOS", + "main.projects.6.tags.0": "#go", + "main.projects.6.tags.1": "#keylogger", + "main.projects.7.name": "Adventná Výzva", + "main.projects.7.description": "Interaktívna aplikácia pre deti s adventnou tematikou podobná hre", + "main.projects.7.tags.0": "#web-dev", + "main.projects.7.tags.1": "#react", + "main.projects.footer": "A mnoho ďalších projektov s uzavretým zdrojovým kódom, najmä zmlúv (ako NatArt) a desiatky projektov na FEI STU (vrátane viacerých algoritmov a systémov označovania/spracovania údajov, ktoré sa väčšinou týkajú biomedicínskych signálov, ako sú EKG alebo PPG).", + "main.interests.title": "O mne a mojich záujmoch:", + "main.interests.0": "Väčšinu voľného času trávim prácou na rôznych projektoch. Nedávno som sa rozhodol rozšíriť svoje obzory a pracovať na niektorých projektoch, ktoré nie sú čisto z oblasti informatiky. Okrem toho rád chodím na prechádzky, počúvam hudbu a občas hrám videohry.", + "main.interests.1": "Milujem aj korčuľovanie na kolieskových korčuliach a kedysi som hrával airsoft, ale v poslednej dobe nemám na to čas. A verte alebo nie, rád varím a čítam knihy.", + "main.interests.2": "Keď vyrastiem, chcem študovať mechanické inžinierstvo, pretože ma zaujíma inžinierstvo vo všeobecnosti, nielen programovanie. Ešte neviem, na ktorú univerzitu chcem ísť, ale pravdepodobne to bude niekde v Nemecku, Beneluxe alebo Škandinávii (alebo v krajnej núdzi v Česku a na Slovensku). Obaja moji rodičia sú úspešní inžinieri (chemickí, nie mechanickí), takže mám sa k čomu porovnávať.", + "main.interests.3": "Ale momentálne sa len snažím prežiť strednú školu.", + "main.note.source.0": "Poznámka: zdrojový kód tejto webovej stránky je k dispozícii ", + "main.note.source.1": "tu", + "main.note.source.2": "", }, } as const; diff --git a/src/pages/[lang]/index.astro b/src/pages/[lang]/index.astro index 0173f94..b93f768 100644 --- a/src/pages/[lang]/index.astro +++ b/src/pages/[lang]/index.astro @@ -57,22 +57,22 @@ export function getStaticPaths() {
-

Note: this page has been kept simple in favor of accessibility

+

{t("main.note.accessibility")}

-

Hi, I'm Daniel Svitaň, {a} {years} year-old aspiring - engineer

-

Residence: Bratislava, Slovakia

+

{t("main.intro.0")}{t("main.intro.1")}, + {t("main.intro.2")} {years} {t("main.intro.3")}

+

{t("main.residence")}

-

Contacts:

+

{t("main.contacts.title")}

-

Socials:

+

{t("main.socials.title")}

  • GitHub @@ -102,28 +102,26 @@ export function getStaticPaths() {
    -

    Experience:

    +

    {t("main.experience.title")}

    - - + + - - + @@ -132,192 +130,176 @@ export function getStaticPaths() {
    -

    Education:

    +

    {t("main.education.title")}

    When

    Occupation and details

    {t("main.experience.header.when")}

    {t("main.experience.header.occupation")}

    July, 2024 - presentData Scientist
    - Faculty of Electronics and Informatics, Slovak Technical University in Bratislava (FEI STU) +
    {t("main.experience.0.when")}{t("main.experience.0.occupation")}
    + {t("main.experience.0.occupation.details")}
      -
    • Created data labeling system for the ECG quality classification neural network
    • -
    • Contributed to the ECG quality classification neural network
    • -
    • Created quality classification system based on ECG quality classification neural - network -
    • -
    • Wrote the Tom & Jerry LabChart Text File Dynamic Sync Algorithm
    • +
    • {t("main.experience.0.details.0")}
    • +
    • {t("main.experience.0.details.1")}
    • +
    • {t("main.experience.0.details.2")}
    • +
    • {t("main.experience.0.details.3")}

    - Publications: + {t("main.experience.publications")}

    - - + + - - + + - - + + - - + +

    When

    Where

    {t("main.education.header.when")}

    {t("main.education.header.where")}

    2024 - presentEvanjelické Lýceum Bratislava - 5-year Bilingual Gymnasium (high school){t("main.education.0.when")}{t("main.education.0.where")}
    2023 - 2024Spojená škola Svätej Rodiny v Bratislave - 8-year Gymnasium (high school){t("main.education.1.when")}{t("main.education.1.where")}
    2022 - 2023Del Mar High School in San Jose, California, United States of America{t("main.education.2.when")}{t("main.education.2.where")}
    -

    Skills:

    +

    {t("main.skills.title")}

      -
    • Languages: Slovak (native), English (C1), German (B1)
    • -
    • Data science: PyTorch (neural networks), Matplotlib, SciPy, NumPy
    • -
    • Sysadmin: Docker, Caddy, ZFS, Linux
    • -
    • Frontend: HTML, CSS/SCSS, JavaScript/TypeScript, TailWindCSS, React, Vue, Nuxt, Astro
    • -
    • Backend: Ktor (Kotlin), Fiber (Go), Echo (Go), FastAPI (Python), NestJS (TypeScript)
    • -
    • Database: MySQL, PostgreSQL, Redis/Valkey, Firestore, MongoDB
    • -
    • Math: Calculus (1), Statistics, Linear algebra
    • -
    • Other: Driver license type B (Slovak), LibreOffice
    • +
    • {t("main.skills.languages")}
    • +
    • {t("main.skills.data-science")}
    • +
    • {t("main.skills.sysadmin")}
    • +
    • {t("main.skills.frontend")}
    • +
    • {t("main.skills.backend")}
    • +
    • {t("main.skills.database")}
    • +
    • {t("main.skills.math")}
    • +
    • {t("main.skills.other")}
    -

    Having my own TrueNAS Scale server at home, I've self-hosted multiple apps and projects, - including Nextcloud, Immich, Gitea, Prometheus+Grafana, ngIRCd, WireGuard Easy, and many more.

    -

    I route them all through my Caddy reverse proxy, but since my server is behind NAT, I also have a VPS - that is connected to my server through a tunnel and routes all of the traffic to my server through that - tunnel.

    -

    I also protect myself against data loss with a RAIDZ1 ZFS pool, regular backups (monthly to an - off-site physical drive owned by me and every two days to a cloud storage box), and regular ZFS - Scrubs.

    -

    And everything is encrypted, my pool and both backups with a randomly generated binary file.

    -

    Needless to say, I've got some experience with system administration as well as Linux systems, since I - also daily drive Arch Linux.

    +

    {t("main.skills.0")}

    +

    {t("main.skills.1")}

    +

    {t("main.skills.2")}

    +

    {t("main.skills.3")}

    +

    {t("main.skills.4")}

    -

    Some of my projects:

    +

    {t("main.projects.title")}

    - - - - + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Name

    Reference

    Description

    Tags

    {t("main.projects.header.name")}

    {t("main.projects.header.reference")}

    {t("main.projects.header.description")}

    {t("main.projects.header.tags")}

    SOČ 2024/2025 Paper{t("main.projects.0.name")} Research paper entitled "Faktory ovplyvňujúce študijné výsledky a identifikácia rizikových - skupín", which won first place in the regional round of the competition - {t("main.projects.0.description")} - #statistics - #research + {t("main.projects.0.tags.0")} + {t("main.projects.0.tags.1")}
    State SOČ Cross Examination{t("main.projects.1.name")} Cross examination of the Slovak State SOC Competition results and the analysis of the judges' - bias - {t("main.projects.1.description")} - #statistics + {t("main.projects.1.tags.0")}
    Door alarm{t("main.projects.2.name")} A home-made door alarm based on ultrasound sensor distance measurements (in development){t("main.projects.2.description")} - #electronics - #go + {t("main.projects.2.tags.0")} + {t("main.projects.2.tags.1")}
    Green School / Zelená Škola{t("main.projects.3.name")} A website for a school club of environmentalists{t("main.projects.3.description")} - #web-dev - #nuxt + {t("main.projects.3.tags.0")} + {t("main.projects.3.tags.1")}
    Automod{t("main.projects.4.name")} A discord bot for my local community{t("main.projects.4.description")} - #discord - #kotlin + {t("main.projects.4.tags.0")} + {t("main.projects.4.tags.1")}
    Pwetty{t("main.projects.5.name")} A very, very simple json prettifier{t("main.projects.5.description")} - #c - #assembly + {t("main.projects.5.tags.0")} + {t("main.projects.5.tags.1")}
    Keys{t("main.projects.6.name")} A very simple client-server based keylogger for Windows, Linux, and MacOS{t("main.projects.6.description")} - #go - #keylogger + {t("main.projects.6.tags.0")} + {t("main.projects.6.tags.1")}
    Adventná Výzva{t("main.projects.7.name")} An interactive game-like app for kids with an advent theme{t("main.projects.7.description")} - #web-dev - #react + {t("main.projects.7.tags.0")} + {t("main.projects.7.tags.1")}
    -

    And many other closed-source projects, especially contracts (like NatArt) and the - tens of projects at FEI STU (including multiple algorithms and labeling / data processing systems, - mostly concerned with bio-medical signals like ECG or PPG).

    +

    {t("main.projects.footer")}

    -

    About me and my interests:

    -

    I spend most of my free time working on various projects of mine; I've recently decided to expand my - horizons and work on some projects that are not pure computer science. But other than that, I like to go - on walks, listen to music, and I occasionally play video games.

    -

    I also love going rollerblading and I used to play airsoft, but I haven't had the time to play recently. - And, believe it or not, I like to cook and read books as well.

    -

    When I grow up, I want to study mechanical engineering, since I take interest in engineering in general, - not just programming. I'm still not sure which university I want to go to, but chances are that it will - be somewhere in Germany, Benelux, or Scandinavia (or Czechia and Slovakia as a last resort). Both my - parents are successful engineers (chemical, not mechanical though), so I have a lot to live up - to.

    -

    But currently, I'm just trying to survive high school.

    +

    {t("main.interests.title")}

    +

    {t("main.interests.0")}

    +

    {t("main.interests.1")}

    +

    {t("main.interests.2")}

    +

    {t("main.interests.3")}

    -

    Note: the source code of this website is available - here +

    + {t("main.note.source.0")} + {t("main.note.source.1")} + {t("main.note.source.2")}