forked from ZwiiCMS-Team/ZwiiCMS
gr_GR
This commit is contained in:
parent
185f501e77
commit
482de27ef8
@ -181,7 +181,7 @@ class common
|
||||
//'fa' => 'فارسی',
|
||||
'fr_FR' => 'Français',
|
||||
'he_IL' => 'Hebrew (Israel)',
|
||||
'el_GR' => 'Ελληνικά',
|
||||
'gr_GR' => 'Ελληνικά',
|
||||
'hr' => 'Hrvatski jezik',
|
||||
'hu_HU' => 'Magyar',
|
||||
'id' => 'Bahasa Indonesia',
|
||||
|
@ -931,25 +931,7 @@ if ($this->getData(['core', 'dataVersion']) < 12000) {
|
||||
if ($this->getData(['core', 'dataVersion']) < 12300) {
|
||||
// Valeur par défaut du délai de recherche de mise à jour en ligne
|
||||
$this->setData(['config', 'autoUpdateDelay', 86400]);
|
||||
// Changement de nom des fichiers de langue greque
|
||||
if (file_exists('core/module/install/ressource/i18n/gr_GR.json')) {
|
||||
unlink('core/module/install/ressource/i18n/gr_GR.json');
|
||||
}
|
||||
if (file_exists(self::I18N_DIR . 'gr_GR.json')) {
|
||||
rename(self::I18N_DIR . 'gr_GR.json', self::I18N_DIR . 'el_GR.json');
|
||||
}
|
||||
$d = $this->getData(['languages', 'gr_GR']);
|
||||
if ($d) {
|
||||
$this->setData(['languages', 'el_GR', $d]);
|
||||
$this->deleteData(['languages', 'gr_GR']);
|
||||
}
|
||||
// Idem pour les modules
|
||||
$moduleIds = ['blog', 'news', 'gallery', 'search', 'redirection', 'form'];
|
||||
foreach ($moduleIds as $key => $value) {
|
||||
if (file_exists('module/' . $value . '/i18n/gr_GR.json')) {
|
||||
unlink('module/' . $value . '/i18n/gr_GR.json');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Nettoyage de flatPickr
|
||||
if (is_dir('core/vendor/flatpickr')) {
|
||||
|
2
core/vendor/filemanager/lang/languages.php
vendored
2
core/vendor/filemanager/lang/languages.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
return array(
|
||||
'de' => 'Deutsch',
|
||||
'el_GR' => 'ελληνικά',
|
||||
'gr_GR' => 'ελληνικά',
|
||||
'en_EN' => 'English',
|
||||
'es' => 'Español',
|
||||
'fr_FR' => 'Français',
|
||||
|
Loading…
Reference in New Issue
Block a user