From bce13ee94deb2a4914784bb4268dc1d7bc0f11ed Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 1 Dec 2021 22:17:16 +0100 Subject: Preparing i18n --- htdocs/public/assets/icons/about.svg | 6 +- htdocs/public/assets/icons/contact.svg | 6 +- htdocs/public/assets/icons/project.svg | 6 +- htdocs/public/assets/icons/projects.svg | 6 +- htdocs/public/assets/logo.svg | 20974 +++++++++++++++--------------- htdocs/public/assets/sky.svg | 98 +- htdocs/public/index.ejs | 136 +- 7 files changed, 10609 insertions(+), 10623 deletions(-) (limited to 'htdocs/public') diff --git a/htdocs/public/assets/icons/about.svg b/htdocs/public/assets/icons/about.svg index db1b903..6241d20 100644 --- a/htdocs/public/assets/icons/about.svg +++ b/htdocs/public/assets/icons/about.svg @@ -1,4 +1,4 @@ - - + + \ No newline at end of file diff --git a/htdocs/public/assets/icons/contact.svg b/htdocs/public/assets/icons/contact.svg index 2444e8d..c8f7569 100644 --- a/htdocs/public/assets/icons/contact.svg +++ b/htdocs/public/assets/icons/contact.svg @@ -1,4 +1,4 @@ - - + + \ No newline at end of file diff --git a/htdocs/public/assets/icons/project.svg b/htdocs/public/assets/icons/project.svg index 06f4f19..a5f25a4 100644 --- a/htdocs/public/assets/icons/project.svg +++ b/htdocs/public/assets/icons/project.svg @@ -1,4 +1,4 @@ - - + + \ No newline at end of file diff --git a/htdocs/public/assets/icons/projects.svg b/htdocs/public/assets/icons/projects.svg index 8ee009c..b8a0057 100644 --- a/htdocs/public/assets/icons/projects.svg +++ b/htdocs/public/assets/icons/projects.svg @@ -1,4 +1,4 @@ - - + + \ No newline at end of file diff --git a/htdocs/public/assets/logo.svg b/htdocs/public/assets/logo.svg index 0ee33da..d6af8a6 100644 --- a/htdocs/public/assets/logo.svg +++ b/htdocs/public/assets/logo.svg @@ -1,10487 +1,10487 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/htdocs/public/assets/sky.svg b/htdocs/public/assets/sky.svg index 0c2344d..021d146 100644 --- a/htdocs/public/assets/sky.svg +++ b/htdocs/public/assets/sky.svg @@ -1,49 +1,49 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/htdocs/public/index.ejs b/htdocs/public/index.ejs index 03faaae..59b21cd 100644 --- a/htdocs/public/index.ejs +++ b/htdocs/public/index.ejs @@ -1,4 +1,4 @@ -<% global.title = "Main page"; %> +<% global.title = lang.main.page; %> <%- include(`${private}/header.ejs`) %>
@@ -6,28 +6,16 @@
-

Hello, I'm Minteck

+

<%- lang.main.intro.title %>

— <% - items = [ - "Creator of that cursed thing", - "Also known as Mintexie", - "Also known as Minty or Mints", - "More than one... I guess", - "You wouldn't believe your eyes!", - "I'm cute, you're cute, we're all cute!", - "Such a good foxxo ^^", - "I'm a furry! OwO?", - "Doing weird techy stuff", - "Privacy is a human creature right!", - "I just built this animal shelter" - ] + items = lang.main.intro.tagline let item = items[Math.floor(Math.random() * items.length)] %> <%- item %> —

-

Welcome to my personal shelter!

+

<%- lang.main.intro.subtitle %>

@@ -38,86 +26,86 @@
-

Projects

-

The kind of weird stuff I do on my free time

- View list → +

<%- lang.main.elements.projects.title %>

+

<%- lang.main.elements.projects.description %>

+ <%- lang.main.elements.projects.action %> →
-

Contact Me

-

So, you want to have a chat? With me? Nice! Come say hi.

- Contact Info ↓ +

<%- lang.main.elements.contact.title %>

+

<%- lang.main.elements.contact.description %>

+ <%- lang.main.elements.contact.action %> ↓
-

About Me

-

Oh no, you don't know me! Don't worry, we can solve that!

- View Info ↓ +

<%- lang.main.elements.about.title %>

+

<%- lang.main.elements.about.description %>

+ <%- lang.main.elements.about.action %> ↓
- View list → + <%- lang.main.elements.projects.action %> →
- Contact Info ↓ + <%- lang.main.elements.contact.action %> ↓
- View Info ↓ + <%- lang.main.elements.about.action %> ↓

