PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom2
/
language
/
el-GR
<?php /** * @package Joomla.Language * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * el-GR κλάση τοπικοποίησης. * * @since 1.6 */ abstract class El_GRLocalise { /** * Returns the potential suffixes for a specific number of items * * @param integer $count The number of items. * * @return array An array of potential suffixes. * * @since 1.6 */ public static function getPluralSuffixes($count) { if ($count == 0) { return array('0'); } elseif ($count == 1) { return array('1'); } else { return array('MORE'); } } /** * Returns the ignored search words * * @return array An array of ignored search words. * * @since 1.6 */ public static function getIgnoredSearchWords() { return array('και', 'ή', 'σε', 'για', 'με'); } /** * Returns the lower length limit of search words * * @return integer The lower length limit of search words. * * @since 1.6 */ public static function getLowerLimitSearchWord() { return 3; } /** * Returns the upper length limit of search words * * @return integer The upper length limit of search words. * * @since 1.6 */ public static function getUpperLimitSearchWord() { return 20; } /** * Returns the number of chars to display when searching * * @return integer The number of chars to display when searching. * * @since 1.6 */ public static function getSearchDisplayedCharactersNumber() { return 200; } public static function transliterate($string) { $str = \Joomla\String\StringHelper::strtolower($string); //Specific language transliteration. //This one is for latin 1, latin supplement , extended A, Cyrillic, Greek $glyph_array = array( 'afth' => 'αυθ', 'afk' => 'αυκ', 'afks' => 'αυξ', 'afp' => 'αυπ', 'afs' => 'αυσ', 'aft' => 'αυτ', 'aff' => 'αυφ', 'afx' => 'αυχ', 'afps' => 'αυψ', 'efth' => 'ευθ', 'efk' => 'ευκ', 'efks' => 'ευξ', 'efp' => 'ευπ', 'efs' => 'ευσ', 'eft' => 'ευτ', 'eff' => 'ευφ', 'efx' => 'ευχ', 'efps' => 'ευψ', 'ifth' => 'ηυθ', 'ifk' => 'ηυκ', 'ifks' => 'ηυξ', 'ifp' => 'ηυπ', 'ifs' => 'ηυσ', 'ift' => 'ηυτ', 'iff' => 'ηυφ', 'ifx' => 'ηυχ', 'ifps' => 'ηυψ', '-b' => '-μπ', '-d' => '-ντ', '-g' => '-γκ', ' b' => ' μπ', ' d' => ' ντ', ' g' => ' γκ', 'av' => 'αυ', 'ev' => 'ευ', 'iv' => 'ηυ', 'ou' => 'ου', 'a' => 'a,à,á,â,ã,ä,å,ā,ă,ą,ḁ,α,ά', 'ae' => 'æ', 'b' => 'б,^μπ', 'c' => 'c,ç,ć,ĉ,ċ,č,ћ,ц', 'ch' => 'ч', 'd' => 'ď,đ,Ð,д,ђ,δ,ð,^ντ', 'dz' => 'џ', 'e' => 'e,è,é,ê,ë,ē,ĕ,ė,ę,ě,э,ε,έ', 'f' => 'ƒ,ф,φ', 'g' => 'ğ,ĝ,ğ,ġ,ģ,г,γ,^γκ', 'h' => 'ĥ,ħ,Ħ,х', 'i' => 'i,ì,í,î,ï,ı,ĩ,ī,ĭ,į,и,й,ъ,ы,ь,η,ή,ι,ί,ϊ,ΐ', 'ij' => 'ij', 'j' => 'ĵ,j', 'ja' => 'я', 'ju' => 'яю', 'k' => 'ķ,ĸ,κ', 'ks' => 'ξ', 'l' => 'ĺ,ļ,ľ,ŀ,ł,л,λ', 'lj' => 'љ', 'm' => 'μ,м', 'n' => 'ñ,ņ,ň,ʼn,ŋ,н,ν', 'nj' => 'њ', 'o' => 'ò,ó,ô,õ,ø,ō,ŏ,ő,ο,ό,ω,ώ', 'oe' => 'œ,ö', 'p' => 'п,π', 'ps' => 'ψ', 'r' => 'ŕ,ŗ,ř,р,ρ', 's' => 'ş,ś,ŝ,ş,š,с,σ,ς', 'ss' => 'ß,ſ', 'sh' => 'ш', 'shch' => 'щ', 't' => 'ţ,ť,ŧ,τ,т', 'th' => 'θ', 'u' => 'u,ù,ú,û,ü,ũ,ū,ŭ,ů,ű,ų,у', 'v' => 'в,β', 'w' => 'ŵ', 'x' => 'χ', 'y' => 'ý,þ,ÿ,ŷ,υ,ύ,ϋ,ΰ', 'z' => 'ź,ż,ž,з,ж,ζ' ); foreach($glyph_array as $letter => $glyphs) { preg_match_all('/(\^[^,]+(,|$))/', $glyphs, $matches); if (count($matches[0])) { foreach ($matches[0] as $m) { if (strpos($m, ',')) { $glyphs = str_replace($m, '', $glyphs); } elseif(strpos($glyphs, ',')) { $glyphs = str_replace(','.$m, '', $glyphs); } else { $glyphs = ''; } $str = preg_replace('/'.$m.'/', $letter, $str); } } $glyphs = explode(',', $glyphs); $str = str_replace($glyphs, $letter, $str); } return $str; } } jimport('joomla.utilities.date'); class el_GRDate extends JDate { /** * Αλλάζει την κλήση των μηνών από ονομαστική σε γενική. Δηλαδή μετατρέπει την ημερομηνία από "1 Ιανουάριος 2016" σε * "1 Ιανουαρίου 2016". * * @param string $format * @param bool $local * @param bool $translate * * @return string */ public function format($format, $local = false, $translate = true) { $return = parent::format($format, $local, $translate); if ((strpos($format, 'd') !== false) || (strpos($format, 'j') !== false)) { $orig_months = array("άριος", "άρτιος", "ίλιος", "άιος", "ύνιος", "ύλιος", "ύγουστος", "έμβριος", "ώβριος"); $new_months = array("αρίου", "αρτίου", "ιλίου", "αΐου", "υνίου", "υλίου", "υγούστου", "εμβρίου", "ωβρίου"); $return = str_replace($orig_months, $new_months, $return); } return $return; } }
[+]
..
[-] el-GR.com_ajax.ini
[edit]
[-] el-GR.com_config.ini
[edit]
[-] el-GR.com_contact.ini
[edit]
[-] el-GR.com_content.ini
[edit]
[-] el-GR.com_finder.ini
[edit]
[-] el-GR.com_mailto.ini
[edit]
[-] el-GR.com_media.ini
[edit]
[-] el-GR.com_messages.ini
[edit]
[-] el-GR.com_newsfeeds.ini
[edit]
[-] el-GR.com_privacy.ini
[edit]
[-] el-GR.com_search.ini
[edit]
[-] el-GR.com_tags.ini
[edit]
[-] el-GR.com_users.ini
[edit]
[-] el-GR.com_weblinks.ini
[edit]
[-] el-GR.com_wrapper.ini
[edit]
[-] el-GR.date.php
[edit]
[-] el-GR.files_joomla.sys.ini
[edit]
[-] el-GR.finder_cli.ini
[edit]
[-] el-GR.ini
[edit]
[-] el-GR.lib_fof.ini
[edit]
[-] el-GR.lib_fof.sys.ini
[edit]
[-] el-GR.lib_idna_convert.sys.ini
[edit]
[-] el-GR.lib_joomla.ini
[edit]
[-] el-GR.lib_joomla.sys.ini
[edit]
[-] el-GR.lib_phpass.sys.ini
[edit]
[-] el-GR.lib_phpmailer.sys.ini
[edit]
[-] el-GR.lib_phputf8.sys.ini
[edit]
[-] el-GR.lib_simplepie.sys.ini
[edit]
[-] el-GR.localise.php
[edit]
[-] el-GR.mod_articles_archive.ini
[edit]
[-] el-GR.mod_articles_archive.sys.ini
[edit]
[-] el-GR.mod_articles_categories.ini
[edit]
[-] el-GR.mod_articles_categories.sys.ini
[edit]
[-] el-GR.mod_articles_category.ini
[edit]
[-] el-GR.mod_articles_category.sys.ini
[edit]
[-] el-GR.mod_articles_latest.ini
[edit]
[-] el-GR.mod_articles_latest.sys.ini
[edit]
[-] el-GR.mod_articles_news.ini
[edit]
[-] el-GR.mod_articles_news.sys.ini
[edit]
[-] el-GR.mod_articles_popular.ini
[edit]
[-] el-GR.mod_articles_popular.sys.ini
[edit]
[-] el-GR.mod_banners.ini
[edit]
[-] el-GR.mod_banners.sys.ini
[edit]
[-] el-GR.mod_breadcrumbs.ini
[edit]
[-] el-GR.mod_breadcrumbs.sys.ini
[edit]
[-] el-GR.mod_bt_contentslider.ini
[edit]
[-] el-GR.mod_custom.ini
[edit]
[-] el-GR.mod_custom.sys.ini
[edit]
[-] el-GR.mod_feed.ini
[edit]
[-] el-GR.mod_feed.sys.ini
[edit]
[-] el-GR.mod_finder.ini
[edit]
[-] el-GR.mod_finder.sys.ini
[edit]
[-] el-GR.mod_footer.ini
[edit]
[-] el-GR.mod_footer.sys.ini
[edit]
[-] el-GR.mod_languages.ini
[edit]
[-] el-GR.mod_languages.sys.ini
[edit]
[-] el-GR.mod_login.ini
[edit]
[-] el-GR.mod_login.sys.ini
[edit]
[-] el-GR.mod_menu.ini
[edit]
[-] el-GR.mod_menu.sys.ini
[edit]
[-] el-GR.mod_random_image.ini
[edit]
[-] el-GR.mod_random_image.sys.ini
[edit]
[-] el-GR.mod_related_items.ini
[edit]
[-] el-GR.mod_related_items.sys.ini
[edit]
[-] el-GR.mod_search.ini
[edit]
[-] el-GR.mod_search.sys.ini
[edit]
[-] el-GR.mod_stats.ini
[edit]
[-] el-GR.mod_stats.sys.ini
[edit]
[-] el-GR.mod_syndicate.ini
[edit]
[-] el-GR.mod_syndicate.sys.ini
[edit]
[-] el-GR.mod_tags_popular.ini
[edit]
[-] el-GR.mod_tags_popular.sys.ini
[edit]
[-] el-GR.mod_tags_similar.ini
[edit]
[-] el-GR.mod_tags_similar.sys.ini
[edit]
[-] el-GR.mod_users_latest.ini
[edit]
[-] el-GR.mod_users_latest.sys.ini
[edit]
[-] el-GR.mod_weblinks.ini
[edit]
[-] el-GR.mod_weblinks.sys.ini
[edit]
[-] el-GR.mod_whosonline.ini
[edit]
[-] el-GR.mod_whosonline.sys.ini
[edit]
[-] el-GR.mod_wrapper.ini
[edit]
[-] el-GR.mod_wrapper.sys.ini
[edit]
[-] el-GR.tpl_beez3.ini
[edit]
[-] el-GR.tpl_beez3.sys.ini
[edit]
[-] el-GR.tpl_protostar.ini
[edit]
[-] el-GR.tpl_protostar.sys.ini
[edit]
[-] el-GR.xml
[edit]
[-] index.html
[edit]
[-] install.xml
[edit]
[-] .htaccess.disabled
[edit]