Home
last modified time | relevance | path

Searched refs:langs (Results 1 – 21 of 21) sorted by relevance

/plugin/reqlang/
H A Daction.php31 $langs = $this->parseAcceptLang($INPUT->server->str('HTTP_ACCEPT_LANGUAGE'));
32 $langs[] = $conf['lang']; // add fallback to default at the end
34 foreach ($langs as $lang) {
56 $langs = array_combine($lang_parse[1], $lang_parse[4]);
59 foreach ($langs as $lang => $prio) {
60 if ($prio === '') $langs[$lang] = 1;
64 foreach ($langs as $lang => $prio) {
68 if (!isset($langs[$primary])) {
69 $langs[$primary] = $prio - 0.01;
75 arsort($langs, SORT_NUMERIC);
[all …]
/plugin/struct/meta/
H A DTranslationUtilities.php23 $langs = explode(' ', $lang);
24 $langs = array_map('trim', $langs);
25 $langs = array_filter($langs);
26 $langs = array_unique($langs);
33 foreach ($langs as $lang) {
40 if (!in_array($langKey, $langs)) {
/plugin/langdelete/
H A Dadmin.php73 $d->langs = $this->list_languages();
74 $langs =& $d->langs;
77 $d->u_langs = $this->lang_unique($langs);
157 $langs = $this->list_languages();
158 $u_langs = $this->lang_unique($langs);
167 $this->html_print_langs($d->langs);
294 foreach ($langs as $val) {
316 $print_lang_li ($langs['core']);
333 foreach ($langs['plugins'] as $name => $l) {
434 private function remove_langs($langs) { argument
[all …]
H A Dscript.js53 let langs = jQuery( "#langshortlist input[type='checkbox']" )
58 for (let lang of langs) {
/plugin/translate/
H A Dhelper.php249 if (!in_array($origlang, $langs)) array_unshift($langs, $origlang);
253 foreach ($langs as $lang) {
280 if (count($langs) > 0 && !in_array($origlang, $langs)) {
286 foreach ($langs as $lang) {
353 if (empty($langs)) {
355 $langs = array();
364 sort($langs);
367 $langs = array_map('trim', explode(',', strtolower($langs)));
369 $this->enabledLangs = $langs;
407 foreach ($langs as $lang) {
[all …]
H A Dmake_langnames_file.php26 $langs = array(); variable
42 if (isset($code)) $langs[$code] = $row[2];
53 echo '$langnames = '; var_export($langs); echo ";\n";
/plugin/translationbuddy/
H A Dsyntax.php95 $langs = explode(' ', $data['langs']);
96 $langs = array_filter($langs);
98 $langs = explode(' ', $conf['plugin']['translation']['translations']);
99 $langs = array_filter($langs);
101 $langs = array();
116 if ($ns && in_array($ns,$langs)) {
/plugin/fckg/fckeditor/
H A Daspell.php72 $langs = unserialize($_langs); variable
96 if(isset($langs[$next])) {
97 echo '<tr><th align="left" colspan="3"><br />' . $langs[$next] . '</th><tr>';
/plugin/adfs/phpsaml/lib/Saml2/
H A DAuthnRequest.php78 $langs = array_keys($organizationData);
79 if (in_array('en-US', $langs)) {
82 $lang = $langs[0];
/plugin/translation/
H A Dhelper.php103 $langs = $this->translations;
104 if (!in_array($conf['lang'], $langs)) {
105 $langs[] = $conf['lang'];
107 $rx = '/(^|,|:|;|-)(' . implode('|', $langs) . ')($|,|:|;|-)/i';
/plugin/socialshareprivacy2/SSP/scripts/
H A Djquery.socialshareprivacy.flattr.js23 …var langs = {en:true,sq:true,ar:true,be:true,bg:true,ca:true,zh:true,hr:true,cs:true,da:true,nl:tr… class
57 if (langs[baselang] === true) {
/plugin/elasticsearch/helper/
H A Ddocparser.php195 $langs = array_keys($ld->detect($body)->whitelist(...$trans->translations)->close());
196 return array_shift($langs);
/plugin/deeplautotranslate/
H A Daction.php16 private $langs = array( variable in action_plugin_deeplautotranslate
72 if (array_key_exists($lang_ns, $this->langs)) {
104 if (array_key_exists($lang_ns, $this->langs)) {
255 if (!array_key_exists($lang, $this->langs)) {
504 if (!array_key_exists($lang_ns, $this->langs)) return false;
656 'target_lang' => $this->langs[$target_lang],
780 if (array_key_exists($lang_ns, $this->langs)) {
833 if (array_key_exists($lang_ns, $this->langs)) {
/plugin/codeprettify/code-prettify/src/
H A Drun_prettify.js212 var langs = []; variable
221 if (name == 'lang') { langs.push(value); } else
233 for (var i = 0, n = langs.length; i < n; ++i) (function (lang) {
259 + '/lang-' + encodeURIComponent(langs[i]) + '.js';
263 })(langs[i]);
265 var pendingLanguages = langs.length;
/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfckconfig.js154 FCKConfig.Plugins.Add = function( name, langs, path ) argument
156 FCKConfig.Plugins.Items.AddItem( [name, langs, path] ) ;
/plugin/codemirror/dist/modes/
H A Dntriples.min.js1langs:[],types:[]}},token:function(a,c){var d=a.next();if(d=="<"){b(c,d);var e="";a.eatWhile(funct…
H A Dntriples.min.js.map1langs","types","token","stream","state","ch","next","parsedURI","eatWhile","push","match","parsedA…
/plugin/include/
H A Dhelper.php837 $langs = array();
841 $langs[$langname] = $qvalue;
843 arsort($langs);
844 foreach($langs as $lang => $langq){
/plugin/diagramsnet/lib/WEB-INF/lib/
H A Dcommons-codec-1.10.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
H A Dcommons-lang3-3.5.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
/plugin/ckgedit/ckeditor/
H A Dckeditor.js.unc22022 a.scayt.tabToOpen = "langs";
22333 a.scayt.tabToOpen = "langs";