mod: localized English version of README and UI texts, enhanced accessibility and internationalization features
HYPN0 Build and Push Docker Image / build-and-push (push) Successful in 51s
HYPN0 Build and Push Docker Image / build-and-push (push) Successful in 51s
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{% extends '_base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block PAGE_TITLE %}Хроники гипноза — Блог и манифесты волновой матрицы{% if page_obj.number > 1 %} (Фаза {{ page_obj.number }}){% endif %} | HypnoSVG{% endblock %}
|
||||
{% block PAGE_TITLE %}Hypno Chronicles — Blog & Wave Matrix Manifestos{% if page_obj.number > 1 %} (Phase {{ page_obj.number }}){% endif %} | HypnoSVG{% endblock %}
|
||||
|
||||
{% block META_TITLE %}Хроники гипноза — Блог HypnoSVG{% if page_obj.number > 1 %} (Фаза {{ page_obj.number }}){% endif %}{% endblock %}
|
||||
{% block META_TITLE %}Hypno Chronicles — HypnoSVG Blog{% if page_obj.number > 1 %} (Phase {{ page_obj.number }}){% endif %}{% endblock %}
|
||||
|
||||
{% block META_DESCRIPTION %}Официальные депеши из глубин подсознания: руководства по векторному трансу, алгоритмы волновых матриц и психоделические статьи HypnoSVG.{% if page_obj.number > 1 %} Страница {{ page_obj.number }} из {{ page_obj.paginator.num_pages }}.{% endif %}{% endblock %}
|
||||
{% block META_DESCRIPTION %}Official dispatches from the depths of the subconscious: guides to vector trance, wave matrix algorithms, and psychedelic chronicles by HypnoSVG.{% if page_obj.number > 1 %} Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}.{% endif %}{% endblock %}
|
||||
|
||||
{% block OG_TITLE %}Хроники гипноза — Блог HypnoSVG{% if page_obj.number > 1 %} (Фаза {{ page_obj.number }}){% endif %}{% endblock %}
|
||||
{% block OG_TITLE %}Hypno Chronicles — HypnoSVG Blog{% if page_obj.number > 1 %} (Phase {{ page_obj.number }}){% endif %}{% endblock %}
|
||||
|
||||
{% block OG_DESCRIPTION %}Официальные депеши из глубин подсознания: руководства по векторному трансу, алгоритмы волновых матриц и психоделические статьи HypnoSVG.{% endblock %}
|
||||
{% block OG_DESCRIPTION %}Official dispatches from the depths of the subconscious: guides to vector trance, wave matrix algorithms, and psychedelic chronicles by HypnoSVG.{% endblock %}
|
||||
|
||||
{% block CANONICAL %}{{ request.scheme }}://{{ request.get_host }}{{ request.path }}{% if page_obj.number > 1 %}?page={{ page_obj.number }}{% endif %}{% endblock %}
|
||||
|
||||
@@ -33,17 +33,17 @@
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"/>
|
||||
</svg>
|
||||
<span>Генератор</span>
|
||||
<span>Generator</span>
|
||||
</a>
|
||||
<span class="text-stone-300 dark:text-zinc-700">•</span>
|
||||
<a href="{% url 'hypn0_site:gallery_archive' %}"
|
||||
class="inline-flex items-center gap-1.5 text-stone-500 hover:text-stone-900 dark:text-stone-400 dark:hover:text-stone-100 transition-colors border-0">
|
||||
<span>Галерея транса</span>
|
||||
<span>Trance Gallery</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<span class="text-xs font-mono text-stone-500 dark:text-stone-400">
|
||||
Фаза {{ page_obj.number }} из {{ page_obj.paginator.num_pages }} (Материализовано депеш: {{ total_posts_count }})
|
||||
Phase {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} (Dispatches materialized: {{ total_posts_count }})
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<div class="flex flex-wrap items-center gap-3">
|
||||
<span class="inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-black uppercase tracking-wider bg-purple-500/20 text-purple-700 dark:text-purple-300 border border-purple-500/30">
|
||||
<span class="w-2 h-2 rounded-full bg-purple-500 animate-pulse"></span>
|
||||
Хроники гипноза
|
||||
Hypno Chronicles
|
||||
</span>
|
||||
<span class="text-xs font-mono text-stone-500 dark:text-stone-400">
|
||||
NOOSPHERE ARCHIVE
|
||||
@@ -61,11 +61,11 @@
|
||||
</div>
|
||||
|
||||
<h1 class="text-3xl sm:text-5xl font-black uppercase tracking-tight text-stone-900 dark:text-stone-100">
|
||||
Депеши из глубин подсознания
|
||||
Dispatches from Subconscious Depths
|
||||
</h1>
|
||||
|
||||
<p class="text-sm sm:text-base text-stone-600 dark:text-stone-300 max-w-2xl leading-relaxed">
|
||||
Теория векторных пульсаций, секретные руководства по интеграции SVG-матриц и наблюдения за поведением мозговых слизней в естественной среде.
|
||||
Theory of vector pulsations, classified guides to SVG matrix integration, and field observations of Brain Slugs in their natural habitat.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -110,18 +110,18 @@
|
||||
</span>
|
||||
{% elif post.child_posts.exists %}
|
||||
<span class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-bold uppercase tracking-wider bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 border border-emerald-500/20">
|
||||
Цикл / Серия
|
||||
Series / Arc
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% if post.k_item %}
|
||||
<span class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-mono font-bold bg-cyan-500/10 text-cyan-700 dark:text-cyan-300 border border-cyan-500/20" title="Привязана SVG-генерация">
|
||||
<span class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-mono font-bold bg-cyan-500/10 text-cyan-700 dark:text-cyan-300 border border-cyan-500/20" title="Attached SVG generation">
|
||||
+SVG
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
<time datetime="{{ post.d_published_at|date:'c' }}" class="text-[11px] font-mono text-stone-400 dark:text-stone-500 ml-auto">
|
||||
{{ post.d_published_at|date:'d E Y' }}
|
||||
<time datetime="{{ post.d_published_at|date:"c" }}" class="text-[11px] font-mono text-stone-400 dark:text-stone-500 ml-auto">
|
||||
{{ post.d_published_at|date:'d F Y' }}
|
||||
</time>
|
||||
</div>
|
||||
|
||||
@@ -145,11 +145,11 @@
|
||||
<a href="{{ post.get_absolute_url }}"
|
||||
class="group/link inline-flex items-center gap-1.5 text-xs font-bold border-0 text-emerald-600 dark:text-lime-400 hover:text-emerald-500 dark:hover:text-lime-300 transition-colors">
|
||||
<span class="border-b border-dotted border-emerald-600/60 dark:border-lime-500/60 group-hover/link:border-solid">
|
||||
{% if post.id|divisibleby:5 %}и так далее, в глубинах подсознания
|
||||
{% elif post.id|divisibleby:4 %}подробнее, в блоге Гипножабы
|
||||
{% elif post.id|divisibleby:3 %}подробнее, в записках Мозгового Слизня
|
||||
{% elif post.id|divisibleby:2 %}занятный бред, продолжу чтение
|
||||
{% else %}безвольно продолжить чтение{% endif %}
|
||||
{% if post.id|divisibleby:5 %}and so forth, into the depths
|
||||
{% elif post.id|divisibleby:4 %}read more in the Hypnotoad blog
|
||||
{% elif post.id|divisibleby:3 %}read more in the Brain Slug notes
|
||||
{% elif post.id|divisibleby:2 %}fascinating trance, keep reading
|
||||
{% else %}passively surrender to reading{% endif %}
|
||||
</span>
|
||||
<svg class="w-3.5 h-3.5 shrink-0 transition-transform duration-200 group-hover/link:translate-x-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"/>
|
||||
@@ -163,7 +163,7 @@
|
||||
<svg class="w-12 h-12 mx-auto opacity-30 animate-pulse" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"/>
|
||||
</svg>
|
||||
<p class="font-medium text-sm">Хроники гипноза пока пусты. Новые депеши готовятся к материализации.</p>
|
||||
<p class="font-medium text-sm">The Hypno Chronicles are currently vacant. New dispatches are awaiting materia­lization.</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -179,14 +179,14 @@
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
|
||||
</svg>
|
||||
<span>Предыдущая фаза</span>
|
||||
<span>Previous phase</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<span class="inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs font-bold text-stone-400 dark:text-stone-600 bg-stone-100/50 dark:bg-zinc-900/50 border border-stone-200/50 dark:border-zinc-800/50 opacity-50 cursor-not-allowed">
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
|
||||
</svg>
|
||||
<span>Предыдущая фаза</span>
|
||||
<span>Previous phase</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -212,14 +212,14 @@
|
||||
<a href="?page={{ page_obj.next_page_number }}"
|
||||
rel="next"
|
||||
class="inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs font-bold bg-purple-600 hover:bg-purple-700 text-white transition-all hover:scale-105 active:scale-95 shadow-md border-0 cursor-pointer">
|
||||
<span>Следующая фаза</span>
|
||||
<span>Next phase</span>
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
|
||||
</svg>
|
||||
</a>
|
||||
{% else %}
|
||||
<span class="inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs font-bold text-stone-400 dark:text-stone-600 bg-stone-100/50 dark:bg-zinc-900/50 border border-stone-200/50 dark:border-zinc-800/50 opacity-50 cursor-not-allowed">
|
||||
<span>Следующая фаза</span>
|
||||
<span>Next phase</span>
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user