summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/auto.p6
-rw-r--r--htdocs/index.html12
2 files changed, 11 insertions, 7 deletions
diff --git a/htdocs/auto.p b/htdocs/auto.p
new file mode 100644
index 0000000..e6c15d3
--- /dev/null
+++ b/htdocs/auto.p
@@ -0,0 +1,6 @@
+@USE
+../lib/classes/l10n.p
+
+@auto[]
+$locale[^l10n::create[en_US;ru]]
+#end @main[]
diff --git a/htdocs/index.html b/htdocs/index.html
index ba13d03..0440b13 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -10,18 +10,16 @@ $photo_thumbnails[
$.[image/jpeg][/img/thumb/me.jpg]
]
^base[михаил «synzr»]{
- ^article[index][Приветствую вас!]{
+ ^article[index][^locale.t[index_article_hello_there]]{
^section[about-me]{
^figure[$photo_thumbnails;image/jpeg;
- $.caption[Моя фотография у останкинского телецентра в Москве]
+ $.caption[^locale.t[index_me_caption]]
$.height[160]
$.href[/img/photo/me.jpg]
]
- <p class="text">
- Меня зовут Михаил, я платно учусь в частном колледже на IT,
- интересуюсь технологиями и коллекционирую музыку на CD-пластинках.
- Ну, вроде бы я человек - насколько это возможно. Обожаю лезть, куда не надо.
- </p>
+ <p class="text">^locale.html[index_article_hello_there_paragraph_1]</p>
+ <p class="text">^locale.html[index_article_hello_there_paragraph_2]</p>
+ <p class="text">^locale.html[index_article_hello_there_paragraph_3]</p>
}
<hr class="divider">
}