1<?php 2/** 3 * Metadata for configuration manager plugin 4 * 5 * @author Viktor Söderqvist <viktor@zuiderkwast.se> 6 */ 7 8// languages 9$meta['enabled_languages'] = array('string', 10 // This pattern will accept most types of language codes... 11 '_pattern'=>'/^\s*(?:(?:\w{2,3}(?:-\w+)?)(?:\s*,\s*\w{2,3}(?:-\w+)?)*)?\s*$/'); 12$meta['guess_lang_by_ns'] = array('onoff'); 13$meta['guess_lang_by_ui_lang'] = array('onoff'); 14$meta['default_language'] = array('string', 15 // Language code 16 '_pattern'=>'/^\s*(?:(?:\w{2,3}(?:-\w+)?)(?:\s*,\s*\w{2,3}(?:-\w+)?)*)?\s*$/'); 17$meta['use_language_namespace'] = array('onoff'); 18 19// namespaces and pages 20$meta['include_namespaces'] = array('string'); 21$meta['exclude_namespaces'] = array('string'); 22$meta['exclude_pagenames'] = array('string'); 23 24// permissions 25$meta['translator_group'] = array('string'); 26$meta['author_group'] = array('string'); 27 28// appearence 29$meta['insert_translation_links'] = array('onoff'); 30$meta['link_style'] = array('multichoice', '_choices' => array('langcode','langname')); 31 32//Setup VIM: ex: et ts=4 enc=utf-8 : 33