X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fconfig%2Fp2p-tube.php;fp=application%2Fconfig%2Fp2p-tube.php;h=b6a6e4646963479974370bf94a410e39881302ac;hb=c3cb1c599db718a4fd81c7df57850fced9f64c02;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..b6a6e46 100644 --- a/application/config/p2p-tube.php +++ b/application/config/p2p-tube.php @@ -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'); /* |--------------------------------------------------------------------------