# HG changeset patch
# User Aleksej Bobylev
# Date 1333205538 -10800
# Node ID 47055e938c856f4d2d02b96745a5912d93006fd4
# Parent d21256a7ed5ba15669a49259535905ade0666469
lib/get-feeds: fix if we on main page; cn: clear code
diff -r d21256a7ed5b -r 47055e938c85 cn/about/index.php
--- a/cn/about/index.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/about/index.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,12 +1,12 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz - 关于
-
-
-
-
+
+
+
@@ -25,7 +25,7 @@
@@ -41,8 +41,7 @@
Slitaz 是一个免费小巧的GNU/Linux发行版。它可以从光盘或USB设备加载,完整地在内存中运行,也可以安装到硬盘中。Slitaz以LiveCD的形式发布,你可以把它刻录到光盘,并从光盘启动。系统运行时,你可以弹出CD,用CD-ROM来进行其他工作。LiveCD提供一个特色十足的、图形界面的发行版,可以保存你的数据和个人设置到其他设备中。这个系统可以通过Tazpkg软件包管理器添加软件来增加各种各样的功能,也可以用它升级系统来保持系统最安全、最新。 Slitaz会通过邮件列表和论坛为用户提供免费的技术支持。你也可以联系我们以获得更多的支持,也可以向我们提出建议。你可以使用邮件列表或者直接发送邮件来联系: devel@slitaz.org
-
-特点介绍
+特点介绍
- ISO镜像不超过30MB,根文件系统不超过100MB;
- 可以使用LightTPD或者Apache来做Web服务器,并且可以支持CGI和PHP;
@@ -59,8 +58,7 @@
- 拥有活跃的社区和友好的开发者。
-
-网站和国际化支持
+网站和国际化支持
Slitaz是一个国际化的操作系统,可以轻易拥有多语言支持。Slitaz的网站同样也拥有各种各样的语言。Slitaz完全支持中文,通过开发者制作的中文语言包、中文字体、中文输入法,你可以快速上手。你也可以查看Slitaz官方文档来学习如何使用Slitaz LiveCD和设置系统。
diff -r d21256a7ed5b -r 47055e938c85 cn/artwork/index.php
--- a/cn/artwork/index.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/artwork/index.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,12 +1,12 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz - 美术资源
-
-
-
-
+
+
+
@@ -45,8 +45,7 @@
这些截图是用mtPaint和The Gimp软件制作的。
-
-Slitaz美术资源
+Slitaz美术资源
我们会把Slitaz的所有图片、Logo、主题和墙纸都提供给开发者,我们也一直在坚持优雅、实用、高质量的设计。如果你对美术感兴趣,你可以以制作Logo、墙纸的方式来参与Slitaz的开发,而不是写枯燥的代码或者文档。如果你想制作Slitaz的美术作品,建议你加入我们的邮件列表。最好不要直接传送文件,因为文件的体积可能会很大。
@@ -56,37 +55,18 @@
要想节约LiveCD资源,图片最好不要超过200K,并且要在1024x768的分辨率下正常显示。每个新的版最终本发布时,墙纸或主题都会更换,更换的主题都遵循一个标准,都要在Slitaz能正常使用,最好使用Slitaz中的软件制作。Slitaz里已经配有mtPaint,在安装好的系统里你也可以安装Gimp。制作的图像最好使用PNG格式。
-
-Logo和图标
+Logo和图标
diff -r d21256a7ed5b -r 47055e938c85 cn/artwork/screenshots.php
--- a/cn/artwork/screenshots.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/artwork/screenshots.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,12 +1,12 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz - 截图
-
-
-
-
+
+
+
@@ -21,11 +21,11 @@
截图
Pictures say more than a thousand words... Screenshots of
- the latest Stable and Cooking versions. You may also want to
+ the latest Stable and Cooking versions. You may also want to
find, discuss, upload and share SliTaz Artwork!
-
+
Join us on SCN
@@ -38,71 +38,40 @@
-
-
-
-
+
+
+ Stable 3.0
-
-
-
-
+
+
+ Stable 2.0
-
-
-
+
+
+ Stable 1.0
-
-
-
+

+ Cooking - Geany and GPicview
-
-
-
+

+ Cooking - Conky
-
-
-
+

+ Cooking - Multimediaplayer MPlayer
-
-
-
+

+ Cooking - Dateimanager PCManFM
-
-
-
+

