From 48aaf9fce565e4a2f1e770ddf38c8fda9084f8d4 Mon Sep 17 00:00:00 2001 From: Florin-Ciprian Bodin Date: Fri, 20 Jan 2023 12:58:28 +0200 Subject: [PATCH] Update Item.php --- classes/Item.php | 308 ++++++++++++++++++++++------------------------- 1 file changed, 144 insertions(+), 164 deletions(-) diff --git a/classes/Item.php b/classes/Item.php index 5f7acec..20e6f45 100644 --- a/classes/Item.php +++ b/classes/Item.php @@ -104,14 +104,6 @@ abstract class Item * @var bool True if this is a link to '../' */ protected $is_parent_dir; - /** - * @var bool True if this is a link to '../' - */ - protected $creation_time; - /** - * @var bool True if this is a link to '../' - */ - protected $last_write_time; /** * @param int $timestamp Time in UNIX timestamp format @@ -179,43 +171,31 @@ abstract class Item { $parent_dir = self::make_sure_slash($parent_dir); $full_name = $parent_dir . $filename; - $descript_ion_file = $parent_dir . 'descript.ion'; - $this -> is_parent_dir = false; - $this -> m_time = filemtime($full_name); - $this -> a_time = fileatime($full_name); - $this -> creation_time = date('y-m-d h:i:s', filectime($full_name)); - $this -> last_write_time = date('h:i:s', filemtime($full_name)); - $this -> icon = $this -> new_icon = $this -> md5_link = $this -> thumb_link = ''; + $this->is_parent_dir = false; + $this->m_time = filemtime($full_name); + $this->a_time = fileatime($full_name); + //$this->creation_time = date('y-m-d h:i:s', filectime($full_name)); + $this->last_write_time = date('h:i:s', filemtime($full_name)); + $this->icon = $this->new_icon = $this->md5_link = $this->thumb_link = ''; - global $config, $descriptions, $words; + global $descriptions, $words; - $description = (($descriptions -> is_set($full_name)) ? $descriptions -> __get($full_name) : strtoupper(substr($filename, 0, strrpos($filename, '.')))); - - $extend_description = (($words -> is_set('CHAP') && $words -> is_set(strtoupper(substr($description, 0, strrpos($description, '_'))))) ? $words -> __get(strtoupper(substr($description, 0, strrpos($description, '_')))) . ' ' . $words -> __get('CHAP') . ' ' . substr(strrchr($description, '_'), 1) : $description); - - $extend_description = ($words -> is_set($extend_description) ? $words -> __get($extend_description) : $extend_description); - - if (is_file($descript_ion_file)) - { - $descript_ion = $config -> dos_description($filename, $descript_ion_file); - - $descript_ion = !empty($descript_ion) ? $descript_ion . ' ' . $descript_ion : ''; - } - - $this -> description = ($words -> is_set($description) ? $words -> __get($description) . $descript_ion : $extend_description . $descript_ion); - - $this -> parent_dir = $parent_dir; + $description = ((DESCRIPTION_FILE && $descriptions->is_set($full_name)) ? $descriptions->__get($full_name) : strtoupper(substr($filename, 0, strrpos($filename, '.')))); + $extend_description = (($words->is_set('CHAP') && $words->is_set(strtoupper(substr($description, 0, strrpos($description, '_'))))) ? $words->__get(strtoupper(substr($description, 0, strrpos($description, '_')))) . ' ' . $words -> __get('CHAP') . ' ' . substr(strrchr($description, '_'), 1) : $description); + $extend_description = ($words->is_set($extend_description) ? $words->__get($extend_description) : $extend_description); + $this->description = ($words->is_set($description) ? $words->__get($description) : $extend_description); + $this->parent_dir = $parent_dir; if (DAYS_NEW) { global $config; - $days_new = $config -> __get('days_new'); - $age = (time() - $this -> m_time) / 86400; + $days_new = $config->__get('days_new'); + $age = (time() - $this->m_time) / 86400; $age_r = round($age, 1); $s = (($age_r == 1) ? '' : 's'); - $this -> description = ($age_r <= 1) ? $this -> description . ' @ ' . $this -> last_write_time : ''; - $this -> new_icon = (($days_new > 0 && $age <= $days_new) ? - (ICON_PATH ? ' __get('icon_path') . 'new.png" alt="' . "$age_r day$s" . ' old" height="14" width="28" />' : ' [New]') : ''); } } @@ -334,12 +314,12 @@ abstract class Item $country_name = 'MOROCCO'; break; - //jrb – Judeo-Arabic - //yhd – Judeo-Iraqi Arabic - //aju – Judeo-Moroccan Arabic - //yud – Judeo-Tripolitanian Arabic - //ajt – Judeo-Tunisian Arabic - //jye – Judeo-Yemeni Arabic + //jrb – Judeo-Arabic + //yhd – Judeo-Iraqi Arabic + //aju – Judeo-Moroccan Arabic + //yud – Judeo-Tripolitanian Arabic + //ajt – Judeo-Tunisian Arabic + //jye – Judeo-Yemeni Arabic case 'jrb': $lang_name = 'JUDEO-ARABIC'; $country_name = 'JUDEA'; @@ -403,7 +383,7 @@ abstract class Item break; case 'ba': - $lang_name = 'BASHKIR'; //Baskortostán (Rusia) + $lang_name = 'BASHKIR'; //Baskortostán (Rusia) $country_name = 'BOSNIA_&_HERZEGOVINA'; //Bosnian, Croatian, Serbian break; @@ -591,10 +571,10 @@ abstract class Item $country_name = 'CHINA'; break; //1. Bingzhou spoken in central Shanxi (the ancient Bing Province), including Taiyuan. - //2. Lüliang spoken in western Shanxi (including Lüliang) and northern Shaanxi. + //2. Lüliang spoken in western Shanxi (including Lüliang) and northern Shaanxi. //3. Shangdang spoken in the area of Changzhi (ancient Shangdang) in southeastern Shanxi. //4. Wutai spoken in parts of northern Shanxi (including Wutai County) and central Inner Mongolia. - //5. Da–Bao spoken in parts of northern Shanxi and central Inner Mongolia, including Baotou. + //5. Da–Bao spoken in parts of northern Shanxi and central Inner Mongolia, including Baotou. //6. Zhang-Hu spoken in Zhangjiakou in northwestern Hebei and parts of central Inner Mongolia, including Hohhot. //7. Han-Xin spoken in southeastern Shanxi, southern Hebei (including Handan) and northern Henan (including Xinxiang). //8. Zhi-Yan spoken in Zhidan County and Yanchuan County in northern Shaanxi. @@ -605,7 +585,7 @@ abstract class Item break; // Cantonese is spoken in Hong Kong // ?? - case 'cmn': //Chinese Mandarin ??? (Pu tong hua) literally translates into “common tongue.” + case 'cmn': //Chinese Mandarin ??? (Pu tong hua) literally translates into “common tongue.†$lang_name = 'CHINESE_MANDARIN'; $country_name = 'CHINA'; break; @@ -613,11 +593,11 @@ abstract class Item // ?? / ?? //semantic shift has occurred in Min or the rest of Chinese: //*tia?B ? "wok". The Min form preserves the original meaning "cooking pot". - //*dzh?nA "rice field". scholars identify the Min word with chéng ? (MC zying) "raised path between fields", but Norman argues that it is cognate with céng ? (MC dzong) "additional layer or floor". - //*tšhioC ? "house". the Min word is cognate with shu ? (MC syuH) "to guard". + //*dzh?nA "rice field". scholars identify the Min word with chéng ? (MC zying) "raised path between fields", but Norman argues that it is cognate with céng ? (MC dzong) "additional layer or floor". + //*tÅ¡hioC ? "house". the Min word is cognate with shu ? (MC syuH) "to guard". //*tshyiC ? "mouth". In Min this form has displaced the common Chinese term kou ?. It is believed to be cognate with hui ? (MC xjwojH) "beak, bill, snout; to pant". //Austroasiatic origin for some Min words: - //*-d??A "shaman" compared with Vietnamese ð?ng (/?o?2/) "to shamanize, to communicate with spirits" and Mon do? "to dance (as if) under demonic possession". + //*-d??A "shaman" compared with Vietnamese ð?ng (/?o?2/) "to shamanize, to communicate with spirits" and Mon do? "to dance (as if) under demonic possession". //*ki?nB ? "son" appears to be related to Vietnamese con (/k?n/) and Mon kon "child". // Southern Min: @@ -643,7 +623,7 @@ abstract class Item //Literal meaning: Min [River] //??? - case 'cpx': //Chinese Pu-Xian Min, Sing-iú-ua / ???, (Xianyou dialect) http://www.putian.gov.cn/ + case 'cpx': //Chinese Pu-Xian Min, Sing-iú-ua / ???, (Xianyou dialect) http://www.putian.gov.cn/ $lang_name = 'CHINESE_PU-XIAN'; $country_name = 'CHINA'; break; @@ -745,7 +725,7 @@ abstract class Item case 'cw': $lang_name = 'PAPIAMENTU'; // Papiamentu (Portuguese-based Creole), Dutch, English - $country_name = 'CURAÇAO'; // Ilha da Curaçao (Island of Healing) + $country_name = 'CURAÇAO'; // Ilha da Curaçao (Island of Healing) break; case 'da': @@ -754,30 +734,30 @@ abstract class Item break; //Geman (Deutsch) - /* deu – German - gmh – Middle High German - goh – Old High German - gct – Colonia Tovar German - bar – Bavarian - cim – Cimbrian - geh – Hutterite German - ksh – Kölsch - nds – Low German - sli – Lower Silesian - ltz – Luxembourgish - vmf – Mainfränkisch - mhn – Mocheno - pfl – Palatinate German - pdc – Pennsylvania German - pdt – Plautdietsch - swg – Swabian German - gsw – Swiss German - uln – Unserdeutsch - sxu – Upper Saxon - wae – Walser German - wep – Westphalian - hrx – Riograndenser Hunsrückisch - yec – Yenish */ + /* deu – German + gmh – Middle High German + goh – Old High German + gct – Colonia Tovar German + bar – Bavarian + cim – Cimbrian + geh – Hutterite German + ksh – Kölsch + nds – Low German + sli – Lower Silesian + ltz – Luxembourgish + vmf – Mainfränkisch + mhn – Mocheno + pfl – Palatinate German + pdc – Pennsylvania German + pdt – Plautdietsch + swg – Swabian German + gsw – Swiss German + uln – Unserdeutsch + sxu – Upper Saxon + wae – Walser German + wep – Westphalian + hrx – Riograndenser Hunsrückisch + yec – Yenish */ //Germany 84,900,000 75,101,421 (91.8%) 5,600,000 (6.9%) De facto sole nationwide official language @@ -840,7 +820,7 @@ abstract class Item $country_name = 'DENMARK'; break; - //acf – Saint Lucian / Dominican Creole French + //acf – Saint Lucian / Dominican Creole French case 'acf': $lang_name = 'DOMINICAN_CREOLE_FRENCH'; //ROSEAU $country_name = 'DOMINICA'; @@ -863,7 +843,7 @@ abstract class Item case 'aa-DJ': case 'aa_dj': $lang_name = 'DJIBOUTI'; //Yibuti, Afar - $country_name = 'REPUBLIC_OF_DJIBOUTI'; //République de Djibouti + $country_name = 'REPUBLIC_OF_DJIBOUTI'; //République de Djibouti break; case 'dv': @@ -871,14 +851,14 @@ abstract class Item $country_name = 'MALDIVIA'; break; - //Berbera Taghelmustã (limba oamenilor alba?tri), zisã ?i Tuaregã, este vorbitã în Sahara occidentalã. - //Berbera Tamazigtã este vorbitã în masivul Atlas din Maroc, la sud de ora?ul Meknes. - //Berbera Zenaticã zisã ?i Rifanã, este vorbitã în masivul Rif din Maroc, în nord-estul ?ãrii. - //Berbera ?enuanã zisã ?i Telicã, este vorbitã în masivul Tell din Algeria, în nordul ?ãrii. - //Berbera Cabilicã este vorbitã în jurul masivelor Mitigea ?i Ores din Algeria, în nordul ?ãrii. - //Berbera ?auianã este vorbitã în jurul ora?ului Batna din Algeria. - //Berbera Tahelhitã, zisã ?i ?lãnuanã (în limba francezã Chleuh) este vorbitã în jurul masivului Tubkal din Maroc, în sud-vestul ?ãrii. - //Berbera Tama?ekã, zisã ?i Saharianã, este vorbitã în Sahara de nord, în Algeria, Libia ?i Egipt. + //Berbera Taghelmustã (limba oamenilor alba?tri), zisã ?i Tuaregã, este vorbitã în Sahara occidentalã. + //Berbera Tamazigtã este vorbitã în masivul Atlas din Maroc, la sud de ora?ul Meknes. + //Berbera Zenaticã zisã ?i Rifanã, este vorbitã în masivul Rif din Maroc, în nord-estul ?ãrii. + //Berbera ?enuanã zisã ?i Telicã, este vorbitã în masivul Tell din Algeria, în nordul ?ãrii. + //Berbera Cabilicã este vorbitã în jurul masivelor Mitigea ?i Ores din Algeria, în nordul ?ãrii. + //Berbera ?auianã este vorbitã în jurul ora?ului Batna din Algeria. + //Berbera Tahelhitã, zisã ?i ?lãnuanã (în limba francezã Chleuh) este vorbitã în jurul masivului Tubkal din Maroc, în sud-vestul ?ãrii. + //Berbera Tama?ekã, zisã ?i Saharianã, este vorbitã în Sahara de nord, în Algeria, Libia ?i Egipt. //Berber: Tacawit (@ city Batna from Chaoui, Algery), Shawiya (Shauian) case 'shy': $lang_name = 'SHAWIYA_BERBER'; @@ -918,13 +898,13 @@ abstract class Item break; //Greek Language: - //ell – Modern Greek - //grc – Ancient Greek - //cpg – Cappadocian Greek - //gmy – Mycenaean Greek - //pnt – Pontic - //tsd – Tsakonian - //yej – Yevanic + //ell – Modern Greek + //grc – Ancient Greek + //cpg – Cappadocian Greek + //gmy – Mycenaean Greek + //pnt – Pontic + //tsd – Tsakonian + //yej – Yevanic case 'el': $lang_name = 'GREEK'; @@ -947,7 +927,7 @@ abstract class Item $lang_name = 'TSAKONIAN'; $country_name = 'GREECE'; break; - //Albanian: Janina or Janinë, Aromanian: Ianina, Enina, Turkish: Yanya; + //Albanian: Janina or Janinë, Aromanian: Ianina, Enina, Turkish: Yanya; case 'yej': $lang_name = 'YEVANIC'; $country_name = 'GREECE'; @@ -1282,15 +1262,15 @@ abstract class Item break; //for Fulah (also spelled Fula) the ISO 639-1 code is ff. - //fub – Adamawa Fulfulde - //fui – Bagirmi Fulfulde - //fue – Borgu Fulfulde - //fuq – Central-Eastern Niger Fulfulde - //ffm – Maasina Fulfulde - //fuv – Nigerian Fulfulde - //fuc – Pulaar - //fuf – Pular - //fuh – Western Niger Fulfulde + //fub – Adamawa Fulfulde + //fui – Bagirmi Fulfulde + //fue – Borgu Fulfulde + //fuq – Central-Eastern Niger Fulfulde + //ffm – Maasina Fulfulde + //fuv – Nigerian Fulfulde + //fuc – Pulaar + //fuf – Pular + //fuh – Western Niger Fulfulde case 'fub': $lang_name = 'ADAMAWA_FULFULDE'; @@ -1378,7 +1358,7 @@ abstract class Item $country_name = 'FAROE_ISLANDS'; break; - //Metropolitan French (French: France Métropolitaine or la Métropole) + //Metropolitan French (French: France Métropolitaine or la Métropole) case 'fr': case 'fr_me': $lang_name = 'FRENCH'; @@ -1396,12 +1376,12 @@ abstract class Item $country_name = 'DOMINICA'; break; - //al-dîzayir + //al-dîzayir case 'fr_dz': $lang_name = 'ALGERIAN_FRENCH'; $country_name = 'ALGERIA'; break; - //Aostan French (French: français valdôtain) + //Aostan French (French: français valdôtain) //Seventy: septante[a] [s?p.t?~t] //Eighty: huitante[b] [?i.t?~t] //Ninety: nonante[c] [n?.n?~t] @@ -1419,12 +1399,12 @@ abstract class Item $lang_name = 'CAMBODIAN_FRENCH'; $country_name = 'CAMBODIA'; break; - //Cajun French - Le Français Cajun - New Orleans + //Cajun French - Le Français Cajun - New Orleans case 'fr_cj': $lang_name = 'CAJUN_FRENCH'; $country_name = 'UNITED_STATES'; break; - //Canadian French (French: Français Canadien) + //Canadian French (French: Français Canadien) //Official language in Canada, New Brunswick, Northwest Territories, Nunavut, Quebec, Yukon, //Official language in United States, Maine (de facto), New Hampshire case 'fr_ca': @@ -1482,7 +1462,7 @@ abstract class Item $lang_name = 'LAO_FRENCH'; $country_name = 'LAOS'; break; - //Louisiana French (French: Français de la Louisiane, Louisiana Creole: Françé la Lwizyan) + //Louisiana French (French: Français de la Louisiane, Louisiana Creole: Françé la Lwizyan) case 'frc': case 'fr_lu': $lang_name = 'LOUISIANIAN_FRENCH'; @@ -1493,7 +1473,7 @@ abstract class Item $lang_name = 'LOUISIANA_CREOLE'; $country_name = 'LOUISIANA'; break; - //Meridional French (French: Français Méridional, also referred to as Francitan) + //Meridional French (French: Français Méridional, also referred to as Francitan) case 'fr_mr': $lang_name = 'MERIDIONAL_FRENCH'; $country_name = 'OCCITANIA'; @@ -1508,7 +1488,7 @@ abstract class Item $lang_name = 'NEW_CALEDONIAN_FRENCH'; $country_name = 'NEW_CALEDONIA'; break; - //Newfoundland French (French: Français Terre-Neuvien), + //Newfoundland French (French: Français Terre-Neuvien), case 'fr_nf': $lang_name = 'NEWFOUNDLAND_FRENCH'; $country_name = 'CANADA'; @@ -1518,7 +1498,7 @@ abstract class Item $lang_name = 'NEW_ENGLAND_FRENCH'; $country_name = 'NEW_ENGLAND'; break; - //Quebec French (French: français québécois; also known as Québécois French or simply Québécois) + //Quebec French (French: français québécois; also known as Québécois French or simply Québécois) case 'fr_qb': $lang_name = 'QUEBEC_FRENCH'; $country_name = 'CANADA'; @@ -1532,7 +1512,7 @@ abstract class Item case 'fr_tf': case 'tf': $lang_name = 'FRENCH_SOUTHERN_TERRITORIES'; // - $country_name = 'SOUTHERN_TERRITORIES'; //Terres australes françaises + $country_name = 'SOUTHERN_TERRITORIES'; //Terres australes françaises break; //Vietnamese French case 'fr_vt': @@ -1565,7 +1545,7 @@ abstract class Item $country_name = 'UNITED_STATES'; break; - //gcf – Guadeloupean Creole + //gcf – Guadeloupean Creole case 'gcf': $lang_name = 'GUADELOUPEAN_CREOLE_FRENCH'; $country_name = 'GUADELOUPE'; @@ -1587,7 +1567,7 @@ abstract class Item break; case 'gg': - $lang_name = 'GUERNESIAIS'; //English, Guernésiais, Sercquiais, Auregnais + $lang_name = 'GUERNESIAIS'; //English, Guernésiais, Sercquiais, Auregnais $country_name = 'GUERNSEY'; break; @@ -1625,18 +1605,18 @@ abstract class Item break; //grn is the ISO 639-3 language code for Guarani. Its ISO 639-1 code is gn. - // nhd – Chiripá - // gui – Eastern Bolivian Guaraní - // gun – Mbyá Guaraní - // gug – Paraguayan Guaraní - // gnw – Western Bolivian Guaraní + // nhd – Chiripá + // gui – Eastern Bolivian Guaraní + // gun – Mbyá Guaraní + // gug – Paraguayan Guaraní + // gnw – Western Bolivian Guaraní case 'gn': $lang_name = 'GUARANI'; $country_name = 'GUINEA'; break; - //Nhandéva is also known as Chiripá. + //Nhandéva is also known as Chiripá. //The Spanish spelling, Nandeva, is used in the Paraguayan Chaco - // to refer to the local variety of Eastern Bolivian, a subdialect of Avá. + // to refer to the local variety of Eastern Bolivian, a subdialect of Avá. case 'nhd': $lang_name = 'Chiripa'; $country_name = 'PARAGUAY'; @@ -1698,11 +1678,11 @@ abstract class Item $lang_name = 'HAUSA'; break; - //heb – Modern Hebrew - //hbo – Classical Hebrew (liturgical) - //smp – Samaritan Hebrew (liturgical) - //obm – Moabite (extinct) - //xdm – Edomite (extinct) + //heb – Modern Hebrew + //hbo – Classical Hebrew (liturgical) + //smp – Samaritan Hebrew (liturgical) + //obm – Moabite (extinct) + //xdm – Edomite (extinct) case 'he': case 'heb': $country_name = 'ISRAEL'; @@ -1820,7 +1800,7 @@ abstract class Item $country_name = ''; break; - //Mostly spoken on Ouvéa Island or Uvea Island of the Loyalty Islands, New Caledonia. + //Mostly spoken on Ouvéa Island or Uvea Island of the Loyalty Islands, New Caledonia. case 'iai': $lang_name = 'IAAI'; $country_name = 'NEW_CALEDONIA'; @@ -1903,22 +1883,22 @@ abstract class Item break; //Bantu languages - //zdj – Ngazidja Comorian + //zdj – Ngazidja Comorian case 'zdj': $lang_name = 'Ngazidja Comorian'; $country_name = 'COMOROS'; break; - //wni – Ndzwani Comorian (Anjouani) dialect + //wni – Ndzwani Comorian (Anjouani) dialect case 'wni': $lang_name = 'Ndzwani Comorian'; $country_name = 'COMOROS'; break; - //swb – Maore Comorian dialect + //swb – Maore Comorian dialect case 'swb': $lang_name = 'Maore Comorian'; $country_name = 'COMOROS'; break; - //wlc – Mwali Comorian dialect + //wlc – Mwali Comorian dialect case 'wlc': $lang_name = 'Mwali Comorian'; $country_name = 'COMOROS'; @@ -1937,11 +1917,11 @@ abstract class Item case 'ko': case 'kp': $lang_name = 'korean'; - // kor – Modern Korean - // jje – Jeju - // okm – Middle Korean - // oko – Old Korean - // oko – Proto Korean + // kor – Modern Korean + // jje – Jeju + // okm – Middle Korean + // oko – Old Korean + // oko – Proto Korean // okm Middle Korean // oko Old Korean $country_name = 'Korea North'; @@ -2166,7 +2146,7 @@ abstract class Item break; case 'mq': - $lang_name = 'antillean-creole'; // Antillean Creole (Créole Martiniquais) + $lang_name = 'antillean-creole'; // Antillean Creole (Créole Martiniquais) $country_name = 'MARTINIQUE'; break; @@ -2180,13 +2160,13 @@ abstract class Item $country_name = 'NICARAGUA'; break; - //Barber: Targuí, tuareg + //Barber: Targuí, tuareg case 'ne': $lang_name = 'Niger'; $country_name = 'NIGER'; break; - //Mostly spoken on Maré Island of the Loyalty Islands, New Caledonia. + //Mostly spoken on Maré Island of the Loyalty Islands, New Caledonia. case 'nen': $lang_name = 'NENGONE'; $country_name = 'NEW_CALEDONIA'; @@ -2198,7 +2178,7 @@ abstract class Item break; case 'nc': - $lang_name = 'paicî'; //French, Nengone, Paicî, Ajië, Drehu + $lang_name = 'paicî'; //French, Nengone, Paicî, Ajië, Drehu $country_name = 'NEW_CALEDONIA'; break; @@ -2300,7 +2280,7 @@ abstract class Item case 'pf': $country_name = 'French Polynesia'; - $lang_name = 'tahitian'; //Polynésie française + $lang_name = 'tahitian'; //Polynésie française break; case 'pg': @@ -2364,13 +2344,13 @@ abstract class Item $country_name = 'QATAR'; break; - // rmn – Balkan Romani - // rml – Baltic Romani - // rmc – Carpathian Romani - // rmf – Kalo Finnish Romani - // rmo – Sinte Romani - // rmy – Vlax Romani - // rmw – Welsh Romani + // rmn – Balkan Romani + // rml – Baltic Romani + // rmc – Carpathian Romani + // rmf – Kalo Finnish Romani + // rmo – Sinte Romani + // rmy – Vlax Romani + // rmw – Welsh Romani case 'ri': case 'rom': $country_name = 'EASTEN_EUROPE'; @@ -2442,7 +2422,7 @@ abstract class Item $country_name = 'Scotland'; break; - //scf – San Miguel Creole French (Panama) + //scf – San Miguel Creole French (Panama) case 'scf': $lang_name = 'SAN_MIGUEL_CREOLE_FRENCH'; $country_name = 'SAN_MIGUEL'; @@ -2553,13 +2533,13 @@ abstract class Item break; //ISO 639-2 swa - //ISO 639-3 swa – inclusive code + //ISO 639-3 swa – inclusive code //Individual codes: - //swc – Congo Swahili - //swh – Coastal Swahili - //ymk – Makwe - //wmw – Mwani + //swc – Congo Swahili + //swh – Coastal Swahili + //ymk – Makwe + //wmw – Mwani //Person Mswahili //People Waswahili @@ -2572,25 +2552,25 @@ abstract class Item $lang_name = 'SWAHILI'; $country_name = 'AFRICAN_GREAT_LAKES'; break; - //swa – inclusive code + //swa – inclusive code // //Individual codes: - //swc – Congo Swahili + //swc – Congo Swahili case 'swc': $lang_name = 'CONGO_SWAHILI'; $country_name = 'CONGO'; break; - //swh – Coastal Swahili + //swh – Coastal Swahili case 'swh': $lang_name = 'COASTAL_SWAHILI'; $country_name = 'AFRIKA_EAST_COAST'; break; - //ymk – Makwe + //ymk – Makwe case 'ymk': $lang_name = 'MAKWE'; $country_name = 'CABO_DELGADO_PROVINCE_OF_MOZAMBIQUE'; break; - //wmw – Mwani + //wmw – Mwani case 'wmw': $lang_name = 'MWANI'; $country_name = 'COAST_OF_CABO_DELGADO_PROVINCE_OF_MOZAMBIQUE'; @@ -2608,7 +2588,7 @@ abstract class Item case 'tf': $lang_name = 'french '; // - $country_name = 'FRENCH_SOUTHERN_TERRITORIES'; //Terres australes françaises + $country_name = 'FRENCH_SOUTHERN_TERRITORIES'; //Terres australes françaises break; case 'tj': @@ -2752,7 +2732,7 @@ abstract class Item case 'wf': $country_name = 'TERRITORY_OF_THE_WALLIS_AND_FUTUNA_ISLANDS'; $lang_name = 'WF'; - //Wallisian, or ‘Uvean + //Wallisian, or ‘Uvean //Futunan - Austronesian, Malayo-Polynesian break; @@ -2768,7 +2748,7 @@ abstract class Item case 'yt': $lang_name = 'Mayotte'; //Shimaore: - $country_name = 'DEPARTMENT_OF_MAYOTTE'; //Département de Mayotte + $country_name = 'DEPARTMENT_OF_MAYOTTE'; //Département de Mayotte break; case 'za': @@ -2820,4 +2800,4 @@ abstract class Item abstract public function file_ext(); } -?> \ No newline at end of file +?>