aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2017-02-08 23:57:06 +0100
committerfilip <filip.komar@gmail.com>2017-02-08 23:57:06 +0100
commit55b2861dc27a472b9c805b58aa254d6c960eb8f5 (patch)
tree9b2ce490469efe22f773696a4bea4d86166b9f60
parent8511b02f81eb7a02f493928388f712ed7d1bedd7 (diff)
downloadwww-55b2861dc27a472b9c805b58aa254d6c960eb8f5.tar
www-55b2861dc27a472b9c805b58aa254d6c960eb8f5.tar.gz
www-55b2861dc27a472b9c805b58aa254d6c960eb8f5.tar.bz2
www-55b2861dc27a472b9c805b58aa254d6c960eb8f5.tar.xz
www-55b2861dc27a472b9c805b58aa254d6c960eb8f5.zip
adding DrakLive documentation links
+ zh_CN language for installer + preparing i18n files for NetInstall
-rw-r--r--en/doc/doc.php11
-rw-r--r--en/doc/index.php3
2 files changed, 13 insertions, 1 deletions
diff --git a/en/doc/doc.php b/en/doc/doc.php
index 3c352b08f..f15cf7c8f 100644
--- a/en/doc/doc.php
+++ b/en/doc/doc.php
@@ -1,7 +1,8 @@
<?php
-$documentation['installer' ][5] = array('ca','cs','de','el','en','eo','es','et','eu','fr', 'hr','id','it','nl', 'pl','pt','pt_br','ro','ru','sq','sv','tr','uk');
+$documentation['installer' ][5] = array('ca','cs','de','el','en','eo','es','et','eu','fr', 'hr','id','it','nl', 'pl','pt','pt_br','ro','ru','sq','sv','tr','uk','zh_CN');
$documentation['control_center'][5] = array('ca','cs','de','el','en','es','et','eu','fr','id','it','nl','pl','pt','pt_br','ro','ru','sv','tr','uk');
+$documentation['draklive' ][5] = array('cs','de','el','en','es','et','eu','fr', 'hr','nl','ro','sk','sl','sv','uk','zh_CN');
$documentation['installer' ][4] = array('ca','cs','de','el','en','eo','es','et','fr','id','nl','pl','pt_br','ro','ru','sv','tr','uk');
$documentation['control_center'][4] = array('en','et','fr','ru','tr','uk');
@@ -53,6 +54,14 @@ function doc_list($documentation_name, $type, $version)
$dir = 'installer';
$name = 'DrakX';
$title = _r('Installer');
+ } else if ('draklive' == $type) {
+ $dir = 'draklive';
+ $name = 'DrakLive';
+ $title = _r('Installation from LIVE medium');
+ } else if ('draklive' == $type) {
+ $dir = 'NetInstall';
+ $name = 'NetInstall';
+ $title = _r('Installation with tiny boot image');
} else {
return; // proper $type not defined ;)
}
diff --git a/en/doc/index.php b/en/doc/index.php
index 45b283d74..e36897fcb 100644
--- a/en/doc/index.php
+++ b/en/doc/index.php
@@ -39,6 +39,9 @@ require 'doc.php';
<div style="float: right; margin: 1em; width: 24em;">
<p style="margin-left: 2em;"><?php doc_list(_r('Control Center'), 'control_center', 5); ?></p>
</div>
+ <div style="float: right; margin: 1em; width: 24em;">
+ <p style="margin-left: 2em;"><?php doc_list(_r('Installation from LIVE medium'), 'draklive', 5); ?></p>
+ </div>
</div>
</div>
</div>