+ Stable - E17
diff -r d21256a7ed5b -r 47055e938c85 cn/doc/index.php
--- a/cn/doc/index.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/doc/index.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,12 +1,12 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz - 中文文档
-
-
-
-
+
+
+
@@ -45,8 +45,8 @@
开发指南 - (未翻译完成)
制作指南 - (未翻译完成)
-
-手册
+
+手册
- Tazpkg手册 - Slitaz软件包管理器
- Tazlito 手册 - Slitaz Live CD 工具
@@ -54,7 +54,7 @@
- Tazwok 手册 - Slitaz软件烹饪锅(未翻译完成)
-Wiki资源
+Wiki资源
Wiki 包括许多非官方Slitaz文档,例如常见问题、小提示、未修复BUG等。你可以自由编辑Wiki。
@@ -66,8 +66,8 @@
diff -r d21256a7ed5b -r 47055e938c85 cn/get/flavors.php
--- a/cn/get/flavors.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/get/flavors.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,12 +1,12 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz (cn) - Flavors
-
-
-
-
+
+
+
diff -r d21256a7ed5b -r 47055e938c85 cn/get/index.php
--- a/cn/get/index.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/get/index.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,9 +1,9 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz (cn) - Download
-
@@ -89,8 +89,7 @@
FTP
-
-源码
+源码
Tazpkg(软件包管理器)、Tazlito(Slitaz Live工具)、Tazwok(软件包制作)、
Tazusb(LiveUSB工具)和一些其他的Slitaz小工具可以在Slitaz软件源里下载。
@@ -100,8 +99,7 @@
FTP
-
-LiveCD - 稳定版
+LiveCD - 稳定版
Slitaz稳定版提供一个成熟的操作系统。这个操作系统已经经过严格的测试,基本上没有BUG。
LiveCD。这个版本选择了许多有用的软件,是一个用途广泛、强大的操作系统。这个版本较为稳定,
@@ -109,62 +107,55 @@
-
-
+
slitaz-$stable_ver.iso
[ md5 ]"; ?>
-
+
提供给版本的,包含所有软件包的可启动CD镜像每天都会创建。
它也包含Slitaz官方网站的副本,在无网络的情况下可以通过install.sh使用。
-
-
+
packages-$stable_ver.iso
[ md5 ]"; ?>
-
+
-
-LiveCD - 开发版
+LiveCD - 开发版
Slitaz开发版LiveCD是一个在不断开发的版本,也是可以使用的。它包含的软件包比稳定版多,包含的新特性和新改善也很多,更新时间也较快。不过因为更新较快,不稳定因素也多了许多。建议个人用户使用这个版本。
-
-
+
slitaz-$cooking.iso
[ md5 ]"; ?>
-
+
提供给开发版的,包含所有软件包的可启动DVD镜像每天都会创建。它也包含Slitaz官方网站的副本,
在无网络的情况下可以通过install.sh使用。这个镜像可以安装到USB设备中,不过会格式化U盘。
-
-
+
packages-cooking.iso
[ md5 ]"; ?>
-
+
-
-启动软盘
+启动软盘
这个软盘镜像可以启动在旧电脑中的Slitaz,有没有CD-ROM都可以。它可以启动在USB设备、SlitazCD/DVD、硬盘中的Slitaz,还可以通过网络启动。
-
-
+
软盘镜像(1,44 Mb) -
镜像
[ md5 ]
-
+
diff -r d21256a7ed5b -r 47055e938c85 cn/index.php
--- a/cn/index.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/index.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,9 +1,9 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz GNU/Linux 中文网站
-
@@ -32,7 +32,7 @@
-

+
SliTaz Chinese website needs a maintainer and contributors. You
can contact us on the
@@ -50,7 +50,7 @@
-

+
实验室新闻
(
Feed) |
每月时讯
@@ -102,7 +102,7 @@
+ src="/images/users.png" alt="[ ]" />
Community activity
@@ -114,7 +114,7 @@
+ src="/images/support.png" alt="[ ]" />
Forum activity
@@ -126,7 +126,7 @@
-
+
Latest commits in wok
diff -r d21256a7ed5b -r 47055e938c85 cn/packages/index.php
--- a/cn/packages/index.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/packages/index.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,12 +1,12 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz - 软件包
-
-
-
-
+
+
+
@@ -66,13 +66,13 @@
-

+
![[ ]](/images/text.png)
Raw packages.list:
Stable |
Cooking
-

+ >Cooking
+
![[ ]](/images/network.png)
Main mirror:
http://mirror.slitaz.org/packages/
diff -r d21256a7ed5b -r 47055e938c85 cn/search.php
--- a/cn/search.php Sat Mar 31 17:05:27 2012 +0300
+++ b/cn/search.php Sat Mar 31 17:52:18 2012 +0300
@@ -1,12 +1,12 @@
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
SliTaz - 搜索
-
-
-
-
+
+
+
@@ -35,7 +35,7 @@
Loading
-
diff -r d21256a7ed5b -r 47055e938c85 lib/get-feeds.php
--- a/lib/get-feeds.php Sat Mar 31 17:05:27 2012 +0300
+++ b/lib/get-feeds.php Sat Mar 31 17:52:18 2012 +0300
@@ -3,6 +3,7 @@
function updated() {
$addr = explode('/', $_SERVER['REQUEST_URI']);
$lang = $addr[1];
+ if ($lang == '') $lang = "en";
$native = array(
"cn"=>"- 更新于: ",
"da"=>"- Opdateret den: ",
diff -r d21256a7ed5b -r 47055e938c85 ru/packages/index.php
--- a/ru/packages/index.php Sat Mar 31 17:05:27 2012 +0300
+++ b/ru/packages/index.php Sat Mar 31 17:52:18 2012 +0300
@@ -77,10 +77,7 @@
Деятельность
-
+