From 149a746149aa21b167511d1c70832cc83039b519 Mon Sep 17 00:00:00 2001 From: gor_down Date: Mon, 14 Jul 2025 11:25:41 -0300 Subject: [PATCH] nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger --- public/styles/home/index.css | 4 + src/router/common_path_settings/home.json | 54 ++++++ src/utils/createCommonPath.js | 22 ++- views/home.hbs | 182 ++++-------------- views/partials/translations/en/home/en.hbs | 0 .../partials/translations/en/home/hotlink.hbs | 1 + views/partials/translations/en/home/ley.hbs | 122 ++++++++++++ .../partials/translations/en/home/listado.hbs | 1 + .../translations/en/home/ultimodia.hbs | 3 + views/partials/translations/es/home/en.hbs | 1 + .../partials/translations/es/home/hotlink.hbs | 1 + views/partials/translations/es/home/ley.hbs | 117 +++++++++++ .../partials/translations/es/home/listado.hbs | 1 + .../translations/es/home/ultimodia.hbs | 3 + 14 files changed, 361 insertions(+), 151 deletions(-) create mode 100644 src/router/common_path_settings/home.json create mode 100644 views/partials/translations/en/home/en.hbs create mode 100644 views/partials/translations/en/home/hotlink.hbs create mode 100644 views/partials/translations/en/home/ley.hbs create mode 100644 views/partials/translations/en/home/listado.hbs create mode 100644 views/partials/translations/en/home/ultimodia.hbs create mode 100644 views/partials/translations/es/home/en.hbs create mode 100644 views/partials/translations/es/home/hotlink.hbs create mode 100644 views/partials/translations/es/home/ley.hbs create mode 100644 views/partials/translations/es/home/listado.hbs create mode 100644 views/partials/translations/es/home/ultimodia.hbs diff --git a/public/styles/home/index.css b/public/styles/home/index.css index f07f06c..6156040 100644 --- a/public/styles/home/index.css +++ b/public/styles/home/index.css @@ -19,6 +19,10 @@ color: red; } +cord{ + color: #5865F2; +} + #buster{ width: 123px; animation-name: spin; diff --git a/src/router/common_path_settings/home.json b/src/router/common_path_settings/home.json new file mode 100644 index 0000000..9556743 --- /dev/null +++ b/src/router/common_path_settings/home.json @@ -0,0 +1,54 @@ +{ + "tl": { + "es": { + "tl_alahora": "A la hora de navegar este sitio, se encuentra estrictamente prohibido el actuar o pensar en los siguientes términos", + "tl_navegacion": "Navegación", + "tl_visitor_table": "Tabla de Visitantes", + "tl_pgp": "Clave PGP", + "tl_anterior": "Anterior", + "tl_siguiente": "Siguiente", + "tl_desdeldia": "Desde el día Domingo 20 de abril del año de nuestro Señor 2025, Lyrical Tokarev forma parte del", + "tl_webring": "Anillo de los Lunáticos", + "tl_asociado_numero": "Número de Asociado", + "tl_update_log": "Registro de Actualizaciones", + "tl_registro_anime_juegos": "Registro de Anime y Juegos", + "tl_websites": "Sitios Web", + "tl_bounty": "Si alguien sabe de donde salen, porfavor ser tan amable de dar noticia mediante correo electrónico.
1 BTC en recompensas.", + "tl_neocities": "Página de Neocities Restaurada", + "tl_listas": "LISTAS", + "tl_cord": "Corta el cordón umbilical", + "tl_santa": "De vuelta a la tierra santa", + "tl_cc_files": "Archivos de CC", + "tl_enviar": "Enviar", + "tl_index": "Índice", + "tl_stuff": "Cosas", + "tl_doc_library": "Librería de Documentos", + "tl_banner_buttons": "Algunos Botones y Banners" + }, + "en": { + "tl_alahora": "While visiting this site, it's strictly forbidden to act or think in the following terms", + "tl_navegacion": "Navigation", + "tl_visitor_table": "Visitor Table", + "tl_pgp": "PGP Key", + "tl_anterior": "Previous", + "tl_siguiente": "Next", + "tl_desdeldia": "Since the day Sunday, 20th of April, year of our Lord 2025, Lyrical Tokarev forms part of the", + "tl_webring": "Lunatic Webring", + "tl_asociado_numero": "Associate Number", + "tl_update_log": "Update Log", + "tl_registro_anime_juegos": "Games and Anime Backlog", + "tl_websites": "Websites", + "tl_bounty": "If anyone knows where these are from please send an email.
1 BTC in bounties.", + "tl_neocities": "Neocities Site Restored", + "tl_listas": "LISTS", + "tl_cord": "Cut the umbilical cord", + "tl_santa": "Back to the holy land", + "tl_cc_files": "CC Files", + "tl_enviar": "Submit", + "tl_index": "Index", + "tl_stuff": "Stuff", + "tl_doc_library": "Document Library", + "tl_banner_buttons": "Some Buttons and Banners" + } + } +} \ No newline at end of file diff --git a/src/utils/createCommonPath.js b/src/utils/createCommonPath.js index 1e79657..3a693dd 100644 --- a/src/utils/createCommonPath.js +++ b/src/utils/createCommonPath.js @@ -1,7 +1,7 @@ const { dirname } = require('path'); const appDir = dirname(require.main.filename); const fs = require('fs') -const langs = ["en", "es"] +const langs = ["en", "es", "jp"] const default_lang = "es" function createCommonPath(router, path, renderParams = { @@ -36,13 +36,31 @@ function createCommonPath(router, path, renderParams = { ...renderOptions, ...getTlPartials(default_lang, path) } + + let tl = null + + if(renderOptions.tl){ + tl = renderOptions.tl + renderOptions = { + ...renderOptions, + ...renderOptions.tl[default_lang] + } + renderOptions.tl = null + } + createPath('/' + path, cb, renderOptions, router) for(let l in langs){ if(langs[l] == default_lang){ continue } - const otherLangRender = {...renderOptions, ...getTlPartials(langs[l], path)} + let otherLangRender = {...renderOptions, ...getTlPartials(langs[l], path)} otherLangRender.lang = langs[l] + if(tl && tl[langs[l]]){ + otherLangRender = { + ...otherLangRender, + ...tl[langs[l]] + } + } otherLangRender.langPath = '/' + langs[l] createPath(otherLangRender.langPath + '/' + path, cb, otherLangRender, router) } diff --git a/views/home.hbs b/views/home.hbs index 4a02204..89e1190 100644 --- a/views/home.hbs +++ b/views/home.hbs @@ -2,7 +2,8 @@


- {{> (lookup . 'tl_red')}} + {{> (lookup . 'tl_red')}}
+ {{> (lookup . 'tl_en')}} @@ -14,127 +15,11 @@

LYRICAL TOKAREVの政

- A la hora de navegar este sitio, se encuentra estrictamente prohibido el actuar o pensar en los siguientes términos: + {{tl_alahora}}:

@@ -145,14 +30,14 @@
@@ -162,12 +47,10 @@

Lyrical Tokarev ~ Tabidachi Edition

Flower Tank

- Todavía quedan muchas cosas por hacer.
- ¡El Último Día está a la vuelta de la esquina! - Si se encuentra en necesidad inmediata de establecer un canal de comunicación, los detalles se pueden encontrar debajo...
+ {{> (lookup . 'tl_ultimodia')}}

- E-mail: mail@lyricaltokarev.com - Clave PGP (25AEE12CD6FBF27D985E6FCE5C6D682105D44517)
+ E-mail: mail@lyricaltokarev.com - {{tl_pgp}} (25AEE12CD6FBF27D985E6FCE5C6D682105D44517)

-

Índice

+

{{tl_index}}

@@ -189,7 +72,7 @@

- 所属 -

< Anillo de los Lunáticos >

- <= Anterior ☽

☾☾☾☾☾☾☾☾☾
Desde el día Domingo 20 de abril del año de nuestro Señor 2025, Lyrical Tokarev forma parte del Anillo de los Lunáticos.
---------------------------
Número de asociado: #1
☽☽☽☽☽☽☽☽☽

☾ Siguiente => + <= {{tl_anterior}} ☽

☾☾☾☾☾☾☾☾☾
{{tl_desdeldia}} {{tl_webring}}.
---------------------------
{{tl_asociado_numero}}: #1
☽☽☽☽☽☽☽☽☽

☾ {{tl_siguiente}} =>
@@ -197,20 +80,20 @@
- + - + @@ -234,22 +117,21 @@ @@ -258,8 +140,10 @@ @@ -278,12 +162,12 @@

Comic Chat

-

Corta el cordón umbilical.

+

{{{tl_cord}}}.

Discord? No Way -

De vuelta a la tierra santa.

+

{{tl_santa}}.

Loquendo critica destructiva a discord

Kiki threatens to shoot Kurogami in case her demands aren't met.

- Folder
Archivos de CC
+ Folder
{{tl_cc_files}}

YuugenMagan

YuugenMagan @@ -308,12 +192,12 @@
Lyrical Tokarev
Lyrical Tokarev Button -

Este sitio es un ip logger. No hagas hotlink carajo.

+

{{> (lookup . 'tl_hotlink')}}


-

Tabla de Visitantes

+

{{tl_visitor_table}}

Experimental.

@@ -340,7 +224,7 @@ {{!-- --}}

- + diff --git a/views/partials/translations/en/home/en.hbs b/views/partials/translations/en/home/en.hbs new file mode 100644 index 0000000..e69de29 diff --git a/views/partials/translations/en/home/hotlink.hbs b/views/partials/translations/en/home/hotlink.hbs new file mode 100644 index 0000000..895715a --- /dev/null +++ b/views/partials/translations/en/home/hotlink.hbs @@ -0,0 +1 @@ +This site is an ip logger. Do not hotlink \ No newline at end of file diff --git a/views/partials/translations/en/home/ley.hbs b/views/partials/translations/en/home/ley.hbs new file mode 100644 index 0000000..6961ea3 --- /dev/null +++ b/views/partials/translations/en/home/ley.hbs @@ -0,0 +1,122 @@ +
  • Content
  • +
  • Audience
  • +
  • Consume
  • +
  • Policy
  • +
  • Term
  • +
  • Deserve
  • +
  • Creator
  • +
  • Opinion
  • +
  • Art
  • +
  • Technologies
  • +
  • Motivation
  • ç +
  • Community
  • +
  • Toxic
  • +
  • Views
  • +
  • Preference
  • +
  • Feed
  • +
  • Browse
  • +
  • Develop
  • +
  • Saturated
  • +
  • Right
  • +
  • Left
  • +
  • Life
  • +
  • Tweet
  • +
  • Obscure
  • +
  • Vibe
  • +
  • Aesthetic
  • +
  • Deprecated
  • +
  • Obsolete
  • +
  • Dream
  • +
  • Outdated
  • +
  • Course
  • +
  • Consent
  • +
  • Oppresion
  • +
  • Y'all
  • +
  • Yikes
  • +
  • Project
  • +
  • Idea
  • +
  • Pibes/Pibas
  • +
  • Identity
  • +
  • Global
  • +
  • Emotional
  • +
  • Planning
  • +
  • Modern
  • +
  • Urban
  • +
  • Matrix
  • +
  • Artist
  • +
  • Retention
  • +
  • Personality
  • +
  • Discrimination
  • +
  • Smart
  • +
  • App
  • +
  • Youtuber
  • +
  • Institutional
  • +
  • Power
  • +
  • Privilege
  • +
  • Streamer
  • +
  • People
  • +
  • Resource
  • +
  • Inequality
  • +
  • Fee
  • +
  • Bullying
  • +
  • Equality
  • +
  • System
  • +
  • Design
  • +
  • Cloud
  • +
  • Personal
  • +
  • Sexuality
  • +
  • Fact
  • +
  • Tendency
  • +
  • Algorithm
  • +
  • Viral
  • +
  • Checked
  • +
  • Debunk
  • +
  • Social
  • +
  • License
  • +
  • Credit
  • +
  • Attraction
  • +
  • Numbers
  • +
  • Media
  • +
  • Medium
  • +
  • Amount
  • +
  • Reader
  • +
  • Dynamics
  • +
  • Collective
  • +
  • Rational
  • +
  • Mental
  • +
  • Tolerant
  • +
  • Goods
  • +
  • Service
  • +
  • Advocate
  • +
  • Diverse
  • +
  • Fame
  • +
  • Piracy
  • +
  • Take
  • +
  • Dogma
  • +
  • Market
  • +
  • Followers
  • +
  • Activism
  • +
  • Activist
  • +
  • Privacy
  • +
  • Cancel
  • +
  • Controversial
  • +
  • Subscribers
  • +
  • Likes
  • +
  • Material
  • +
  • Responsive
  • +
  • Free
  • +
  • Achievement
  • +
  • Pride
  • +
  • Democratic
  • +
  • Strategic
  • +
  • Talent
  • +
  • Success
  • +
  • Platform
  • +
  • Procrastination
  • +
  • Public
  • +
  • Passion
  • +
  • Gender
  • +
  • Popularity
  • +
  • Production
  • +
  • Product
  • +
  • Productive
  • \ No newline at end of file diff --git a/views/partials/translations/en/home/listado.hbs b/views/partials/translations/en/home/listado.hbs new file mode 100644 index 0000000..b067d05 --- /dev/null +++ b/views/partials/translations/en/home/listado.hbs @@ -0,0 +1 @@ +Not everything is listed in here. Try clicking around the site for more! diff --git a/views/partials/translations/en/home/ultimodia.hbs b/views/partials/translations/en/home/ultimodia.hbs new file mode 100644 index 0000000..2ea17fe --- /dev/null +++ b/views/partials/translations/en/home/ultimodia.hbs @@ -0,0 +1,3 @@ +There are things to do.
    +The World's Last Day is just around the corner!
    +If you find yourself in dire need of establishing a communication channel, details are following below...
    \ No newline at end of file diff --git a/views/partials/translations/es/home/en.hbs b/views/partials/translations/es/home/en.hbs new file mode 100644 index 0000000..cfb5715 --- /dev/null +++ b/views/partials/translations/es/home/en.hbs @@ -0,0 +1 @@ +

       ENGLISH VERSION (WIP) (MOST PAGES WERE ALREADY IN ENGLISH AND THE SPANISH ONES ARE UNTRANSLATED ANYWAYS)

    diff --git a/views/partials/translations/es/home/hotlink.hbs b/views/partials/translations/es/home/hotlink.hbs new file mode 100644 index 0000000..7af872d --- /dev/null +++ b/views/partials/translations/es/home/hotlink.hbs @@ -0,0 +1 @@ +Este sitio es un ip logger. No hagas hotlink \ No newline at end of file diff --git a/views/partials/translations/es/home/ley.hbs b/views/partials/translations/es/home/ley.hbs new file mode 100644 index 0000000..addcad3 --- /dev/null +++ b/views/partials/translations/es/home/ley.hbs @@ -0,0 +1,117 @@ +
  • Contenido
  • +
  • Audiencia
  • +
  • Consumir
  • +
  • Política (medida)
  • +
  • Término
  • +
  • Merecer
  • +
  • Creador
  • +
  • Opinion
  • +
  • Arte
  • +
  • Obra
  • +
  • Tecnologías
  • +
  • Motivación
  • +
  • Comunidad
  • +
  • Tóxico
  • +
  • Preferencia
  • +
  • Desarrollar
  • +
  • Saturado
  • +
  • Derecha
  • +
  • Izquierda
  • +
  • Vida
  • +
  • Tweet
  • +
  • Oscuro
  • +
  • Estética
  • +
  • Deprecado
  • +
  • Obsoleto
  • +
  • Sueños
  • +
  • Desactualizado
  • +
  • Curso
  • +
  • Consentimiento
  • +
  • Oppresión
  • +
  • Proyecto
  • +
  • Idea
  • +
  • Pibas
  • +
  • Identidad
  • +
  • Global
  • +
  • Emocional
  • +
  • Proyectar
  • +
  • Moderno
  • +
  • Urbano
  • +
  • Artista
  • +
  • Retención
  • +
  • Personalidad
  • +
  • Discriminación
  • +
  • Smart
  • +
  • App
  • +
  • Youtuber
  • +
  • Institucional
  • +
  • Poder
  • +
  • Privilegio
  • +
  • Streamer
  • +
  • Gente
  • +
  • Recurso
  • +
  • Desigualdad
  • +
  • Taza
  • +
  • Bullying
  • +
  • Igualdad
  • +
  • Sistema
  • +
  • Diseño
  • +
  • Nube
  • +
  • Personal
  • +
  • Sexualidad
  • +
  • Facto
  • +
  • Factores
  • +
  • Tendencia
  • +
  • Algoritmo
  • +
  • Viral
  • +
  • Chequeado
  • +
  • Social
  • +
  • Licencia
  • +
  • Crédito
  • +
  • Atracción
  • +
  • Números
  • +
  • Medio
  • +
  • Cantidad
  • +
  • Lector
  • +
  • Dinámicas
  • +
  • Colectivo
  • +
  • Racional
  • +
  • Mental
  • +
  • Tolerante
  • +
  • Bienes
  • +
  • Servicio
  • +
  • Partidario
  • +
  • Diverso
  • +
  • Fama
  • +
  • Redes
  • +
  • Piratería
  • +
  • Take
  • +
  • Dogma
  • +
  • Mercado
  • +
  • Seguidores
  • +
  • Activismo
  • +
  • Activista
  • +
  • Privacidad
  • +
  • Cancelación
  • +
  • Controversial
  • +
  • Suscriptores
  • +
  • Likes
  • +
  • Material
  • +
  • Responsivo
  • +
  • Libre
  • +
  • Logro
  • +
  • Orgullo
  • +
  • Democrático
  • +
  • Estratégico
  • +
  • Talento
  • +
  • Éxito
  • +
  • Plataforma
  • +
  • Procrastinación
  • +
  • Público
  • +
  • Pasión
  • +
  • Género
  • +
  • Popularidad
  • +
  • Producción
  • +
  • Producto
  • +
  • Productivo
  • +
  • Productividad
  • \ No newline at end of file diff --git a/views/partials/translations/es/home/listado.hbs b/views/partials/translations/es/home/listado.hbs new file mode 100644 index 0000000..d9b3b50 --- /dev/null +++ b/views/partials/translations/es/home/listado.hbs @@ -0,0 +1 @@ +No todo está listado acá. Intenta clickear por ahí para ver más! \ No newline at end of file diff --git a/views/partials/translations/es/home/ultimodia.hbs b/views/partials/translations/es/home/ultimodia.hbs new file mode 100644 index 0000000..76c8490 --- /dev/null +++ b/views/partials/translations/es/home/ultimodia.hbs @@ -0,0 +1,3 @@ +Todavía quedan muchas cosas por hacer.
    +¡El Último Día está a la vuelta de la esquina!
    +Si se encuentra en necesidad inmediata de establecer un canal de comunicación, los detalles se pueden encontrar debajo...
    \ No newline at end of file