feat/flask: global locales and templates rework
Now list of locales is autogenerated from locales .ini files, and each locale use shared template files
This commit is contained in:
19
app.py
19
app.py
@@ -23,6 +23,7 @@ def load_all_locales():
|
|||||||
locales_dict = {}
|
locales_dict = {}
|
||||||
locales_dir = "locales"
|
locales_dir = "locales"
|
||||||
|
|
||||||
|
# ---------- load every .ini file ----------
|
||||||
for filename in listdir(locales_dir):
|
for filename in listdir(locales_dir):
|
||||||
if filename.endswith(".ini"):
|
if filename.endswith(".ini"):
|
||||||
lang = path.splitext(filename)[0]
|
lang = path.splitext(filename)[0]
|
||||||
@@ -31,11 +32,23 @@ def load_all_locales():
|
|||||||
cp.read_file(f)
|
cp.read_file(f)
|
||||||
locales_dict[lang] = {section: dict(cp[section]) for section in cp.sections()}
|
locales_dict[lang] = {section: dict(cp[section]) for section in cp.sections()}
|
||||||
|
|
||||||
|
# ---------- turn it into a list ----------
|
||||||
for code, data in locales_dict.items():
|
for code, data in locales_dict.items():
|
||||||
full_name = data.get("title", {}).get("language", code)
|
full_name = data.get("title", {}).get("language", code)
|
||||||
locales_list.append({"code": code, "name": full_name})
|
locales_list.append({"code": code, "name": full_name})
|
||||||
|
|
||||||
print(locales_list)
|
# ---------- hand-sort: en → ru → es → everything else (alphabetical) ----------
|
||||||
|
priority = ["en", "ru", "es"]
|
||||||
|
locales_list.sort(
|
||||||
|
key=lambda loc: (
|
||||||
|
0,
|
||||||
|
priority.index(loc["code"])
|
||||||
|
) if loc["code"] in priority else (
|
||||||
|
1,
|
||||||
|
loc["code"]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
return locales_list, locales_dict
|
return locales_list, locales_dict
|
||||||
|
|
||||||
|
|
||||||
@@ -63,7 +76,7 @@ def index(lang):
|
|||||||
abort(404)
|
abort(404)
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
f"{lang}.html",
|
"index.html",
|
||||||
loc_list = locales_list,
|
loc_list = locales_list,
|
||||||
locale = locales_dict[lang],
|
locale = locales_dict[lang],
|
||||||
lang = lang,
|
lang = lang,
|
||||||
@@ -79,7 +92,7 @@ def download_page(lang):
|
|||||||
abort(404)
|
abort(404)
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
"tmpl/download.htm",
|
"download.html",
|
||||||
loc_list = locales_list,
|
loc_list = locales_list,
|
||||||
locale = locales_dict[lang],
|
locale = locales_dict[lang],
|
||||||
lang = lang,
|
lang = lang,
|
||||||
|
@@ -19,6 +19,26 @@ git = Git
|
|||||||
header = KolibriOS ist zu Git gewechselt!
|
header = KolibriOS ist zu Git gewechselt!
|
||||||
text = Schau dir unsere neue entwicklerfreundliche Infrastruktur an
|
text = Schau dir unsere neue entwicklerfreundliche Infrastruktur an
|
||||||
|
|
||||||
|
[article]
|
||||||
|
p1[0] = ist ein winziges, aber unglaublich leistungsfähiges und schnelles Betriebssystem für x86-kompatible PCs. Es benötigt nur wenige Megabyte Speicherplatz, einen i586-Prozessor und 12 MB RAM. Trotz seiner geringen Größe enthält es eine Vielzahl von Anwendungen wie einen Texteditor, einen Bildbetrachter, einen Grafikeditor, einen Webbrowser und über 30 spannende Spiele. Es bietet vollständige Unterstützung für die Dateisysteme FAT12/16/32, ermöglicht Lesezugriff auf NTFS, exFAT, ISO9660 und Ext2/3/4 sowie eine umfangreiche Sammlung von
|
||||||
|
p1[1] = Treibern
|
||||||
|
p1[2] = für gängige Sound-, Netzwerk- und Grafikkarten.
|
||||||
|
|
||||||
|
p2[0] = Haben Sie schon einmal von einem System geträumt, das in weniger als wenigen Sekunden vom Einschalten bis zu einer funktionierenden GUI bootet? Anwendungen, die sofort starten, direkt nach dem Klicken auf ein Symbol, ohne lästige Sanduhrzeiger? Diese Geschwindigkeit wird erreicht, da die Kernkomponenten von
|
||||||
|
p2[1] = (Kernel und Treiber) vollständig in der Assemblersprache
|
||||||
|
p2[11] = geschrieben sind
|
||||||
|
p2[2] = Probieren Sie
|
||||||
|
p2[3] = aus und vergleichen Sie es mit Schwergewichten wie Windows und Linux.
|
||||||
|
|
||||||
|
p3[0] = hat sich 2004 von MenuetOS abgespalten und wird seitdem unabhängig entwickelt. Ihr
|
||||||
|
p3[1] = Rückmeldung
|
||||||
|
p3[2] = wird sehr geschätzt, und Ihre
|
||||||
|
p3[3] = Hilfe
|
||||||
|
p3[4] = ist noch mehr willkommen.
|
||||||
|
|
||||||
|
p_subscription[0] = Wir hoffen, es gefällt Ihnen!
|
||||||
|
p_subscription[1] = KolibriOS-Team
|
||||||
|
|
||||||
[downloads]
|
[downloads]
|
||||||
header = Herunterladen
|
header = Herunterladen
|
||||||
|
|
||||||
|
@@ -19,6 +19,26 @@ git = Git
|
|||||||
header = KolibriOS moved to Git!
|
header = KolibriOS moved to Git!
|
||||||
text = Check our new developers-friendly infrastructure
|
text = Check our new developers-friendly infrastructure
|
||||||
|
|
||||||
|
[article]
|
||||||
|
p1[0] = is a tiny yet incredibly powerful and fast operating system for x86-compatible PCs. It requires only a few megabytes of disk space, an i586 processor, and 12 MB of RAM to run. Despite its small size, it includes a rich set of applications such as a text editor, image viewer, graphic editor, web browser, and over 30 exciting games. It offers full support for FAT12/16/32 file systems, read-only access to NTFS, exFAT, ISO9660, and Ext2/3/4, and
|
||||||
|
p1[1] = drivers
|
||||||
|
p1[2] = for popular sound, network, and graphics cards.
|
||||||
|
|
||||||
|
p2[0] = Have you ever dreamed of a system that boots in less than few seconds from power-on to working GUI? About applications that start instantly, immediately after clicking an icon, without annoying hourglass pointers? This speed is achieved since the core parts of
|
||||||
|
p2[1] = (kernel and drivers) are written entirely in
|
||||||
|
p2[11] = assembly language
|
||||||
|
p2[2] = Try
|
||||||
|
p2[3] = and compare it with such heavyweights as Windows and Linux.
|
||||||
|
|
||||||
|
p3[0] = has forked off from MenuetOS in 2004, and is run under independent development since then. Your
|
||||||
|
p3[1] = feedback
|
||||||
|
p3[2] = is very much appreciated, and your
|
||||||
|
p3[3] = help
|
||||||
|
p3[4] = is even more welcome.
|
||||||
|
|
||||||
|
p_subscription[0] = We hope you will enjoy it!
|
||||||
|
p_subscription[1] = KolibriOS Team
|
||||||
|
|
||||||
[downloads]
|
[downloads]
|
||||||
header = Downloads
|
header = Downloads
|
||||||
|
|
||||||
|
@@ -19,6 +19,25 @@ git = Git
|
|||||||
header = ¡KolibriOS se ha trasladado a Git!
|
header = ¡KolibriOS se ha trasladado a Git!
|
||||||
text = Mira nuestra nueva infraestructura amigable para desarrolladores
|
text = Mira nuestra nueva infraestructura amigable para desarrolladores
|
||||||
|
|
||||||
|
[article]
|
||||||
|
p1[0] = es un sistema operativo diminuto, pero increíblemente potente y rápido para PCs compatibles con x86. Solo necesita unos pocos megabytes de espacio en disco, un procesador i586 y 12 MB de memoria RAM. A pesar de su tamaño reducido, incluye un conjunto completo de aplicaciones como un editor de texto, visor de imágenes, editor gráfico, navegador web y más de 30 juegos emocionantes. Ofrece soporte completo para los sistemas de archivos FAT12/16/32, acceso de solo lectura a NTFS, exFAT, ISO9660 y Ext2/3/4, y dispone de un extenso conjunto de
|
||||||
|
p1[1] = controladores
|
||||||
|
p1[2] = para populares tarjetas de sonido, red y gráficas.
|
||||||
|
|
||||||
|
p2[0] = ¿Alguna vez has soñado con un sistema que arranca en menos de unos segundos, desde el encendido hasta una GUI operativa? ¿Con aplicaciones que se inician al instante, inmediatamente después de hacer clic en un icono, sin esos molestos punteros de reloj de arena? Esta velocidad se logra porque las partes fundamentales de
|
||||||
|
p2[1] = (núcleo y controladores) están escritas completamente en lenguaje ensamblador
|
||||||
|
p2[2] = Prueba
|
||||||
|
p2[3] = y compáralo con pesos pesados como Windows y Linux.
|
||||||
|
|
||||||
|
p3[0] = separó de MenuetOS en 2004 y ha estado en desarrollo independiente desde entonces. Se agradece enormemente tu
|
||||||
|
p3[1] = retroalimentación
|
||||||
|
p3[2] = , y tu
|
||||||
|
p3[3] = ayuda
|
||||||
|
p3[4] = es aún más bienvenida.
|
||||||
|
|
||||||
|
p_subscription[0] = ¡Esperamos que lo disfrutes!
|
||||||
|
p_subscription[1] = Equipo KolibriOS
|
||||||
|
|
||||||
[downloads]
|
[downloads]
|
||||||
header = Descargas
|
header = Descargas
|
||||||
|
|
||||||
|
@@ -19,6 +19,25 @@ git = Git
|
|||||||
header = KolibriOS a déménagé sur Git !
|
header = KolibriOS a déménagé sur Git !
|
||||||
text = Découvrez notre nouvelle infrastructure conviviale pour les développeurs
|
text = Découvrez notre nouvelle infrastructure conviviale pour les développeurs
|
||||||
|
|
||||||
|
[article]
|
||||||
|
p1[0] = est un système d`exploitation minuscule, mais incroyablement puissant et rapide, pour les PC compatibles x86. Il nécessite seulement quelques mégaoctets d`espace disque, un processeur i586 et 12 Mo de RAM. Malgré sa petite taille, il comprend une large gamme d`applications telles qu`un éditeur de texte, un visionneur d`images, un éditeur graphique, un navigateur web, et plus de 30 jeux captivants. Il prend en charge pleinement les systèmes de fichiers FAT12/16/32, permet la lecture seule de NTFS, exFAT, ISO9660 et Ext2/3/4, et offre un vaste ensemble de
|
||||||
|
p1[1] = pilotes
|
||||||
|
p1[2] = pour les cartes son, réseau et graphiques populaires.
|
||||||
|
|
||||||
|
p2[0] = Avez-vous déjà rêvé d`un système qui démarre en quelques secondes, de la mise sous tension jusqu`à une interface graphique opérationnelle ? Des applications qui se lancent instantanément, immédiatement après avoir cliqué sur une icône, sans ces pointeurs sabliers agaçants ? Cette rapidité est obtenue car les parties essentielles de
|
||||||
|
p2[1] = (noyau et pilotes) sont entièrement écrites en langage assembleur
|
||||||
|
p2[2] = Essayez
|
||||||
|
p2[3] = et comparez-le à des poids lourds tels que Windows et Linux.
|
||||||
|
|
||||||
|
p3[0] = s`est séparé de MenuetOS en 2004 et est développé de manière indépendante depuis lors. Vos
|
||||||
|
p3[1] = retours
|
||||||
|
p3[2] = sont grandement appréciés, et votre
|
||||||
|
p3[3] = aide
|
||||||
|
p3[4] = est encore plus bienvenue.
|
||||||
|
|
||||||
|
p_subscription[0] = Nous espérons que vous l`apprécierez !
|
||||||
|
p_subscription[1] = L`équipe de KolibriOS
|
||||||
|
|
||||||
[downloads]
|
[downloads]
|
||||||
header = Téléchargements
|
header = Téléchargements
|
||||||
|
|
||||||
|
@@ -19,6 +19,25 @@ git = Git
|
|||||||
header = KolibriOS si è spostato su Git!
|
header = KolibriOS si è spostato su Git!
|
||||||
text = Dai un`occhiata alla nostra nuova infrastruttura pensata per gli sviluppatori
|
text = Dai un`occhiata alla nostra nuova infrastruttura pensata per gli sviluppatori
|
||||||
|
|
||||||
|
[article]
|
||||||
|
p1[0] = è un sistema operativo minuscolo, ma incredibilmente potente e veloce, per PC compatibili con x86. Per funzionare richiede solo pochi megabyte di spazio su disco, un processore i586 e 12 MB di RAM. Nonostante le dimensioni ridotte, include un ricco set di applicazioni come editor di testo, visualizzatore di immagini, editor grafico, browser web e oltre 30 giochi entusiasmanti. Supporta completamente i file system FAT12/16/32, e permette la lettura di NTFS, exFAT, ISO9660 ed Ext2/3/4, oltre a offrire un ampio set di
|
||||||
|
p1[1] = driver
|
||||||
|
p1[2] = per schede audio, di rete e grafiche più diffuse.
|
||||||
|
|
||||||
|
p2[0] = Hai mai sognato un sistema che si avvia in pochi secondi, dall`accensione fino a una GUI funzionante? Applicazioni che partono immediatamente, subito dopo aver cliccato su un`icona, senza quei fastidiosi cursori a clessidra? Questa velocità si ottiene poiché le parti fondamentali di
|
||||||
|
p2[1] = (kernel e driver) sono scritte interamente in linguaggio assembly
|
||||||
|
p2[2] = Prova
|
||||||
|
p2[3] = e confrontalo con colossi come Windows e Linux.
|
||||||
|
|
||||||
|
p3[0] = si è staccato da MenuetOS nel 2004 ed è in sviluppo indipendente da allora. Il tuo
|
||||||
|
p3[1] = recensioni
|
||||||
|
p3[2] = è molto apprezzato, e il tuo
|
||||||
|
p3[3] = aiuto
|
||||||
|
p3[4] = è ancora più benvenuto.
|
||||||
|
|
||||||
|
p_subscription[0] = Ci auguriamo che vi piaccia!
|
||||||
|
p_subscription[1] = Squadra KolibriOS
|
||||||
|
|
||||||
[downloads]
|
[downloads]
|
||||||
header = Scaricamento
|
header = Scaricamento
|
||||||
|
|
||||||
|
@@ -19,6 +19,26 @@ git = Git
|
|||||||
header = KolibriOS is verhuisd naar Git!
|
header = KolibriOS is verhuisd naar Git!
|
||||||
text = Bekijk onze nieuwe, ontwikkelaarsvriendelijke infrastructuur
|
text = Bekijk onze nieuwe, ontwikkelaarsvriendelijke infrastructuur
|
||||||
|
|
||||||
|
[article]
|
||||||
|
p1[0] = is een klein maar ongelooflijk krachtig en snel besturingssysteem voor x86-compatibele PC`s. Het heeft slechts enkele megabytes aan schijfruimte, een i586-processor en 12 MB RAM. Maar beschikt over een rijk scala aan toepassingen, waaronder een tekstverwerker, afbeeldingsviewer, grafische editor, webbrowser en meer dan 30 spannende games. Het biedt volledige ondersteuning voor de bestandssystemen FAT12/16/32, en heeft ook leesondersteuning voor NTFS, exFAT, ISO9660 en Ext2/3/4, en beschikt over een uitgebreide set van
|
||||||
|
p1[1] = drivers
|
||||||
|
p1[2] = voor populaire geluids-, netwerk- en grafische kaarten.
|
||||||
|
|
||||||
|
p2[0] = Heb je ooit gedroomd van een systeem dat opstart in minder dan een paar seconden, van het aanzetten tot een werkende GUI? Toepassingen die direct starten, meteen na het klikken op een icoon, zonder die vervelende zandlopers? Deze snelheid wordt bereikt omdat de kernonderdelen van
|
||||||
|
p2[1] = (kernel en drivers) volledig in de
|
||||||
|
p2[11] = assemblytaal geschreven zijn!
|
||||||
|
p2[2] = Probeer
|
||||||
|
p2[3] = en vergelijk het met zwaargewichten zoals Windows en Linux.
|
||||||
|
|
||||||
|
p3[0] = is in 2004 afgesplitst van MenuetOS en wordt sindsdien onafhankelijk ontwikkeld. Jouw
|
||||||
|
p3[1] = recensies
|
||||||
|
p3[2] = wordt zeer gewaardeerd, en jouw
|
||||||
|
p3[3] = hulp
|
||||||
|
p3[4] = is nog meer welkom.
|
||||||
|
|
||||||
|
p_subscription[0] = We hopen dat je ervan zult genieten!
|
||||||
|
p_subscription[1] = KolibriOS-Team
|
||||||
|
|
||||||
[downloads]
|
[downloads]
|
||||||
header = Downloads
|
header = Downloads
|
||||||
|
|
||||||
|
@@ -19,6 +19,25 @@ git = Git
|
|||||||
header = КолибриОС перешла на Git!
|
header = КолибриОС перешла на Git!
|
||||||
text = Ознакомьтесь с нашей новой, удобной для разработчиков инфраструктурой
|
text = Ознакомьтесь с нашей новой, удобной для разработчиков инфраструктурой
|
||||||
|
|
||||||
|
[article]
|
||||||
|
p1[0] = — это крошечная, но невероятно мощная и быстрая операционная система для x86-совместимых ПК. Для её работы достаточно всего нескольких мегабайт места на диске, процессора i586 и 12 МБ оперативной памяти. При этом она содержит богатый набор приложений, таких как текстовый редактор, просмотрщик изображений, графический редактор, веб-браузер и более 30 захватывающих игр.Имеется полная поддержка файловых систем FAT12/16/32, только на чтение доступны NTFS, exFAT, ISO9660 и Ext2/3/4, а также присутсвтвует обширный набор
|
||||||
|
p1[1] = драйверов
|
||||||
|
p1[2] = для популярных звуковых, сетевых и графических карт.
|
||||||
|
|
||||||
|
p2[0] = Вы когда-нибудь мечтали о системе, которая загружается менее чем за несколько секунд с момента включения до появления работающего графического интерфейса? О приложениях, которые запускаются мгновенно, сразу после нажатия на ярлык, без надоедливых индикаторов загрузки? Такая скорость достигается благодаря тому, что основные части
|
||||||
|
p2[1] = (ядро и драйверы) полностью написаны на ассемблере
|
||||||
|
p2[2] = Попробуйте
|
||||||
|
p2[3] = и сравните её с такими тяжеловесами, как Windows и Linux.
|
||||||
|
|
||||||
|
p3[0] = отделилась от MenuetOS в 2004 году и с тех пор развивается независимым международным сообществом. Ваши
|
||||||
|
p3[1] = отзывы
|
||||||
|
p3[2] = очень ценится, а ваша
|
||||||
|
p3[3] = помощь
|
||||||
|
p3[4] = ценится ещё больше.
|
||||||
|
|
||||||
|
p_subscription[0] = Надеемся, вам понравится!
|
||||||
|
p_subscription[1] = Команда КолибриОС
|
||||||
|
|
||||||
[downloads]
|
[downloads]
|
||||||
header = Скачать
|
header = Скачать
|
||||||
|
|
||||||
|
@@ -1,50 +0,0 @@
|
|||||||
{% extends 'tmpl/index.htm' %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% include 'tmpl/_git.htm' %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> ist ein winziges, aber unglaublich leistungsfähiges
|
|
||||||
und schnelles Betriebssystem für x86-kompatible PCs.
|
|
||||||
Es benötigt nur wenige Megabyte Speicherplatz, einen i586-Prozessor und 12 MB RAM.
|
|
||||||
Trotz seiner geringen Größe enthält es eine Vielzahl von
|
|
||||||
Anwendungen wie einen Texteditor, einen Bildbetrachter, einen Grafikeditor,
|
|
||||||
einen Webbrowser und über 30 spannende Spiele.
|
|
||||||
Es bietet vollständige Unterstützung für die Dateisysteme FAT12/16/32,
|
|
||||||
ermöglicht Lesezugriff auf NTFS, exFAT, ISO9660 und Ext2/3/4
|
|
||||||
sowie eine umfangreiche Sammlung von
|
|
||||||
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">Treibern</a>
|
|
||||||
für gängige Sound-, Netzwerk- und Grafikkarten.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Haben Sie schon einmal von einem System geträumt, das in weniger als wenigen
|
|
||||||
Sekunden vom Einschalten bis zu einer funktionierenden GUI bootet?
|
|
||||||
Anwendungen, die sofort starten, direkt nach dem Klicken auf ein Symbol,
|
|
||||||
ohne lästige Sanduhrzeiger? Diese Geschwindigkeit wird erreicht, da die
|
|
||||||
Kernkomponenten von <b>KolibriOS</b> (Kernel und Treiber)
|
|
||||||
vollständig in der Assemblersprache
|
|
||||||
<a href="http://www.flatassembler.net" target="_blank">FASM</a> geschrieben
|
|
||||||
sind!
|
|
||||||
Probieren Sie <b>KolibriOS</b> aus und vergleichen Sie es mit Schwergewichten
|
|
||||||
wie Windows und Linux.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> hat sich 2004 von MenuetOS abgespalten und wird seitdem
|
|
||||||
unabhängig entwickelt.
|
|
||||||
Ihr <a href="http://board.kolibrios.org">Feedback</a> wird sehr geschätzt,
|
|
||||||
und Ihre <a href="https://git.kolibrios.org/KolibriOS/kolibrios">Hilfe</a>
|
|
||||||
ist noch mehr willkommen.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="p-subscription">
|
|
||||||
<b>
|
|
||||||
Wir hoffen, es gefällt Ihnen!<br />
|
|
||||||
Ihr KolibriOS-Team
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
@@ -71,7 +71,6 @@
|
|||||||
{{ locale['downloads']['download_description[2]'] }}
|
{{ locale['downloads']['download_description[2]'] }}
|
||||||
<a href='https://git.kolibrios.org'>{{ locale['downloads']['download_description[3]'] }}</a>.
|
<a href='https://git.kolibrios.org'>{{ locale['downloads']['download_description[3]'] }}</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h1>{{ locale['screenshots']['header'] }}</h1>
|
<h1>{{ locale['screenshots']['header'] }}</h1>
|
||||||
|
|
@@ -1,48 +0,0 @@
|
|||||||
{% extends 'tmpl/index.htm' %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% include 'tmpl/_git.htm' %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> is a tiny yet incredibly powerful and fast operating
|
|
||||||
system for x86-compatible PCs.
|
|
||||||
It requires only a few megabytes of disk space, an i586 processor,
|
|
||||||
and 12 MB of RAM to run.
|
|
||||||
Despite its small size, it includes a rich set of applications such as a text editor,
|
|
||||||
image viewer, graphic editor, web browser, and over 30 exciting games.
|
|
||||||
It offers full support for FAT12/16/32 file systems, read-only access to
|
|
||||||
NTFS, exFAT, ISO9660, and Ext2/3/4, and boasts an extensive set of
|
|
||||||
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">drivers</a>
|
|
||||||
for popular sound, network, and graphics cards.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Have you ever dreamed of a system that boots in less than few seconds from
|
|
||||||
power-on to working GUI? About applications that start instantly, immediately
|
|
||||||
after clicking an icon, without annoying hourglass pointers?
|
|
||||||
This speed is achieved since the core parts of <b>KolibriOS</b>
|
|
||||||
(kernel and drivers) are written entirely in
|
|
||||||
<a href="http://www.flatassembler.net" target="_blank">FASM</a>
|
|
||||||
assembly language!
|
|
||||||
Try <b>KolibriOS</b> and compare it with such heavyweights as Windows and Linux.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> has forked off from MenuetOS in 2004, and is run under
|
|
||||||
independent development since then.
|
|
||||||
Your <a href="http://board.kolibrios.org">feedback</a> is very much
|
|
||||||
appreciated, and your
|
|
||||||
<a href="https://git.kolibrios.org/KolibriOS/kolibrios">help</a>
|
|
||||||
is even more welcome.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="p-subscription">
|
|
||||||
<b>
|
|
||||||
We hope you will enjoy it!<br />
|
|
||||||
KolibriOS Team
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
@@ -1,50 +0,0 @@
|
|||||||
{% extends 'tmpl/index.htm' %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% include 'tmpl/_git.htm' %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> es un sistema operativo diminuto, pero increíblemente
|
|
||||||
potente y rápido para PCs compatibles con x86.
|
|
||||||
Solo necesita unos pocos megabytes de espacio en disco, un procesador
|
|
||||||
i586 y 12 MB de memoria RAM.
|
|
||||||
A pesar de su tamaño reducido, incluye un conjunto completo de aplicaciones
|
|
||||||
como un editor de texto,
|
|
||||||
visor de imágenes, editor gráfico, navegador web y más de 30 juegos emocionantes.
|
|
||||||
Ofrece soporte completo para los sistemas de archivos FAT12/16/32,
|
|
||||||
acceso de solo lectura a NTFS, exFAT, ISO9660 y Ext2/3/4,
|
|
||||||
y dispone de un extenso conjunto de
|
|
||||||
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">controladores</a>
|
|
||||||
para populares tarjetas de sonido, red y gráficas.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
¿Alguna vez has soñado con un sistema que arranca en menos de unos segundos,
|
|
||||||
desde el encendido hasta una GUI operativa? ¿Con aplicaciones que se inician
|
|
||||||
al instante, inmediatamente después de hacer clic en un icono, sin esos
|
|
||||||
molestos punteros de reloj de arena?
|
|
||||||
Esta velocidad se logra porque las partes fundamentales de <b>KolibriOS</b>
|
|
||||||
(núcleo y controladores) están escritas completamente en lenguaje ensamblador
|
|
||||||
<a href="http://www.flatassembler.net" target="_blank">FASM</a>!
|
|
||||||
Prueba <b>KolibriOS</b> y compáralo con pesos pesados como Windows y Linux.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> se separó de MenuetOS en 2004 y ha estado en desarrollo
|
|
||||||
independiente desde entonces.
|
|
||||||
Se agradece enormemente tu
|
|
||||||
<a href="http://board.kolibrios.org">retroalimentación</a>, y tu
|
|
||||||
<a href="https://git.kolibrios.org/KolibriOS/kolibrios">ayuda</a>
|
|
||||||
es aún más bienvenida.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="p-subscription">
|
|
||||||
<b>
|
|
||||||
¡Esperamos que lo disfrutes!<br />
|
|
||||||
Equipo KolibriOS
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
@@ -1,49 +0,0 @@
|
|||||||
{% extends 'tmpl/index.htm' %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% include 'tmpl/_git.htm' %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> est un système d'exploitation minuscule,
|
|
||||||
mais incroyablement puissant et rapide, pour les PC compatibles x86.
|
|
||||||
Il nécessite seulement quelques mégaoctets d'espace disque,
|
|
||||||
un processeur i586 et 12 Mo de RAM.
|
|
||||||
Malgré sa petite taille, il comprend une large gamme d'applications telles qu'un
|
|
||||||
éditeur de texte, un visionneur d'images, un éditeur graphique, un navigateur web,
|
|
||||||
et plus de 30 jeux captivants.
|
|
||||||
Il prend en charge pleinement les systèmes de fichiers FAT12/16/32,
|
|
||||||
permet la lecture seule de NTFS, exFAT, ISO9660 et Ext2/3/4,
|
|
||||||
et offre un vaste ensemble de
|
|
||||||
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">pilotes</a>
|
|
||||||
pour les cartes son, réseau et graphiques populaires.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Avez-vous déjà rêvé d'un système qui démarre en quelques secondes, de la mise
|
|
||||||
sous tension jusqu'à une interface graphique opérationnelle ? Des applications
|
|
||||||
qui se lancent instantanément, immédiatement après avoir cliqué sur une icône,
|
|
||||||
sans ces pointeurs sabliers agaçants ?
|
|
||||||
Cette rapidité est obtenue car les parties essentielles de <b>KolibriOS</b>
|
|
||||||
(noyau et pilotes) sont entièrement écrites en langage assembleur
|
|
||||||
<a href="http://www.flatassembler.net" target="_blank">FASM</a> !
|
|
||||||
Essayez <b>KolibriOS</b> et comparez-le à des poids lourds tels que Windows et Linux.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> s'est séparé de MenuetOS en 2004 et est développé de manière
|
|
||||||
indépendante depuis lors.
|
|
||||||
Vos <a href="http://board.kolibrios.org">retours</a> sont grandement appréciés,
|
|
||||||
et votre <a href="https://git.kolibrios.org/KolibriOS/kolibrios">aide</a>
|
|
||||||
est encore plus bienvenue.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="p-subscription">
|
|
||||||
<b>
|
|
||||||
Nous espérons que vous l'apprécierez !<br />
|
|
||||||
L'équipe de KolibriOS
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
@@ -10,9 +10,11 @@
|
|||||||
{% include 'tmpl/_menu.htm' %}
|
{% include 'tmpl/_menu.htm' %}
|
||||||
|
|
||||||
<div id="article">
|
<div id="article">
|
||||||
{% block content %}{% endblock %}
|
{% include 'tmpl/_git.htm' %}
|
||||||
|
|
||||||
|
{% include 'tmpl/_article.htm' %}
|
||||||
|
|
||||||
{% include 'tmpl/_socials.htm' %}
|
{% include 'tmpl/_socials.htm' %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include 'tmpl/_footer.htm' %}
|
{% include 'tmpl/_footer.htm' %}
|
@@ -1,48 +0,0 @@
|
|||||||
{% extends 'tmpl/index.htm' %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% include 'tmpl/_git.htm' %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> è un sistema operativo minuscolo,
|
|
||||||
ma incredibilmente potente e veloce, per PC compatibili con x86.
|
|
||||||
Per funzionare richiede solo pochi megabyte di spazio su disco,
|
|
||||||
un processore i586 e 12 MB di RAM.
|
|
||||||
Nonostante le dimensioni ridotte, include un ricco set di applicazioni come
|
|
||||||
editor di testo, visualizzatore di immagini, editor grafico,
|
|
||||||
browser web e oltre 30 giochi entusiasmanti.
|
|
||||||
Supporta completamente i file system FAT12/16/32,
|
|
||||||
e permette la lettura di NTFS, exFAT, ISO9660 ed Ext2/3/4,
|
|
||||||
oltre a offrire un ampio set di
|
|
||||||
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">driver</a>
|
|
||||||
per schede audio, di rete e grafiche più diffuse.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Hai mai sognato un sistema che si avvia in pochi secondi, dall'accensione
|
|
||||||
fino a una GUI funzionante? Applicazioni che partono immediatamente, subito
|
|
||||||
dopo aver cliccato su un'icona, senza quei fastidiosi cursori a clessidra?
|
|
||||||
Questa velocità si ottiene poiché le parti fondamentali di <b>KolibriOS</b>
|
|
||||||
(kernel e driver) sono scritte interamente in linguaggio assembly
|
|
||||||
<a href="http://www.flatassembler.net" target="_blank">FASM</a>!
|
|
||||||
Prova <b>KolibriOS</b> e confrontalo con colossi come Windows e Linux.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> si è staccato da MenuetOS nel 2004 ed è in sviluppo
|
|
||||||
indipendente da allora.
|
|
||||||
Il tuo <a href="http://board.kolibrios.org">feedback</a> è molto apprezzato,
|
|
||||||
e il tuo <a href="https://git.kolibrios.org/KolibriOS/kolibrios">aiuto</a>
|
|
||||||
è ancora più benvenuto.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="p-subscription">
|
|
||||||
<b>
|
|
||||||
Ci auguriamo che vi piaccia!<br />
|
|
||||||
Squadra KolibriOS
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
@@ -1,49 +0,0 @@
|
|||||||
{% extends 'tmpl/index.htm' %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% include 'tmpl/_git.htm' %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> is een klein maar ongelooflijk krachtig en snel
|
|
||||||
besturingssysteem voor x86-compatibele pc's.
|
|
||||||
Het heeft slechts enkele megabytes aan schijfruimte, een i586-processor en 12 MB RAM.
|
|
||||||
maar beschikt over een rijk scala aan toepassingen, waaronder een
|
|
||||||
tekstverwerker, afbeeldingsviewer,
|
|
||||||
grafische editor, webbrowser en meer dan 30 spannende games.
|
|
||||||
Het biedt volledige ondersteuning voor de bestandssystemen FAT12/16/32,
|
|
||||||
en heeft ook leesondersteuning voor NTFS, exFAT, ISO9660 en Ext2/3/4,
|
|
||||||
en beschikt over een uitgebreide set van
|
|
||||||
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">drivers</a>
|
|
||||||
voor populaire geluids-, netwerk- en grafische kaarten.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Heb je ooit gedroomd van een systeem dat opstart in minder dan een paar
|
|
||||||
seconden, van het aanzetten tot een werkende GUI? Toepassingen die direct
|
|
||||||
starten, meteen na het klikken op een icoon, zonder die vervelende zandlopers?
|
|
||||||
Deze snelheid wordt bereikt omdat de kernonderdelen van <b>KolibriOS</b>
|
|
||||||
(kernel en drivers) volledig in de
|
|
||||||
<a href="http://www.flatassembler.net" target="_blank">FASM</a> assemblytaal
|
|
||||||
geschreven zijn!
|
|
||||||
Probeer <b>KolibriOS</b> en vergelijk het met zwaargewichten zoals Windows
|
|
||||||
en Linux.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>KolibriOS</b> is in 2004 afgesplitst van MenuetOS en wordt sindsdien
|
|
||||||
onafhankelijk ontwikkeld.
|
|
||||||
Jouw <a href="http://board.kolibrios.org">feedback</a> wordt zeer gewaardeerd,
|
|
||||||
en jouw <a href="https://git.kolibrios.org/KolibriOS/kolibrios">hulp</a> is
|
|
||||||
nog meer welkom.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="p-subscription">
|
|
||||||
<b>
|
|
||||||
We hopen dat je ervan zult genieten!<br />
|
|
||||||
KolibriOS Team
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
@@ -1,49 +0,0 @@
|
|||||||
{% extends 'tmpl/index.htm' %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
{% include 'tmpl/_git.htm' %}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>КолибриОС</b> — это крошечная, но невероятно мощная и быстрая операционная
|
|
||||||
система для x86-совместимых ПК.
|
|
||||||
Для её работы достаточно всего нескольких мегабайт места на диске, процессора
|
|
||||||
i586 и 12 МБ оперативной памяти.
|
|
||||||
При этом она содержит богатый набор приложений, таких как текстовый редактор,
|
|
||||||
просмотрщик изображений, графический редактор, веб-браузер и более 30
|
|
||||||
захватывающих игр.
|
|
||||||
Имеется полная поддержка файловых систем FAT12/16/32, только на чтение доступны
|
|
||||||
NTFS, exFAT, ISO9660 и Ext2/3/4, а также присутсвтвует обширный набор
|
|
||||||
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">драйверов</a>
|
|
||||||
для популярных звуковых, сетевых и графических карт.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<iframe src="https://www.youtube.com/embed/IEi25wYyj20" allowfullscreen="true"></iframe>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Вы когда-нибудь мечтали о системе, которая загружается менее чем за несколько
|
|
||||||
секунд с момента включения до появления работающего графического интерфейса?
|
|
||||||
О приложениях, которые запускаются мгновенно, сразу после нажатия на ярлык,
|
|
||||||
без надоедливых индикаторов загрузки?
|
|
||||||
Такая скорость достигается благодаря тому, что основные части <b>КолибриОС</b>
|
|
||||||
(ядро и драйверы) полностью написаны на ассемблере
|
|
||||||
<a href="http://www.flatassembler.net" target="_blank">FASM</a>!
|
|
||||||
Попробуйте <b>КолибриОС</b> и сравните её с такими тяжеловесами, как
|
|
||||||
Windows и Linux.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>КолибриОС</b> отделилась от MenuetOS в 2004 году и с тех пор развивается
|
|
||||||
независимым международным сообществом.
|
|
||||||
Ваши <a href="http://board.kolibrios.org">отзывы</a> очень ценится, а ваша
|
|
||||||
<a href="https://git.kolibrios.org/KolibriOS/kolibrios">помощь</a>
|
|
||||||
ценится ещё больше.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p class="p-subscription">
|
|
||||||
<b>
|
|
||||||
Надеемся, вам понравится! <br/>
|
|
||||||
Команда КолибриОС
|
|
||||||
</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
43
templates/tmpl/_article.htm
Normal file
43
templates/tmpl/_article.htm
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<p>
|
||||||
|
<b>{{ locale['menu']['kolibrios'] }}</b>
|
||||||
|
{{ locale['article']['p1[0]'] }}
|
||||||
|
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">
|
||||||
|
{{- locale['article']['p1[1]'] -}}
|
||||||
|
</a>
|
||||||
|
{{ locale['article']['p1[2]'] }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<iframe src="https://www.youtube.com/embed/IEi25wYyj20" allowfullscreen="true"></iframe>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
{{ locale['article']['p2[0]'] }}
|
||||||
|
<b>{{ locale['menu']['kolibrios'] }}</b>
|
||||||
|
{{ locale['article']['p2[1]'] }}
|
||||||
|
<a href="http://www.flatassembler.net" target="_blank">FASM</a>
|
||||||
|
{%- set extra = locale.article.get('p2[11]', '').strip() -%}
|
||||||
|
{%- if extra -%} {{ " " + extra }} {%- endif -%}!
|
||||||
|
{{ locale.article['p2[2]'] }}
|
||||||
|
<b>{{ locale['menu']['kolibrios'] }}</b>
|
||||||
|
{{ locale['article']['p2[3]'] }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<b>{{ locale['menu']['kolibrios'] }}</b>
|
||||||
|
{{ locale['article']['p3[0]'] }}
|
||||||
|
<a href="http://board.kolibrios.org">
|
||||||
|
{{- locale['article']['p3[1]'] -}}
|
||||||
|
</a>
|
||||||
|
{{ locale['article']['p3[2]'] }}
|
||||||
|
<a href="https://git.kolibrios.org/KolibriOS/kolibrios">
|
||||||
|
{{- locale['article']['p3[3]'] -}}
|
||||||
|
</a>
|
||||||
|
{{ locale['article']['p3[4]'] }}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p class="p-subscription">
|
||||||
|
<b>
|
||||||
|
{{ locale['article']['p_subscription[0]'] }}
|
||||||
|
<br/>
|
||||||
|
{{ locale['article']['p_subscription[1]'] }}
|
||||||
|
</b>
|
||||||
|
</p>
|
@@ -1,7 +1,7 @@
|
|||||||
<div id="footer">
|
<div id="footer">
|
||||||
<img src="{{ url_for('static', filename='img/logo.png') }}" alt="KolibriOS">
|
<img src="{{ url_for('static', filename='img/logo.png') }}" alt="KolibriOS">
|
||||||
<p>
|
<p>
|
||||||
© 2004 – {{ year }} <br />
|
© 2004 – {{ year }} <br />
|
||||||
{{ locale['footer']['team'] }}
|
{{ locale['footer']['team'] }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
@@ -1,17 +1,17 @@
|
|||||||
<p class="p-socials">
|
<p class="p-socials">
|
||||||
<a href="https://t.me/kolibrios_news" target="_blank">
|
<a href="https://t.me/kolibrios_news" target="_blank">
|
||||||
<img src="{{ url_for('static', filename='img/icons/i_telegram.png') }}" alt="Telegram">Telegram
|
<img src="{{ url_for('static', filename='img/icons/i_telegram.png') }}" alt="Telegram">Telegram
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<a href="https://discord.com/invite/FeB2NvE6bF" target="_blank">
|
<a href="https://discord.com/invite/FeB2NvE6bF" target="_blank">
|
||||||
<img src="{{ url_for('static', filename='img/icons/i_discord.png') }}" alt="Discord">Discord
|
<img src="{{ url_for('static', filename='img/icons/i_discord.png') }}" alt="Discord">Discord
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<a href="https://www.facebook.com/groups/kolibrios/" target="_blank">
|
<a href="https://www.facebook.com/groups/kolibrios/" target="_blank">
|
||||||
<img src="{{ url_for('static', filename='img/icons/i_facebook.png') }}" alt="Facebook">Facebook
|
<img src="{{ url_for('static', filename='img/icons/i_facebook.png') }}" alt="Facebook">Facebook
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<a href="https://www.reddit.com/r/KolibriOS/" target="_blank">
|
<a href="https://www.reddit.com/r/KolibriOS/" target="_blank">
|
||||||
<img src="{{ url_for('static', filename='img/icons/i_reddit.png') }}" alt="Reddit">Reddit
|
<img src="{{ url_for('static', filename='img/icons/i_reddit.png') }}" alt="Reddit">Reddit
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
Reference in New Issue
Block a user