-

On the same month ...

+

<%- lang.main.history.title %> ...

<% items = { "1": { - "title": "... Project AI is getting better (2019)", - "description": "Project AI (then known as Kiki) was a well being chat bot made to make the user feel better" + "title": "... " + lang.main.history.items[0].title, + "description": lang.main.history.items[0].description }, "2": { - "title": "... Horizon's development starts (2019)", - "description": "Horizon was a multipurpose Discord bot developed by me and imagined by Horizon.Data (now SSmellys)" + "title": "... " + lang.main.history.items[1].title, + "description": lang.main.history.items[1].description }, "3": { - "title": "... Chat'Max is now open to registration (2019)", - "description": "Chat'Max was a page system designed for my friends. It was then replaced by Projectpedia and PinPages." + "title": "... " + lang.main.history.items[2].title, + "description": lang.main.history.items[2].description }, "4": { - "title": "... Projectpedia is announced (2019)", - "description": "Projectpedia was a wiki system to get help on any kind of projects. It was then replaced by PinPages." + "title": "... " + lang.main.history.items[3].title, + "description": lang.main.history.items[3].description }, "5": { - "title": "... Kartik's early access program is launched on May 4th 2021", - "description": "This 1-month-long period helped polish the UI and experience, test the online mode and fix bugs." + "title": "... " + lang.main.history.items[4].title, + "description": lang.main.history.items[4].description }, "6": { - "title": "... Kartik officially releases on June 12th 2021", - "description": "Kartik was a simple racing game developed during 6 months" + "title": "... " + lang.main.history.items[5].title, + "description": lang.main.history.items[5].description }, "7": { - "title": "... Fluffy Friends is extended to become public (2021)", - "description": "Fluffy Friends is a furry and plural-friendly Minecraft server" + "title": "... " + lang.main.history.items[6].title, + "description": lang.main.history.items[6].description }, "8": { - "title": "... PinPages version 20.08 (2020), a massive update, is officially released", - "description": "PinPages was a social network project similar to Twitter or Facebook" + "title": "... " + lang.main.history.items[7].title, + "description": lang.main.history.items[7].description }, "9": { - "title": "... the 4th version of my website was published in September 2019", - "description": "Minteck Projects v4 website. Same rendering engine as v3, but different UI" + "title": "... " + lang.main.history.items[8].title, + "description": lang.main.history.items[8].description }, "10": { - "title": "... the first Neutron version (2019) was made in only 2 weeks", - "description": "Neutron (at the time known as Minteck Projects CMS). Version 1.0 made in 2 days." + "title": "... " + lang.main.history.items[9].title, + "description": lang.main.history.items[9].description }, "11": { - "title": "... a dark themed and more solid variant of my website is now live", - "description": "Minteck Projects v5 website. Same as v4 but with modified UI and fonts." + "title": "... " + lang.main.history.items[10].title, + "description": lang.main.history.items[10].description }, "12": { - "title": "... my first website is developed (2018)", - "description": "Minteck Projects v1 website. You are currently on v9, it has come a long way!" + "title": "... " + lang.main.history.items[11].title, + "description": lang.main.history.items[11].description } } %> @@ -129,7 +117,7 @@
-

Contact Me

+

<%- lang.main.contact.title %>

@@ -209,34 +197,32 @@
-

About Me

+

<%- lang.main.about.title %>

-

Languages

-

French is my mother language, and I am fluent in English.

+

<%- lang.main.about.languages.title %>

+

<%- lang.main.about.languages.description %>

-

Experimenting

-

I sometimes do experiments with technological stuff on my free time.

+

<%- lang.main.about.experiments.title %>

+

<%- lang.main.about.experiments.description %>

-

Who?!

-

I am a non binary (sometimes genderfluid too) otherkin/transspecies furry.

+

<%- lang.main.about.general.title %>

+

<%- lang.main.about.general.description %>

-

We've come a long way

-

I've been doing techy stuff for the last <%- new Date().getFullYear() - 2013 %> years now, that's - loooong!

+

<%- lang.main.about.history.title %>

+

<%- lang.main.about.history.description.replace("%1", new Date().getFullYear() - 2013) %>

-

Privacy is a right!

-

I strive to respect people's privacy, and try not to use services or applications that violate your - privacy.

+

<%- lang.main.about.privacy.title %>

+

<%- lang.main.about.privacy.description %>

@@ -244,14 +230,14 @@