X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fconfig%2Fp2p-tube.php;h=8eddbff3e6500a288b29f019a4215d7b6a100abb;hb=211dc651c32bb8998b3eb2fdd3a3b85fc31921ec;hp=89bd1efc1f427d89afc7f3a212fba873e40f056e;hpb=a11428ed0b4651895e27d6920c219d8d2476631c;p=living-lab-site.git diff --git a/application/config/p2p-tube.php b/application/config/p2p-tube.php index 89bd1ef..8eddbff 100644 --- a/application/config/p2p-tube.php +++ b/application/config/p2p-tube.php @@ -46,7 +46,7 @@ $config['default_js'] = ''; /* |-------------------------------------------------------------------------- -| Default Video File Extension +| Default Video File Extension (OBSOLETE) |-------------------------------------------------------------------------- | | Sets the default video file extension, which must be set without '.' prefix. @@ -81,11 +81,13 @@ $config['default_torrent_ext'] = 'tstream'; |-------------------------------------------------------------------------- | | An associative list with the video categories of the site. IDs are used -| in DB (for example in `videos` table), and value are human-friendly names -| for categories. IDs must be numeric and must preferably start from 1. +| in DB (for example in `videos` table), and values are string identifiers +| for categories. Category names localization can be made by concatenating +| 'ui_categ_' with the value in order to obtain a language key. +| IDs must be numeric and must preferably start from 1. | */ -$config['categories'] = array(1 => 'Movies', 2 => 'TechTalks', 3 => 'Events', 4 => 'Karaoke'); +$config['categories'] = array(1 => 'movies', 2 => 'tech_talks', 3 => 'events', 4 => 'karaoke'); /* |--------------------------------------------------------------------------