Lines Matching refs:glossary
66 // no translations for the glossary namespace
96 // redirect to glossary ns start if glossary ns is called
119 // handle glossary namespace init when we are in it
130 // this also checks if the glossary feature is enabled
135 // check if we are in a glossary definition
139 // page deleted --> delete glossary
165 // no matches --> delete glossary
294 // create glossary landing page
302 foreach ($available_glossaries as $glossary) {
303 if ($glossary['source_lang'] != $src_lang) continue;
304 // generate links to the available glossary pages
305 $landing_page_text .= ' * [[.:' . $glossary['source_lang'] . '_' . $glossary['target_lang'] . '|' . strtoupper($glossary['source_lang']) . ' -> ' . strtoupper($glossary['target_lang']) . ']]' . "\n";
382 $url = 'https://api-free.deepl.com/v2/glossary-language-pairs';
384 $url = 'https://api.deepl.com/v2/glossary-language-pairs';
465 // check if the glossary namespace is defined
468 // check if we are in the glossary namespace
479 foreach ($available_glossaries as $glossary) {
480 if ($src == $glossary['source_lang'] and $target == $glossary['target_lang']) return true;
513 // no translations for the glossary namespace
541 // no translations for the glossary namespace
668 // use glossary if it is defined