Lines Matching defs:translations
14 public $translations = [];
46 if (in_array($dfl, $this->translations)) {
50 array_unshift($this->translations, '');
58 * Parse 'translations'-setting into $this->translations
63 $this->translations = strtolower(str_replace(',', ' ', $this->getConf('translations')));
64 $this->translations = array_unique(array_filter(explode(' ', $this->translations)));
65 sort($this->translations);
89 $rx = '/^' . $this->translationNs . '(' . implode('|', $this->translations) . '):(.*)/';
103 $langs = $this->translations;
124 if ($lng && in_array($lng, $this->translations)) {
199 * Returns a list of (lc => link) for all existing translations of a page
210 foreach ($this->translations as $t) {
222 * Creates an UI for linking to the available and configured translations
242 if (isset($this->opts['title'])) $out .= $this->getLang('translations');
249 foreach ($this->translations as $t) {
332 $rx = '/^' . $this->translationNs . '((' . implode('|', $this->translations) . '):)?/';