PageRenderTime 67ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/zina/lang-cfg.php

https://bitbucket.org/helmespc/zina2
PHP | 497 lines | 473 code | 3 blank | 21 comment | 0 complexity | a5906400a687e5160329e932068abb37 MD5 | raw file
  1. <?php
  2. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  3. * ZINA2 (Zina2 is not Zina)
  4. *
  5. * Zina2 is a graphical interface to your MP3 collection, a personal
  6. * jukebox, an MP3 streamer. It can run on its own, embeded into an
  7. * existing website, or as a Drupal/Joomla/Wordpress/etc. module.
  8. *
  9. * https://bitbucket.org/helmespc/zina2
  10. * Author: Patrick Helmes <helmespc@gmail.com>
  11. * Support: https://bitbucket.org/helmespc/zina2/wiki/Home
  12. * License: GNU GPL2 <http://www.gnu.org/copyleft/gpl.html>
  13. *
  14. * This Software is a fork of Zina (is not Andromeda):
  15. * http://www.pancake.org/zina
  16. * Author: Ryan Lathouwers <ryanlath@pacbell.net>
  17. * Support: http://sourceforge.net/projects/zina/
  18. * License: GNU GPL2 <http://www.gnu.org/copyleft/gpl.html>
  19. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  20. #TODO: some of these are not needed anymore...
  21. $titles = array(
  22. 'dir_tags' => zt('Use ID3 album titles (if they exist)'),
  23. 'settings_override' => zt('Allow override of settings on a directory-by-directory basis'),
  24. 'settings_override_file' => zt('File name of directory override file'),
  25. 'cat_various_lookahead' => zt('Expand "Various" directories'),
  26. 'timezone' => zt('Timezone'),
  27. 'genres_custom'=> zt('Allow Custom Genres'),
  28. 'mp3_dir'=> zt('Music Directory'),
  29. 'charset'=> zt('HTML Meta Character Set'),
  30. 'zina_dir_abs'=> zt('Zina Files Directory (full path)<br>(Windows use forward slash, e.g. F:/_zina)'),
  31. 'zina_dir_rel'=> zt('Zina Files Directory'),
  32. 'lang'=> zt('Language'),
  33. 'theme'=> zt('Theme'),
  34. 'image_captions'=> zt('Look for and display image captions'),
  35. 'amg'=> zt('Show amg.com search box'),
  36. 'main_dir_title'=> zt('Title of Main Directory'),
  37. 'play'=> zt('Allow playing of files'),
  38. 'play_sel'=> zt('Show option to "play selected"'),
  39. 'play_rec'=> zt('Show option to "play recursive"'),
  40. 'play_rec_rand'=> zt('Show option to "play recursive random"'),
  41. 'search'=> zt('Show search form'),
  42. 'download'=> zt('Allow downloads'),
  43. 'files_sort'=> zt('Sort files'),
  44. 'genres'=> zt('Genre functionality'),
  45. 'genres_images'=> zt('Show genre images'),
  46. 'genres_cols'=> zt('Number of columns on the genres page'),
  47. 'genres_split'=> zt('Split genre page into different pages'),
  48. 'genres_pp'=> zt('Number of items per split page'),
  49. 'genres_truncate'=> zt('Limit genre names to'),
  50. 'playlists'=> zt('Allow custom playlists to be created'),
  51. 'session_pls'=> zt('Allow everyone to have a temporary, session-based playlist'),
  52. 'pls_user'=> zt('Allow authenticated users to create saved playlists'),
  53. 'pls_public'=> zt('Allow playlists to be made public'),
  54. 'pls_limit'=> zt('Maximum number of playlists per user'),
  55. 'pls_ratings'=> zt('Allow rating of playlists'),
  56. 'pls_included'=> zt('Show "Playlists Tracks Appear On"'),
  57. 'pls_included_limit'=> zt('Number of playlists to show in "Playlists Tracks Appear On" list'),
  58. 'pls_length_limit'=> zt('Maximum items per playlist'),
  59. 'pls_tags'=> zt('Allowable HTML tags in playlist description'),
  60. 'cms_tags'=> zt('Allowable HTML tags for CMS Editors'),
  61. 'cms_editor'=> zt('Allow your CMS to have editors for artist/album/song descriptions, etc.'),
  62. 'asx'=> zt('Return .asx instead of .m3u playlists'),
  63. 'random'=> zt('Show play random option'),
  64. 'ran_opts'=> zt('Random Number Options'),
  65. 'ran_opts_def'=> zt('Default random number "selected"'),
  66. 'honor_custom'=> zt('Have random play use custom playlists'),
  67. 'cache'=> zt('Main Cache (for custom playlists, faster random playlists, genres)'),
  68. 'cache_expire'=> zt('Main Cache life'),
  69. 'timeout'=> zt('Script timeout (in seconds)'),
  70. 'ext_graphic'=> zt('Extensions of graphic files to display'),
  71. 'local_path'=> zt('Use local paths when running Zina locally'),
  72. 'adm_name'=> zt('Administrator user name'),
  73. 'loc_is_adm'=> zt('If running on local machine, user is admin'),
  74. 'adm_ip'=> zt('Remote IP is admin'),
  75. 'adm_ips'=> zt('If remote IP is found in this string, remote user is admin'),
  76. 'apache_auth'=> zt('Append Apache user:password to playlist urls'),
  77. 'stream_int'=> zt('Stream internally'),
  78. 'stream_extinf'=> zt('Add ID3 info to playlists'),
  79. 'stream_extinf_limit'=> zt('Limit ID3 playlist references (performance)'),
  80. 'dir_file'=> zt('Name of description file for directories'),
  81. 'dir_genre_look'=> zt('Show genre on a artist page by looking at an album genre'),
  82. 'dir_skip'=> zt('Dirs with this prefix are not displayed'),
  83. 'dir_sort_ignore'=> zt('Ignore string at beginning of directory name for sorting purposes'),
  84. 'dir_si_str'=> zt('String to ignore'),
  85. 'cat_auto'=> zt('Automatically theme a directory as a "category" if directories are greater than next item'),
  86. 'cat_auto_num'=> zt('Number of directories to automatically make a "category"'),
  87. 'cat_file'=> zt('Name of file that makes a directory a "category"'),
  88. 'cat_cols'=> zt('Number of columns on a "category" page'),
  89. 'cat_split'=> zt('Category Display'),
  90. 'cat_sort'=> zt('Allow category pages to be sorted by Alpha or Date'),
  91. 'cat_sort_default'=> zt('Default category sort'),
  92. 'cat_pp'=> zt('Number of items per split page'),
  93. 'cat_truncate'=> zt('Limit directory names to'),
  94. 'cat_images'=> zt('Show images'),
  95. 'dir_list'=> zt('Display sub-directory listing'),
  96. 'dir_list_sort'=> zt('Sort sub-directory by year'),
  97. 'dir_list_sort_asc'=> zt('Sort sub-directory ascending'),
  98. 'subdir_images'=> zt('Display sub-directory images'),
  99. 'subdir_cols'=> zt('Number of columns'),
  100. 'subdir_truncate'=> zt('Limit subdirectory titles to'),
  101. 'new_highlight'=> zt('Highlight new files and directories'),
  102. 'new_time'=> zt('Highlight within'),
  103. 'alt_dirs'=> zt('Alternate/Related Directories'),
  104. 'alt_file'=> zt('Filename that contains list'),
  105. 'mp3_info'=> zt('Get filesize, length, kpbs, time from mp3 files'),
  106. 'mp3_info_faster'=> zt('Get mp3 info faster (slightly less accurate)'),
  107. 'mp3_id3'=> zt('Use ID3v1/2 song titles (if they exist)'),
  108. 'song_blurbs'=> zt('Check for song description'),
  109. 'various'=> zt('Display song title as "Artist - Title"'),
  110. 'various_file'=> zt('Name of file to make a directory list as "Artist - Title"'),
  111. 'various_above'=> zt('Also display "Artist -Title" in directories below file'),
  112. 'remote'=> zt('Look for "Remote" songs'),
  113. 'remote_ext'=> zt('Remote file extension'),
  114. 'fake'=> zt('Look for "Placeholder" songs'),
  115. 'fake_ext'=> zt('Placeholder file extension'),
  116. 'low'=> zt('Look for second (lower quality) mp3 with following suffix'),
  117. 'low_suf'=> zt('Suffix for lo-fi mp3 name[suffix].ext; e.g. "song.lofi.mp3"'),
  118. 'low_lookahead'=> zt('Lofi lookahead'),
  119. 'resample'=> zt('On-the-Fly Resampling'),
  120. 'enc_arr'=> zt('Encoding program'),
  121. 'res_in_types'=> zt('Input resize types'),
  122. 'res_out_type'=> zt('Output resize type'),
  123. #todo: could probably look some of this
  124. 'res_dir_qual'=> zt('Diirectory JPEG quality (1=worst/100=best)'),
  125. 'res_dir_img'=> zt('Directory images'),
  126. 'res_dir_x'=> zt('Directory scale to width'),
  127. 'res_sub_qual'=> zt('Sub-directory JPEG quality (1=worst/100=best)'),
  128. 'res_sub_img'=> zt('Sub-directory images'),
  129. 'res_sub_x'=> zt('Sub-directory scale to width'),
  130. 'res_full_img'=> zt('Large size directory images'),
  131. 'res_full_qual'=> zt('Large size directory JPEG quality (1=worst/100=best)'),
  132. 'res_full_x'=> zt('Large size directory scale to width'),
  133. 'res_genre_qual'=> zt('Genre JPEG quality (1=worst/100=best)'),
  134. 'res_genre_img'=> zt('Genre images'),
  135. 'res_genre_x'=> zt('Genre scale to width'),
  136. 'res_search_qual'=> zt('Search JPEG quality (1=worst/100=best)'),
  137. 'res_search_img'=> zt('Resize search images'),
  138. 'res_search_x'=> zt('Search scale to width'),
  139. 'res_out_x_lmt'=> zt('Only rescale if original width > rescale width'),
  140. 'dir_img_txt'=> zt('Write directory title on missing image'),
  141. 'dir_img_txt_color'=> zt('Directory text color'),
  142. 'dir_img_txt_wrap'=> zt('Wrap directory long text at this character'),
  143. 'dir_img_txt_font'=> zt('Directory full path to TrueType font'),
  144. 'dir_img_txt_font_size'=> zt('Directory font size'),
  145. 'sub_img_txt'=> zt('Write sub-directory title on missing image'),
  146. 'sub_img_txt_color'=> zt('Sub-directory text color'),
  147. 'sub_img_txt_wrap'=> zt('Sub-directory wrap long text at this character'),
  148. 'sub_img_txt_font'=> zt('Subdirectory full path to TrueType font'),
  149. 'sub_img_txt_font_size'=> zt('Sub-directory font size'),
  150. 'genre_img_txt'=> zt('Write genre title on missing image'),
  151. 'genre_img_txt_color'=> zt('Genre text color'),
  152. 'genre_img_txt_wrap'=> zt('Genre wrap long text at this character'),
  153. 'genre_img_txt_font'=> zt('Genre full path to TrueType font'),
  154. 'genre_img_txt_font_size'=> zt('Genre font size'),
  155. 'search_img_txt'=> zt('Write search title on missing image'),
  156. 'search_img_txt_color'=> zt('Search text color'),
  157. 'search_img_txt_wrap'=> zt('Search wrap long text at this character'),
  158. 'search_img_txt_font'=> zt('Search full path to TrueType font'),
  159. 'search_img_txt_font_size'=> zt('Search font size'),
  160. 'cmp_sel'=> zt('Download selected songs as compressed file'),
  161. 'cmp_cache'=> zt('Cache compressed files'),
  162. 'cmp_pgm'=> zt('Compression program (full path)'),
  163. 'cmp_extension'=> zt('Compressed file extension'),
  164. 'cmp_set'=> zt('Compression program options'),
  165. 'cmp_mime'=> zt('Compressed file mime-type'),
  166. 'pos'=> zt('Play on server'),
  167. 'pos_hack'=> zt('mpg123 hack (try if using and having problems)'),
  168. 'pos_cmd'=> zt('Play on server command'),
  169. 'pos_kill'=> zt('Kill (necessary on linux/unix systems)'),
  170. 'pos_kill_cmd'=> zt('Kill command'),
  171. 'other_media_types'=> zt('Other media types'),
  172. 'media_types_cfg'=> zt('Media types'),
  173. 'cron'=> zt('Time based functionality'),
  174. 'cron_opts'=> zt('Time based options'),
  175. 'adm_pwd_old'=> zt('Old Password'),
  176. 'adm_pwd'=> zt('New Password'),
  177. 'adm_pwd_con'=> zt('Confirm Password'),
  178. 'mm'=> zt('Look for Other Non-Music Media Types'),
  179. 'mm_types_cfg'=> zt('Other Non-Music Media Types'),
  180. 'mm_down'=> zt('Allow Download'),
  181. 'db'=> zt('Your database is setup'),
  182. 'db_type'=> zt('Database type'),
  183. 'db_host'=> zt('Database hostname'),
  184. 'db_name'=> zt('Database name'),
  185. 'db_user'=> zt('Database user'),
  186. 'db_pwd'=> zt('Database user password'),
  187. 'db_pre'=> zt('Database table prefix'),
  188. 'stats'=> zt('Gather statistics'),
  189. 'stats_public'=> zt('Show a public statistics page'),
  190. 'stats_images'=> zt('Show images on statistics pages'),
  191. 'stats_rss'=> zt('RSS Statistics feeds'),
  192. 'stats_limit'=> zt('Number of stats, e.g. Top X'),
  193. 'stats_org'=> zt('Assume Artist/Title directory structure for stats'),
  194. 'stats_to'=> zt('Minimum time between file plays by an IP address for recording stats'),
  195. 'rating_dirs'=> zt('Let users rate directories'),
  196. 'rating_dirs_public'=> zt('Show users ratings of directories within Zina'),
  197. 'rating_files'=> zt('Let users rate files'),
  198. 'rating_files_public'=> zt('Show users rating of files within Zina'),
  199. 'rating_limit'=> zt('Minimum number of votes to appear in rating summaries'),
  200. 'rss'=> zt('Generate rss feeds for directories with files in them'),
  201. 'rss_podcast'=> zt('Make rss feed a podcast'),
  202. 'rss_file'=> zt('Name of feed file'),
  203. 'rss_mm'=> zt('Add multimedia files to feed'),
  204. 'rating_random'=> zt('Show options to play random by ratings'),
  205. 'rating_random_opts'=> zt('Options to show for play random by ratings'),
  206. 'song_extras'=> zt('Enable extra features for song listings'),
  207. 'song_extras_opt'=> zt('Extra definition(s)'),
  208. 'cache_dir_abs'=> zt('Main Cache Directory'),
  209. 'cache_dir_private_abs'=> zt('Private Cache Directory'),
  210. 'cache_dir_public_rel'=> zt('Public Cache Directory'),
  211. 'cache_tmpl'=> zt('Template Cache'),
  212. 'cache_tmpl_expire'=> zt('Template Cache Life'),
  213. 'cache_imgs'=> zt('Cache resized images'),
  214. 'cache_imgs_dir_rel'=> zt('Image Cache Directory'),
  215. #'cache_tmpl_dir'=> zt('Template Cache Directory'),
  216. 'cache_stats'=> zt('Use Stats caching'),
  217. 'cache_stats_expire'=> zt('Stats Cache Life'),
  218. 'lastfm'=>zt('Enable Last.fm Integration'),
  219. 'lastfm_username'=>zt('Last.fm username'),
  220. 'lastfm_password'=>zt('Last.fm password'),
  221. 'twitter'=>zt('Enable twitter.com Integration'),
  222. 'twitter_username'=>zt('Twitter username'),
  223. 'twitter_password'=>zt('Twitter password'),
  224. 'debug'=>zt('Debug'),
  225. 'clean_urls'=>zt('Clean URLs'),
  226. 'clean_urls_hack'=>zt('Clean URLs hack (for Windows)'),
  227. 'clean_urls_index'=>zt('Clean URL hack "path" alias'),
  228. 'sitemap'=> zt('Generate a sitemap'),
  229. 'sitemap_cache'=> zt('Cache Sitemap file'),
  230. 'sitemap_cache_expire'=> zt('Sitemap Cache life'),
  231. 'session'=> zt('Allow the user to stay logged in'),
  232. 'session_lifetime'=> zt('Stay logged in for'),
  233. 'db_search'=> zt('Use database for search'),
  234. 'search_structure'=> zt('Assume Artist/Album/Song directory structure'),
  235. 'search_default'=> zt('Default behavior for a direct hit using "Live Search"'),
  236. 'search_min_chars'=> zt('Minimum number of characters to allow search'),
  237. 'search_pp'=> zt('Number of items per split page'),
  238. 'search_pp_opts'=> zt('Search per page options'),
  239. 'search_live_limit'=> zt('Number of items in "Live Search" drop down'),
  240. 'search_images'=> zt('Show images in search results and live search'),
  241. 'playlist_format'=> zt('Playlist format to return'),
  242. 'zinamp'=> zt('Embedded Player'),
  243. 'zinamp_skin'=> zt('Zinamp skin'),
  244. 'third_lyr'=> zt('Display lyrics from third party websites'),
  245. 'third_lyr_order'=> zt('Search lyric sites in this order'),
  246. 'third_lyr_save'=> zt('Save lyrics'),
  247. 'third_images'=> zt('Show optional images from amazon.com, last.fm or google.com'),
  248. 'third_addthis'=> zt('Display addthis.com "share/bookmark/feed" buttons'),
  249. 'third_addthis_id'=> zt('addthis.com account id'),
  250. 'third_addthis_options'=> zt('addthis.com services'),
  251. 'third_amazon_private'=> zt('Amazon Web Service Secret Access Key'),
  252. 'third_amazon_public'=> zt('Amazon Web Service Access Key ID'),
  253. 'third_amazon_region'=> zt('Amazon Web Service region'),
  254. 'locale'=> zt('Override PHP default locale'),
  255. 'random_least_played'=> zt('Random play least played songs first'),
  256. 'random_lp_floor'=> zt('Random play least played songs floor'),
  257. 'random_lp_perc'=> zt('Random play least played songs percent'),
  258. 'tags_cddb_auto_start'=> zt('Auto-start album match in tag editor'),
  259. 'tags_keep_existing_data'=> zt('Keep tags that are present but not available from tag editor'),
  260. 'tags_filemtime'=> zt('Attempt to keep file modification time unchanged when editing tags'),
  261. 'tags_format'=> zt('Text encoding used for tag data'),
  262. 'tags_cddb_server'=> zt('CDDB Server to use for tag lookup'),
  263. );
  264. $subs = array(
  265. 'cms_editor'=> zt('Must give CMS users appropriate permissions via CMS, too. Drupal? See "Permissions->zina editor". Joomla? Set user to Editor, Publisher, Manager, Administrator. Wordpress? Set user to Editor.'),
  266. 'stream_int'=> zt('Do not change this unless you know what you are doing.'),
  267. 'genres_custom'=> zt('If true, you are responsible for deleting "empty" genres.').' '.zt('If false, Zina will attempt to delete genres with no file associations.'),
  268. 'tags_format' => zt('e.g. ISO-8859-1, UTF-8, UTF-16, UTF-16LE, UTF-16BE (different tag formats only support certain encodings)'),
  269. 'settings_override' => zt('Include a file in the directory named like the next setting.'),
  270. 'settings_override_file'=> zt('File should include xml to overide settings, e.g. @xml', array('@xml'=>'<settings> <download>0</download> </settings>')).' '.
  271. zt('See "Time Base Functionality X=X:" for options.').' '.zt('(Not all make sense or will work.)'),
  272. 'cat_various_lookahead' => zt('For Alphabetic options only. Performance hit.'),
  273. 'apache_auth'=> zt('NOT for Flash player'),
  274. 'random_least_played'=> zt('Requires a populated database and stats enabled'),
  275. 'third_addthis_id'=> zt('Optional'),
  276. 'mm_types_cfg'=> zt('[ext], mime = TYPE, disposition = inline|attachment, player = WMP, QT, USERDEFINED'),
  277. 'third_lyr'=> zt('If available. "lyr" under "Music Files->Enable Extra Features..." must be enabled.'),
  278. 'third_lyr_save'=> zt('Requires writeable filesystem or database.'),
  279. 'third_images'=> zt('If available. Admin only.'),
  280. 'third_amazon_private' => zt('You will need a developer account from Amazon if you want album images from amazon.com. See https://aws-portal.amazon.com/gp/aws/developer/registration/index.html'),
  281. 'stream_extinf'=> zt('Where appropriate'),
  282. 'charset'=> zt('Affects standalone version only. CMSes set their own. e.g. ISO-8859-1'),
  283. 'locale'=> zt('e.g. en_US.UTF8, ru_RU.KOI8-R'),
  284. 'db_search'=> zt('Requires a fully populated database.'),
  285. 'zinamp'=> zt('Must set playlist format to "xspf". Flash limits format to mp3s only. Try Inline with SilverSmall skin or Pop-up with WinampClassic skin."'),
  286. 'rating_random_opts'=> zt('>= list, comma separated'),
  287. 'search_pp'=> zt('Default value if using database'),
  288. 'search_pp_opts'=> zt('Comma separated list'),
  289. 'rating_limit'=> zt('Comma separated list: ALL,YEAR,MONTH,WEEK,DAY)'),
  290. 'image_captions'=> zt('Will look for text file with graphics filename with .txt added. e.g. cover.jpg.txt'),
  291. 'stats'=> zt('Views, plays, downloads, etc.'),
  292. 'low_lookahead'=> zt('Try only if resample is false, Lofi is true and not all directories have lofi files'),
  293. 'dir_file'=>zt('Can reference internal urls via {internal:PATH} syntax'),
  294. 'cache_stats'=> zt('Requires cron.php to be called regularly or manual regeneration above.'),
  295. 'cache_stats_expire'=> zt('Requires cron.php to be called at least as frequently as this value.'),
  296. 'cache_expire'=> zt('Requires cron.php to be run regularly.'),
  297. 'song_extras'=> zt('Like lyrics/tabs/external link. Requires either manual file generation, writeable filesystem or database.'),
  298. 'song_extras_opt'=> zt('Ini format. [file extension] is the music filename with this extension.').' '.
  299. zt('By default, the extension is also used for the theme icon.').' '.
  300. zt('"type" can be page_internal, page_popup, or external.').' '.
  301. zt('page_popup needs page_width and page_height defined in pixels.').' '.
  302. zt('external means you will associate an external url with the file (not here though).')
  303. ,
  304. 'dir_list_sort'=> zt('Requires ID3'),
  305. 'session'=> zt('Allow the user to stay logged in.'),
  306. 'zina_dir_rel'=> zt('Relative path (only change if you are having problems)'),
  307. 'play'=> zt('If you want to really deny access, your music files must be outside the webroot.'),
  308. 'download'=> zt('If you want to really deny access, your music files must be outside the webroot.'),
  309. 'cache'=> zt('For for custom playlists, faster random playlists, genres, etc.'),
  310. 'cat_pp'=> zt('Should be a multiple of category columns.'),
  311. 'cat_file'=> zt('Can include xml to overide settings per directory. e.g. @xml', array('@xml'=>'<category> <images>1</images> </category>')).' '.
  312. zt('Override options include images, columns, truncate, split [0,3,1,2], per_page, sort'),
  313. 'cmp_cache'=> zt('Will take up lots of disk space, but less server processing.'),
  314. 'cache_tmpl'=> zt('Caches main pages: Category/Artist/Albums for anonymous users.').' '.zt('WARNING: Do not enable until you have everything working!'),
  315. 'cache_dir_abs'=> zt('Must be writeable by web server.'),
  316. 'cache_dir_private_abs'=> zt('Must be writeable by web server.').' '.zt('Can be outside of webroot.'),
  317. 'cache_dir_public_rel'=> zt('Relative path from zina file.').' '.zt('No trailing slashes.').' '.zt('Must be writeable by web server.'),
  318. 'sitemap'=> zt('With clean urls, available at /sitemap.xml(.gz). Otherwise, ?p=sitemap.xml'),
  319. 'mp3_dir'=> zt('Full Path (no trailing slash).').' '.zt('Windows use forward slash, e.g. F:/music'),
  320. 'toke_timeout'=> zt('Hours a token lasts'),
  321. 'debug' => zt('Show warnings and more detailed error messages.'),
  322. 'clean_urls' => zt('For prettier urls and allegedly better for search engines. Requires Apache with mod_rewrite or ISS with ISAPI Rewrite. If your are running Zina within a CMS, the CMS has to support clean urls and they should be turned on there.'),
  323. 'clean_urls_hack' => zt('If your running Zina on Windows and your paths are being lowercased, use this.'),
  324. 'clean_urls_index' => zt('A path alias. Can NOT be an actual path below the zina script.'),
  325. 'song_blurbs'=> zt('Named same as music file, but with .txt extention instead.').' '.
  326. zt('Can reference internal urls via {internal:PATH} syntax'),
  327. 'various'=> zt('Requires ID3. Great for Soundtracks/Compilations directories'),
  328. 'enc_arr'=> zt('WARNING: using this will most likely bring your server to its knees.').' '.
  329. zt('You will need an external encoder like LAME [http://www.mp3dev.org/mp3/] which can take input from stdin and output to stdout. '),
  330. 'resample'=>zt('Requires Low Fidelity setting above and an external program.'),
  331. 'new_highlight'=> zt('Based on file modification time. Might incur a performance penalty.'),
  332. 'alt_dirs' =>
  333. zt('Directories selected below will appear in a "@section" section.',array('@section'=>zt('See Also'))),
  334. 'remote' =>
  335. zt('Want to include a song on another server? Create a file in the directory named like the song title with the "Remote file extension", e.g. 02 - Remote Song.rem').' '.
  336. zt('XML File Format: @xml where tags can be: url, download, artist, album, title, filesize, bitrate, frequency, time, year, genre', array('@xml'=>'<file><tags></tags></file>')).' '.
  337. zt('Simplest example: @xml', array('@xml'=> '<file> <url>http://www.site.com/song.mp3</url> </file>')),
  338. 'fake' =>
  339. zt('Want to create a placeholder for a song? Create a file in the directory named like the song title with the "Placeholder file extension", e.g. 02 - Remote Song.rem'),
  340. 'cache_imgs_dir_rel'=> zt('Relative path to zina file. Must be writeable by the webserver and be accessible via http'),
  341. );
  342. $cats = array(
  343. 'config' => array(
  344. 't'=> zt('Configuration'),
  345. 'd'=> ''
  346. ),
  347. 'cms' => array(
  348. 't'=> zt('CMS Options'),
  349. 'd'=> zt('Options for CMSes (Drupal, Joomla, Wordpress, etc.).'),
  350. ),
  351. 'integration' => array(
  352. 't'=> zt('Last.fm / Twitter'),
  353. 'd'=> zt('Send listening information to your last.fm and/or twitter accounts.').' '.zt('For logged in users only.').' '.zt('Requires "Private Key" in authentication.').' '.zt('Can be overriden by certain CMS settings.')
  354. ),
  355. 'third' => array(
  356. 't'=> zt('Third Party Integration'),
  357. 'd'=> ''
  358. ),
  359. 'general' => array(
  360. 't'=> zt('Theme / Display'),
  361. 'd'=> ''
  362. ),
  363. 'caches' => array(
  364. 't'=> zt('Caches'),
  365. 'd'=> array(
  366. zt('Zina uses various caches to speed things up.').' '.
  367. zt('Many features rely on the Main Cache, it is enabled by default.').' '.
  368. zt('Caches will be generated the first time they are needed (which might take awhile).').' '.
  369. zt('After that, you will need to have "cron.php" run regularly or regenerate them manually above.'),
  370. zt('You should get Zina running the way you want before enabling the other caches because they can make debugging difficult.').' '.
  371. zt('Also, the Template cache is not enabled when logged in.'),
  372. ),
  373. ),
  374. 'db' => array(
  375. 't'=> zt('Database'),
  376. 'd'=> array(
  377. zt('Optional. Required for statistics and optional features. You need MySQL 4.1 or greater.').' '.
  378. zt('You will need to already have set up a database and have a username and password for that database.'),
  379. zt('If this section is greyed out, Zina is using your CMSes database')
  380. ),
  381. ),
  382. 'dirs' => array(
  383. 't'=> zt('Directories'),
  384. 'd'=> ''
  385. ),
  386. 'categories' => array(
  387. 't'=> zt('Directory as Category'),
  388. 'd'=> zt('List directories in a column format. Good for main directory or any directory with lots of sub-directories.')
  389. ),
  390. 'files' => array(
  391. 't'=> zt('Music Files'),
  392. 'd'=> ''
  393. ),
  394. 'tags' => array(
  395. 't'=> zt('Tag Editor'),
  396. 'd'=> zt('Your filesystem must be writeable.')
  397. ),
  398. 'search' => array(
  399. 't'=> zt('Search'),
  400. 'd'=> '',
  401. ),
  402. 'various' => array(
  403. 't'=> zt('"Artist - Title" Song Titles'),
  404. 'd'=> zt('Makes songs in a directory display "Artist - Title" song titles (requires ID3). Good for soundtracks and various artist directories.')
  405. ),
  406. 'mm' => array(
  407. 't'=> zt('Non-Music Media'),
  408. 'd'=> array(
  409. zt('List and/or allow download of non-music media types. Types should have a graphic file in THEMES/images/mm.'),
  410. zt('If using song blurbs, you can have blurb file with the same name as the file with a .txt extension added.'),
  411. zt('EXPERIMENTAL: If running Zina locally, "p" allows file to be played embedded in Zina via WMP or QT or add a selection to THEMES/templates-video.html.')
  412. ),
  413. ),
  414. 'advanced' => array(
  415. 't'=> zt('Advanced'),
  416. 'd'=> zt('It should not be necessary to change these settings.').' '.zt('Only change if you are having problems or have specific needs.'),
  417. ),
  418. 'auth' => array(
  419. 't'=> zt('Authentication'),
  420. 'd'=> ''
  421. ),
  422. 'stats' => array(
  423. 't'=> zt('Statistics'),
  424. 'd'=> zt('Requires your database to be setup above.'),
  425. ),
  426. 'images' => array(
  427. 't'=> zt('Dynamic Image Resizing'),
  428. 'd'=> zt('Needs PHP compiled with GD library.').' '.
  429. zt('Zina should detect your configuration.'),
  430. ),
  431. 'podcasts' => array(
  432. 't'=> zt('Podcasts and Sitemap'),
  433. 'd'=>'',
  434. ),
  435. 'genres' => array(
  436. 't'=> zt('Genres'),
  437. 'd'=> array(
  438. zt('Requires ID3 setting, and Main Cache or Database.'),
  439. zt('After enabling, cache will be generated.').' '.
  440. zt('You can also generate cache manually above.'),
  441. zt('If you use genre images, you can have custom genre images by placing them in your theme "images" folder with names "genre_SOMEGENRE.jpg".').' '.
  442. zt('Default filename/type can be changed by overriding the theme function.')
  443. ),
  444. ),
  445. 'compress' => array(
  446. 't'=> zt('Download Compressed Files'),
  447. 'd'=> zt('Allow users to download multiple files in a compressed format like .zip.').' '.
  448. zt('Requires an external cmd line compression program like zip or gzip, or php zip module.').' '.
  449. zt('Will put a strain on your server.'),
  450. ),
  451. 'pos' => array(
  452. 't'=> zt('Play on Server'),
  453. 'd'=> array(
  454. zt('Play songs on the server Zina runs on as opposed to playing on the browser\'s machine.'),
  455. zt('<b>Windows/WinAmp</b> (You will most likely need http://www.jukkis.net/bgrun/bgrun.exe)').'<br/>'.
  456. zt('Command example').': <code>bgrun.exe C:\Progra~1\Winamp\winamp.exe %TEMPFILENAME%.m3u >NUL</code>',
  457. zt('<b>Linux/mpg123</b><br/>').
  458. zt('Command example').': <code>/usr/bin/mpg123 -q --list %TEMPFILENAME%.m3u 0 1> /dev/null 2>&1 &</code>',
  459. zt('<b>OS/2</b> and <b>eCS</b> try using Z! http://dink.org/z/').'<br/>'.
  460. zt('Command example').': <code>z.exe -p %TEMPFILENAME%.m3u >NUL</code>'
  461. ),
  462. ),
  463. 'other_media' => array(
  464. 't'=> zt('Media Types'),
  465. 'd'=> array(
  466. zt('Default setting: mp3,ogg,wav,wma using .m3u playlists via http protocol.').' '.
  467. zt('To enable other media types, set "Other Media Types" to true and add a new section.').' '.
  468. zt('Having different files in the same directory that utilize different playlist types will not work.').' '.
  469. zt('Note: Your server has to support these other media types (e.g. Real Audio, etc.).'),
  470. zt('An example').':<br/><code>[ra]<br/>mime = audio/vnd.rn-realaudio<br/>'.
  471. 'protocol = rtsp<br/>playlist_ext = ram<br/>playlist_mime = audio/x-pn-realaudio</code>',
  472. ),
  473. ),
  474. 'cron' => array(
  475. 't'=> zt('Time Based Functionality'),
  476. 'd'=> array(
  477. zt('Any feature that is set "true or false" can be optionally set to work during certain time periods using "cron"-like syntax for anonymous users.'),
  478. zt('Uses "ini" style syntax. See drop down for settings').'<br/>'.
  479. '<code>X = TIME</code><br/>'.
  480. zt('X = %CRON_SELECT%').'<br/>'.
  481. '<code>TIME = WDAY MON MDAY HH:MM (where...WDAY=0-6, with 0=Sunday; MON=1-12; MDAY=1-31; HH:MM=0-23:0-59)</code><br/>'.
  482. zt('"*" matches all; use comma between multiple values; a hyphen to indicate range'),
  483. zt('Example 1: Would allow playing all the time (totally pointless)').'<br/>'.
  484. '<code>play[] = * * * *</code><br/>'.
  485. zt('Example 2: Would allow downloading between 10pm and 6am everyday...').'<br/>'.
  486. '<code>download[] = * * * 22:00-6:00</code><br/>'.
  487. zt('Example 3: Would allow downloading Monday thru Friday during Jan, Mar, May for the first 15 days between 8am and 5pm)').'<br/>'.
  488. '<code>download[] = 1-5 1,3,5 1-15 8:00-17:00</code><br/>'.
  489. zt('Example 4: Would allow downloading between Midnight and 6am M-F and all day Sat & Sun').'<br/>'.
  490. '<code>download[] = * * * 0:00-6:00<br/>download[] = 6-0 * * *</code>',
  491. ),
  492. ),
  493. );
  494. ?>