From 6ed62362b10a90e7d203e667dedf9c1133cba76d Mon Sep 17 00:00:00 2001 From: sk7 Date: Sun, 22 Aug 2010 05:52:45 +0000 Subject: [PATCH] I didn't realize the difference between language and region codes. In most countries they are the same, for example "de" for Germany. However Czech is special. Accorning to this article (in Czech, sorry) we have "cs" for Czech language (from "cestina", the name of the language in Czech) and "CZ" for the region code, meaning country Czech Republic: http://zencart-solutions.palek.cz/cs/cestina-na-webu/cs-nebo-cz.html I thought I better fix it before I start translating more pages. --- www.i2p2/pages/{_layout_cz.html => _layout_cs.html} | 4 ++-- www.i2p2/pages/_menu.html | 4 ++-- www.i2p2/pages/{index_cz.html => index_cs.html} | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename www.i2p2/pages/{_layout_cz.html => _layout_cs.html} (93%) rename www.i2p2/pages/{index_cz.html => index_cs.html} (98%) diff --git a/www.i2p2/pages/_layout_cz.html b/www.i2p2/pages/_layout_cs.html similarity index 93% rename from www.i2p2/pages/_layout_cz.html rename to www.i2p2/pages/_layout_cs.html index b891bf4e..456a803c 100644 --- a/www.i2p2/pages/_layout_cz.html +++ b/www.i2p2/pages/_layout_cs.html @@ -1,9 +1,9 @@ -{% set lang = "cz" -%} +{% set lang = "cs" -%} {% include "_urlify" -%} - + {% filter capture('title') %}{% block title %}{% endblock %}{% endfilter %} - I2P diff --git a/www.i2p2/pages/_menu.html b/www.i2p2/pages/_menu.html index 7bedc05e..ab1a47ed 100644 --- a/www.i2p2/pages/_menu.html +++ b/www.i2p2/pages/_menu.html @@ -7,7 +7,7 @@ Italiano Nederlands Русский -Čeština +Čeština
Dark  @@ -245,7 +245,7 @@

Impressum
-{% elif lang == "cz" %} +{% elif lang == "cs" %}
Vítejte v síti I2P

Stáhnout
diff --git a/www.i2p2/pages/index_cz.html b/www.i2p2/pages/index_cs.html similarity index 98% rename from www.i2p2/pages/index_cz.html rename to www.i2p2/pages/index_cs.html index 669ba729..d8622d54 100644 --- a/www.i2p2/pages/index_cz.html +++ b/www.i2p2/pages/index_cs.html @@ -1,10 +1,10 @@ -{% extends "_layout_cz.html" %} +{% extends "_layout_cs.html" %} {% block title %}Anonymní síť I2P{% endblock %} {% block content %}
Aktuální verze: -
+
2010-07-12 - I2P 0.8 - {{ urlify("release-0.8", "Poznámky k vydání", "html")}} - Stáhnout