Greek language file

- Greek language file for setup
This commit is contained in:
Fraenkiman 2023-10-16 01:04:40 +02:00
parent 9da30cf750
commit 43dcd8bc33
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
- Image files, which are not used by the installer, were removed. - Image files, which are not used by the installer, were removed.
- In the setup CSS, unused IDs, classes and incorrect references to fonts have been removed. - In the setup CSS, unused IDs, classes and incorrect references to fonts have been removed.
- The installer header now shines in a simple FlatPress style. - The installer header now shines in a simple FlatPress style.
- Added missing language files for Spanish and French ([#214](https://github.com/flatpressblog/flatpress/issues/214)) - Added missing language files for Greek, Spanish and French ([#214](https://github.com/flatpressblog/flatpress/issues/214))
## Themes ## Themes
- Reworked "Leggero v2" style, Admin Area now responsive ([#259](https://github.com/flatpressblog/flatpress/issues/259)) - Reworked "Leggero v2" style, Admin Area now responsive ([#259](https://github.com/flatpressblog/flatpress/issues/259))

View File

@ -2,7 +2,7 @@
/** /**
* Get the language code from the browser * Get the language code from the browser
* *
* @param array Allowed Languages "array('cs-cz','de-de','en-us','es-es',fr-fr','it-it','ja-jp','nl-nl','pt-br','sl-si')" * @param array Allowed Languages "array('cs-cz','de-de','en-us','es-es',fr-fr','el-gr','it-it','ja-jp','nl-nl','pt-br','sl-si')"
* @param string Default language * @param string Default language
* @param string Language string from HTTP-Header * @param string Language string from HTTP-Header
* @param bool Strict-Mode * @param bool Strict-Mode
@ -60,6 +60,6 @@ function getBrowserLanguage($arrAllowedLanguages, $strDefaultLanguage, $strLangV
// Only enter another language abbreviation here, if the language files are available for FlatPress, the plugins, the admin area and for the setup! // Only enter another language abbreviation here, if the language files are available for FlatPress, the plugins, the admin area and for the setup!
// accept the following languages, otherwise fall back to "en-us" // accept the following languages, otherwise fall back to "en-us"
$browserLang = getBrowserLanguage(array('cs-cz', 'de-de', 'en-us', 'es-es', 'fr-fr', 'it-it', 'ja-jp', 'nl-nl', 'pt-br', 'sl-si'), 'en-us'); $browserLang = getBrowserLanguage(array('cs-cz', 'de-de', 'en-us', 'es-es', 'fr-fr', 'el-gr', 'it-it', 'ja-jp', 'nl-nl', 'pt-br', 'sl-si'), 'en-us');
?> ?>