diff --git a/admin/panels/maintain/admin.maintain.tpl b/admin/panels/maintain/admin.maintain.tpl index 79d8bec..ee270e7 100644 --- a/admin/panels/maintain/admin.maintain.tpl +++ b/admin/panels/maintain/admin.maintain.tpl @@ -21,6 +21,5 @@
  • {$panelstrings.opt3}
  • {$panelstrings.opt4}
  • {$panelstrings.opt5}
  • -
  • {$panelstrings.opt6}
  • {/if} diff --git a/fp-defaults/plugins.conf.php b/fp-defaults/plugins.conf.php index 5db7c32..4ef087f 100755 --- a/fp-defaults/plugins.conf.php +++ b/fp-defaults/plugins.conf.php @@ -28,7 +28,8 @@ $fp_plugins = array( 'mediamanager', 'datechanger', // Lets you change the publish date for (new) entries. 'feed', // Activates the RSS and Atom feed widget - 'emoticons', // // Activates an emoticons toolbar for entries and static pages + 'emoticons', // Activates an emoticons toolbar for entries and static pages + 'support', // Provides the FlatPress admin and the community with all relevant data in case of problems. 'gallerycaptions', 'photoswipe' ); diff --git a/fp-interface/lang/cs-cz/lang.admin.maintain.php b/fp-interface/lang/cs-cz/lang.admin.maintain.php index 8a2f263..4ecab4e 100644 --- a/fp-interface/lang/cs-cz/lang.admin.maintain.php +++ b/fp-interface/lang/cs-cz/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Obnovit oprávnění souborů', 'opt4' => 'Ukázat informace o PHP', 'opt5' => 'Zjistit aktualizace', - 'opt6' => 'Zobrazit údaje o podpoře', 'chmod_info' => 'Pokud se oprávnění souboru nepodařilo obnovit na ' . decoct(FILE_PERMISSIONS) . ', vlastník souboru pravděpodobně není stejný jako vlastník webového serveru.
    ' . // 'Případně můžete ignorovat toto oznámení.' diff --git a/fp-interface/lang/da-dk/lang.admin.maintain.php b/fp-interface/lang/da-dk/lang.admin.maintain.php index 86e3453..f9768da 100644 --- a/fp-interface/lang/da-dk/lang.admin.maintain.php +++ b/fp-interface/lang/da-dk/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Gendan rettigheder til filadgang', 'opt4' => 'Vis PHP-information om webserveren', 'opt5' => 'Tjek for nye versioner', - 'opt6' => 'Vis supportdata', 'chmod_info' => 'Hvis filrettighederne ikke kunne nulstilles til ' . decoct(FILE_PERMISSIONS) . ', er ejeren af filen sandsynligvis ikke den samme som ejeren af webserveren.
    ' . // 'Normalt kan du ignorere dette tip.' diff --git a/fp-interface/lang/de-de/lang.admin.maintain.php b/fp-interface/lang/de-de/lang.admin.maintain.php index 3a4a7f5..f25844e 100644 --- a/fp-interface/lang/de-de/lang.admin.maintain.php +++ b/fp-interface/lang/de-de/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Wiederherstellen der Dateizugriffsrechte', 'opt4' => 'Zeige PHP-Informationen des Webservers', 'opt5' => 'Prüfe auf neue Versionen', - 'opt6' => 'Zeige Supportdaten', 'chmod_info' => 'Wenn die Dateiberechtigungen nicht auf ' . decoct(FILE_PERMISSIONS) . ' zurückgesetzt werden konnten, ist wahrscheinlich der Eigentümer der Datei nicht derselbe wie der des Webservers.
    ' . // 'Normalerweise kann man diesen Hinweis ignorieren.' diff --git a/fp-interface/lang/el-gr/lang.admin.maintain.php b/fp-interface/lang/el-gr/lang.admin.maintain.php index 812af0a..f92d4df 100644 --- a/fp-interface/lang/el-gr/lang.admin.maintain.php +++ b/fp-interface/lang/el-gr/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Επαναφορά δικαιωμάτων αρχείων', 'opt4' => 'Εμφάνιση πληροφοριών σχετικά με την PHP', 'opt5' => 'Έλεγχος για αναβαθμίσεις', - 'opt6' => 'Εμφάνιση δεδομένων υποστήριξης', 'chmod_info' => 'Αν τα δικαιώματα του αρχείου δεν μπόρεσαν να επανέλθουν σε ' . decoct(FILE_PERMISSIONS) . ', ο ιδιοκτήτης του αρχείου δεν είναι πιθανότατα ο ίδιος με τον ιδιοκτήτη του διακομιστή ιστού.
    ' . // 'Συνήθως αυτή η ειδοποίηση μπορεί να αγνοηθεί.' diff --git a/fp-interface/lang/en-us/lang.admin.maintain.php b/fp-interface/lang/en-us/lang.admin.maintain.php index fe871bc..1d128dd 100755 --- a/fp-interface/lang/en-us/lang.admin.maintain.php +++ b/fp-interface/lang/en-us/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Restore file permissions', 'opt4' => 'Show info about PHP', 'opt5' => 'Check for updates', - 'opt6' => 'Show support data', 'chmod_info' => 'If the file permissions could not be reset to ' . decoct(FILE_PERMISSIONS) . ', the owner of the file is probably not the same as the owner of the web server.
    ' . // 'Usually you can ignore this notice.' diff --git a/fp-interface/lang/es-es/lang.admin.maintain.php b/fp-interface/lang/es-es/lang.admin.maintain.php index e4a731d..33b67fd 100644 --- a/fp-interface/lang/es-es/lang.admin.maintain.php +++ b/fp-interface/lang/es-es/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Restaurar permisos de archivos', 'opt4' => 'Mostrar información sobre PHP', 'opt5' => 'Buscar actualizaciones', - 'opt6' => 'Mostrar datos de apoyo', 'chmod_info' => 'Si los permisos del archivo no se pudieron restablecer a ' . decoct(FILE_PERMISSIONS) . ', es probable que el propietario del archivo no sea el mismo que el del servidor web.
    ' . // 'Por lo general, puede ignorar este aviso.' diff --git a/fp-interface/lang/fr-fr/lang.admin.maintain.php b/fp-interface/lang/fr-fr/lang.admin.maintain.php index e1ff83b..441054f 100644 --- a/fp-interface/lang/fr-fr/lang.admin.maintain.php +++ b/fp-interface/lang/fr-fr/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Restaurer les permissions de fichiers', 'opt4' => 'Afficher info.php', 'opt5' => 'Vérifier les mises à jour', - 'opt6' => 'Afficher les données de support', 'chmod_info' => 'Si les permissions du fichier n\'ont pas pu être remises à ' . decoct(FILE_PERMISSIONS) . ', il est probable que le propriétaire du fichier ne soit pas le même que celui du serveur web.
    ' . // 'tre différent du serveur web.' diff --git a/fp-interface/lang/it-it/lang.admin.maintain.php b/fp-interface/lang/it-it/lang.admin.maintain.php index fa9509b..a84baf8 100644 --- a/fp-interface/lang/it-it/lang.admin.maintain.php +++ b/fp-interface/lang/it-it/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Ripristina i permessi dei file', 'opt4' => 'Visualizza informazioni su PHP', 'opt5' => 'Controllo aggiornamenti', - 'opt6' => 'Mostra i dati di supporto', 'chmod_info' => 'Se non è stato possibile reimpostare i permessi del file a ' . decoct(FILE_PERMISSIONS) . ', probabilmente il proprietario del file non è lo stesso del server web.
    ' . // 'Di solito puoi ignorare questo avviso.' diff --git a/fp-interface/lang/ja-jp/lang.admin.maintain.php b/fp-interface/lang/ja-jp/lang.admin.maintain.php index 7da534a..cd02334 100644 --- a/fp-interface/lang/ja-jp/lang.admin.maintain.php +++ b/fp-interface/lang/ja-jp/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'ファイルパーミッションの回復', 'opt4' => 'PHP情報を表示します', 'opt5' => 'アップデートをチェックします', - 'opt6' => 'サポートデータの表示', 'chmod_info' => 'ファイルのパーミッションを' . decoct(FILE_PERMISSIONS) . 'にリセットできなかった場合、ファイルの所有者がウェブサーバーの所有者と同じでない可能性があります。
    ' . // 'でも通常、この通知を無視することができます。' diff --git a/fp-interface/lang/nl-nl/lang.admin.maintain.php b/fp-interface/lang/nl-nl/lang.admin.maintain.php index 830bfb1..cb157b0 100644 --- a/fp-interface/lang/nl-nl/lang.admin.maintain.php +++ b/fp-interface/lang/nl-nl/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Bestandsmachtigingen herstellen', 'opt4' => 'Toon info over PHP', 'opt5' => 'Controleren op updates', - 'opt6' => 'Toon ondersteuningsgegevens', 'chmod_info' => 'Als de bestandsrechten niet konden worden teruggezet naar ' . decoct(FILE_PERMISSIONS) . ', is de eigenaar van het bestand waarschijnlijk niet dezelfde als de eigenaar van de webserver.
    ' . // 'Meestal kunt u deze kennisgeving negeren.' diff --git a/fp-interface/lang/pt-br/lang.admin.maintain.php b/fp-interface/lang/pt-br/lang.admin.maintain.php index e47bc47..7a37806 100644 --- a/fp-interface/lang/pt-br/lang.admin.maintain.php +++ b/fp-interface/lang/pt-br/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Restaure as permissões de arquivos', 'opt4' => 'Mostre as informações sobre o PHP', 'opt5' => 'Procure atualizações', - 'opt6' => 'Mostrar dados de suporte', 'chmod_info' => 'Se não for possível redefinir as permissões do arquivo para ' . decoct(FILE_PERMISSIONS) . ', o proprietário do arquivo provavelmente não é o mesmo que o proprietário do servidor Web.
    ' . // 'Geralmente você pode ignorar este aviso.' diff --git a/fp-interface/lang/ru-ru/lang.admin.maintain.php b/fp-interface/lang/ru-ru/lang.admin.maintain.php index d2a7ff5..3663f78 100644 --- a/fp-interface/lang/ru-ru/lang.admin.maintain.php +++ b/fp-interface/lang/ru-ru/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Восстановить права доступа к файлам', 'opt4' => 'Показать информацию о PHP', 'opt5' => 'Проверить наличие обновлений', - 'opt6' => 'Показать данные о поддержке', 'chmod_info' => 'Если права доступа к файлу не удалось сбросить на ' . decoct(FILE_PERMISSIONS) . ', владелец файла, вероятно, не совпадает с владельцем веб-сервера.
    ' . // 'Обычно это уведомление можно проигнорировать.' diff --git a/fp-interface/lang/sl-si/lang.admin.maintain.php b/fp-interface/lang/sl-si/lang.admin.maintain.php index 4915691..996ef2a 100644 --- a/fp-interface/lang/sl-si/lang.admin.maintain.php +++ b/fp-interface/lang/sl-si/lang.admin.maintain.php @@ -10,7 +10,6 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt3' => 'Obnovi dovoljenja datotek', 'opt4' => 'Prikaži informacije o PHP', 'opt5' => 'Preveri posodobitve', - 'opt6' => 'Prikaži podatke o podpori', 'chmod_info' => 'Če pravic datoteke ni bilo mogoče ponastaviti na ' . decoct(FILE_PERMISSIONS) . ', lastnik datoteke verjetno ni isti kot lastnik spletnega strežnika.
    ' . // 'Običajno lahko to obvestilo prezrete.' diff --git a/fp-plugins/support/lang/lang.cs-cz.php b/fp-plugins/support/lang/lang.cs-cz.php new file mode 100644 index 0000000..84ea37f --- /dev/null +++ b/fp-plugins/support/lang/lang.cs-cz.php @@ -0,0 +1,152 @@ + 'Podpůrné údaje', + 'intro' => 'Pro hlášení chyb a pomoc navštivte FlatPress fórum, ' . // + 'nahlaste chybu na GitHub nebo ' . // + 'pošlete e-mail.
    Vložte tyto problémy (copy & paste) v angličtině ' . // + 's následujícími informacemi: Popis chyby, kroky k reprodukci.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Zavřít' +); +?> diff --git a/fp-plugins/support/lang/lang.da-dk.php b/fp-plugins/support/lang/lang.da-dk.php new file mode 100644 index 0000000..f483e64 --- /dev/null +++ b/fp-plugins/support/lang/lang.da-dk.php @@ -0,0 +1,152 @@ + 'Support data', + 'intro' => 'For fejlrapporter og hjælp, besøg FlatPress forum, ' . // + 'rapporter fejlen på GitHub ' . // + 'eller send en e-mail.
    Indsæt disse problemer (copy & paste) på engelsk ' . // + 'med følgende oplysninger: Fejlbeskrivelse, trin til reproduktion.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Luk' +); +?> diff --git a/fp-plugins/support/lang/lang.de-de.php b/fp-plugins/support/lang/lang.de-de.php new file mode 100644 index 0000000..db5d0f1 --- /dev/null +++ b/fp-plugins/support/lang/lang.de-de.php @@ -0,0 +1,152 @@ + 'Supportdaten', + 'intro' => 'Für Fehlerberichte und Hilfe, besuche das FlatPress-Forum, ' . // + 'melde den Fehler auf GitHub ' . // + 'oder schicke eine E-Mail.
    Füge diese Ausgaben (copy & paste) in Englisch ' . // + 'mit den folgenden Informationen ein: Fehlerbeschreibung, Schritte zur Reproduktion.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Schließen' +); +?> diff --git a/fp-plugins/support/lang/lang.el-gr.php b/fp-plugins/support/lang/lang.el-gr.php new file mode 100644 index 0000000..5b0c90f --- /dev/null +++ b/fp-plugins/support/lang/lang.el-gr.php @@ -0,0 +1,152 @@ + 'Δεδομένα υποστήριξης', + 'intro' => 'Για αναφορές σφαλμάτων και βοήθεια, επισκεφθείτε το φόρουμ FlatPress forum, ' . // + 'αναφέρετε το σφάλμα στο GitHub ' . // + 'ή στείλτε ένα email.
    Επικολλήστε αυτά τα θέματα (αντιγραφή & επικόλληση) στα ' . // + 'αγγλικά με τις ακόλουθες πληροφορίες: Περιγραφή σφάλματος, βήματα για την αναπαραγωγή.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Κλείσιμο' +); +?> diff --git a/fp-plugins/support/lang/lang.en-en.php b/fp-plugins/support/lang/lang.en-en.php new file mode 100644 index 0000000..3c7490a --- /dev/null +++ b/fp-plugins/support/lang/lang.en-en.php @@ -0,0 +1,152 @@ + 'Support data', + 'intro' => 'For bug reports and help, visit the FlatPress forum, ' . // + 'report the bug on GitHub ' . // + 'or send an email.
    Include these outputs (copy & paste) in English ' . // + 'with the following information: bug description, steps to reproduce.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Close' +); +?> diff --git a/fp-plugins/support/lang/lang.es-es.php b/fp-plugins/support/lang/lang.es-es.php new file mode 100644 index 0000000..8a055dc --- /dev/null +++ b/fp-plugins/support/lang/lang.es-es.php @@ -0,0 +1,152 @@ + 'Datos de soporte', + 'intro' => 'Para informes de errores y ayuda, visite el Foro de FlatPress, ' . // + 'informe del error en GitHub ' . // + 'o envíe un correo electrónico.
    Pegue estos problemas (copiar & pegar) en inglés ' . // + 'con la siguiente información: Descripción del fallo, pasos para reproducirlo.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Cerrar' +); +?> diff --git a/fp-plugins/support/lang/lang.fr-fr.php b/fp-plugins/support/lang/lang.fr-fr.php new file mode 100644 index 0000000..1a68845 --- /dev/null +++ b/fp-plugins/support/lang/lang.fr-fr.php @@ -0,0 +1,152 @@ + 'Données de support', + 'intro' => 'Pour les rapports de bug et l\'aide, visitez le FlatPress Forum, ' . // + 'signalez le bug sur GitHub ' . // + 'ou envoyez un e-mail.
    Insérez ces sorties (copy & ; paste) en anglais ' . // + 'avec les informations suivantes : Description de l\'erreur, étapes pour la reproduire.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Fermer' +); +?> diff --git a/fp-plugins/support/lang/lang.it-it.php b/fp-plugins/support/lang/lang.it-it.php new file mode 100644 index 0000000..508a23e --- /dev/null +++ b/fp-plugins/support/lang/lang.it-it.php @@ -0,0 +1,152 @@ + 'Dati di supporto', + 'intro' => 'Per le segnalazioni di bug e l\'assistenza, visitare il forum di FlatPress, ' . // + 'segnalare il bug su GitHub ' . // + 'o inviare un\'e-mail.
    Incollare questi problemi (copia e incolla) in inglese ' . // + 'con le seguenti informazioni: Descrizione del bug, passaggi per la riproduzione.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Chiudere' +); +?> diff --git a/fp-plugins/support/lang/lang.ja-jp.php b/fp-plugins/support/lang/lang.ja-jp.php new file mode 100644 index 0000000..f573d70 --- /dev/null +++ b/fp-plugins/support/lang/lang.ja-jp.php @@ -0,0 +1,152 @@ + 'サポートデータ', + 'intro' => 'バグレポートやヘルプについては、FlatPress forumをご覧いただくか、' . // + 'GitHubでバグを報告するか、' . // + 'メールを送信してください。
    ' . // + 'これらの問題(コピー&38;ペースト)は、以下の情報を英語で貼り付けてください: バグの説明、再現手順', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => '閉じる' +); +?> diff --git a/fp-plugins/support/lang/lang.nl-nl.php b/fp-plugins/support/lang/lang.nl-nl.php new file mode 100644 index 0000000..0844181 --- /dev/null +++ b/fp-plugins/support/lang/lang.nl-nl.php @@ -0,0 +1,152 @@ + 'Ondersteunende gegevens', + 'intro' => 'Voor bugrapporten en hulp, bezoek het FlatPress forum, ' . // + 'rapporteer de bug op GitHub ' . // + 'of stuur een e-mail.
    Plak deze problemen (kopiëren & plakken) in het Engels ' . // + 'met de volgende informatie: Bug beschrijving, stappen om te reproduceren.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Sluit' +); +?> diff --git a/fp-plugins/support/lang/lang.pt-br.php b/fp-plugins/support/lang/lang.pt-br.php new file mode 100644 index 0000000..8e40a78 --- /dev/null +++ b/fp-plugins/support/lang/lang.pt-br.php @@ -0,0 +1,152 @@ + 'Dados de suporte', + 'intro' => 'Para obter ajuda e relatórios de bugs, visite o Fórum do FlatPress, ' . // + 'relate o bug no GitHub ' . // + 'ou envie um e-mail.
    Cole esses problemas (copiar & colar) em inglês ' . // + 'com as seguintes informações: Descrição do bug, etapas para reproduzir.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Fechar' +); +?> diff --git a/fp-plugins/support/lang/lang.ru-ru.php b/fp-plugins/support/lang/lang.ru-ru.php new file mode 100644 index 0000000..3b06032 --- /dev/null +++ b/fp-plugins/support/lang/lang.ru-ru.php @@ -0,0 +1,152 @@ + 'Данные поддержки', + 'intro' => 'Для получения сообщений об ошибках и помощи посетите форум FlatPress, ' . // + 'сообщите об ошибке на GitHub ' . // + 'или отправьте письмо.
    Вставьте эти проблемы (copy & paste) на английском ' . // + 'языке со следующей информацией: Описание ошибки, шаги для воспроизведения.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Закрыть' +); +?> diff --git a/fp-plugins/support/lang/lang.sl-si.php b/fp-plugins/support/lang/lang.sl-si.php new file mode 100644 index 0000000..3a401a1 --- /dev/null +++ b/fp-plugins/support/lang/lang.sl-si.php @@ -0,0 +1,152 @@ + 'Podporni podatki', + 'intro' => 'Za poročila o napakah in pomoč obiščite FlatPress forum, ' . // + 'prijavite napako na GitHub ' . // + 'ali pošljite e-pošto.
    Polepite te težave (copy & paste) v angleščini ' . // + 'z naslednjimi informacijami: Opis napake, koraki za reprodukcijo.', + + // output "Setup" + 'h2_general' => 'FlatPress general', + 'h3_setup' => 'Setup', + + 'version' => '

    FlatPress version: ' . SYSTEM_VER . '

    ', + 'basedir' => '

    Base directory: ' . BASE_DIR . '

    ', + 'blogbaseurl' => '

    Blog base URL: ' . $fp_config ['general'] ['www'] . '

    ', + + 'pos_LANG_DEFAULT' => '

    Language (automatic): ' . LANG_DEFAULT . '

    ', + 'neg_LANG_DEFAULT' => '

    Language (automatic): ℹ not recognized

    ', + + 'pos_lang' => '

    Language (set): ' . $fp_config ['locale'] ['lang'] . '

    ', + 'neg_lang' => '

    Language (set): not set

    ', + + 'pos_charset' => '

    Character set: ' . $fp_config ['locale'] ['charset'] . '

    ', + 'neg_charset' => '

    Character set: not set (default is utf-8)

    ', + + 'pos_theme' => '

    Theme: ' . $fp_config ['general'] ['theme'] . '

    ', + 'neg_theme' => '

    Theme: not set (default is leggero)

    ', + + 'pos_style' => '

    Style: ' . $fp_config ['general'] ['style'] . '

    ', + 'neg_style' => '

    Style: default style

    ', + + 'pos_plugins' => '

    Activated plugins:

    ', + 'neg_plugins' => '

    Activated plugins: Could not be determined.

    ', + + // output "Core files" + 'h2_permissions' => 'FlatPress file and directory permissions', + 'h3_core_files' => 'Core', + + 'desc_setupfile' => '

    As soon as the setup has been successfully executed, the setup.php file should be deleted before productive operation.

    ', + 'error_setupfile' => '

    ! The setup file is located in the main directory!

    ', + 'success_setupfile' => '

    The setup file was not found in the main directory.

    ', + + 'desc_defaultsfile' => '

    The defaults.php file should only be read-only for productive operation.

    ', + 'attention_defaultsfile' => '

    The defaults.php file can be changed!

    ', + 'success_defaultsfile' => '

    The defaults.php file cannot be changed.

    ', + + 'desc_admindir' => '

    The admin directory should be read-only for productive operation.

    ', + 'attention_admindir' => '

    The core files in the admin directory are writable!

    ', + 'success_admindir' => '

    The core files in the admin directory are not writable.

    ', + + 'desc_includesdir' => '

    The fp-includes directory should be read-only for productive operation.

    ', + 'attention_includesdir' => '

    The core files in the fp-includes directory are writable!

    ', + 'success_includesdir' => '

    The core files in the fp-includes directory are not writable.

    ', + + // output "Configuration file for the webserver" + 'h3_configwebserver' => 'Configuration file for the webserver', + + 'note_configwebserver' => 'The main directory must be writable in order to be able to create or modify an .htaccess file with the PrettyURLs plugin.
    ' . // + 'Note: Only web servers that are NCSA compatible, such as Apache, are familiar with the concept of .htaccess files.', + 'serversoftware' => 'The server software is ' . $_SERVER ['SERVER_SOFTWARE'] . '.', + + 'success_maindir' => '

    The FlatPress main directory is writable.

    ', + 'attention_maindir' => '

    The FlatPress main directory is not writable!

    ', + + 'success_htaccessw' => '

    The .htaccess file is writable.

    ', + 'attention_htaccessw' => '

    The .htaccess file is not writable!

    ', + + 'attention_htaccessn' => '

    A .htaccess file already exists in the main directory!

    ', + 'success_htaccessn' => '

    No .htaccess file was found in the main directory.

    ', + + // output "Themes and plugins" + 'h3_themesplugins' => 'Themes and plugins', + + 'desc_interfacedir' => 'The fp-interface directory should be read-only for productive operation.', + 'attention_interfacedir' => '

    The directory fp-interface writable!

    ', + 'success_interfacedir' => '

    The directory fp-interface is not writable.

    ', + + 'desc_themesdir' => 'The themes directory should be read-only for productive operation.', + 'attention_themesdir' => '

    The theme directory is writable!

    ', + 'success_themesdir' => '

    The theme directory is not writable.

    ', + + 'desc_plugindir' => 'The fp-plugin directory should be read-only for productive operation.', + 'attention_plugindir' => '

    The plugin directory fp-plugins writable!

    ', + 'success_plugindir' => '

    The plugin directory fp-plugins is not writable.

    ', + + // output "Content directory" + 'h3_contentdir' => 'Content', + + 'desc_contentdir' => 'The fp-content directory must be writable for FlatPress to work.', + 'success_contentdir' => '

    The fp-content directory is writable.

    ', + 'error_contentdir' => '

    ! The fp-content directory is not writable!

    ', + + 'desc_imagesdir' => 'This images directory must have write permissions so that you can upload images.', + 'success_imagesdir' => '

    The images directory is writable.

    ', + 'error_imagesdir' => '

    ! The images directory is not writable!

    ', + 'attention_imagesdir' => '

    The images directory does not exist.

    ', + + 'desc_thumbsdir' => 'This thumbs directory must have write permissions so that scalable images can be created.', + 'success_thumbsdir' => '

    The images/.thumbs directory is writable.

    ', + 'error_thumbsdir' => '

    ! The images/.thumbs directory is not writable!

    ', + 'attention_thumbsdir' => '

    The .thumbs directory does not exist, ' . // + 'but is created automatically as soon as a thumbnail has been created with the Thumbnails plugin.

    ', + + 'desc_attachsdir' => 'This upload directory must have write permissions so that you can upload something.', + 'success_attachsdir' => '

    The upload directory is writable.

    ', + 'error_attachsdir' => '

    ! The upload directory is not writable!

    ', + 'attention_attachsdir' => '

    The upload directory does not exist, ' . // + 'but is created automatically with the first upload.

    ', + + 'desc_cachedir' => 'This cache directory must have write permission for the cache to function correctly.', + 'success_cachedir' => '

    The cache directory is writable.

    ', + 'error1_cachedir' => '

    ! The cache directory is not writable!

    ', + 'error2_cachedir' => '

    ! The directory cache does not exist!

    ', + + // output "PHP" + 'h2_php' => 'PHP', + + 'php_ver' => 'The PHP version is ' . phpversion() . '', + 'h3_extensions' => 'Extensions', + + 'desc_php_intl' => 'The PHP-Intl extension must be activated.', + 'error_php_intl' => '

    ! The intl Extension is not activated!

    ', + 'success_php_intl' => '

    The intl Extension is activated.

    ', + + 'desc_php_gdlib' => 'The GDlib extension must be activated to create image thumbnails.', + 'error_php_gdlib' => '

    ! The GD Extension is not activated!

    ', + 'success_php_gdlib' => '

    The GD Extension is activated.

    ', + + // output "Other" + 'h2_other' => 'Other', + + 'desc_browser' => 'The browser used is of interest if there are display errors.', + 'no_browser' => 'Not recognized', + 'detect_browser' => '

    Browser: ', + + 'desc_cookie' => 'If visitors to the FlatPress blog are to be informed about cookies, this is the cookie.
    ' . // + 'Hint: The name of the cookie changes each time FlatPress is reinstalled.', + 'session_cookie' => '

    Session cookie: ', + 'no_session_cookie' => 'Could not be determined.', + + 'h3_completed' => 'Output completed!', + + 'symbols' => '

    Symbols:

    ', + 'symbol_success' => '

    No action necessary

    ', + 'symbol_attention' => '

    Does not restrict functionality, but requires attention

    ', + 'symbol_error' => '

    ! Action urgently needed

    ', + + 'close_btn' => 'Close' +); +?> diff --git a/fp-plugins/support/plugin.support.php b/fp-plugins/support/plugin.support.php new file mode 100644 index 0000000..00f3d9a --- /dev/null +++ b/fp-plugins/support/plugin.support.php @@ -0,0 +1,368 @@ + + + '; + } + + class admin_maintain_support extends AdminPanelAction { + + function setup() { + $this->smarty->assign('admin_resource', 'plugin:support/admin.plugin.support'); + } + + function main() { + global $fp_config, $fp_plugins; + + $BASE_DIR = BASE_DIR; + $setupfile = BASE_DIR . '/setup.php'; + + $LANG_DEFAULT = null; + $LANG_DEFAULT = LANG_DEFAULT; + + $lang = null; + $fp_config ['locale'] ['lang']; + + $charset = null; + $charset = $fp_config ['locale'] ['charset']; + + $theme = null; + $theme = $fp_config ['general'] ['theme']; + + $style = null; + $style = $fp_config ['general'] ['style']; + + $BLOG_BASEURL = null; + $BLOG_BASEURL = $fp_config ['general'] ['www']; + + $lang = lang_load('plugin:support'); + + /** + * prepare output "Setup" + */ + $support ['h2_general'] = $lang ['admin'] ['maintain'] ['support'] ['h2_general']; + + $support ['h3_setup'] = $lang ['admin'] ['maintain'] ['support'] ['h3_setup']; + + if ($LANG_DEFAULT) { + $support ['LANG_DEFAULT'] = $lang ['admin'] ['maintain'] ['support'] ['pos_LANG_DEFAULT']; + } else { + $support ['LANG_DEFAULT'] = $lang ['admin'] ['maintain'] ['support'] ['neg_LANG_DEFAULT']; + } + + if ($lang) { + $support ['lang'] = $lang ['admin'] ['maintain'] ['support'] ['pos_lang']; + } else { + $support ['lang'] = $lang ['admin'] ['maintain'] ['support'] ['neg_lang']; + } + + if ($charset) { + $support ['charset'] = $lang ['admin'] ['maintain'] ['support'] ['pos_charset']; + } else { + $support ['charset'] = $lang ['admin'] ['maintain'] ['support'] ['neg_charset']; + } + + if ($theme) { + $support ['theme'] = $lang ['admin'] ['maintain'] ['support'] ['pos_theme']; + } else { + $support ['theme'] = $lang ['admin'] ['maintain'] ['support'] ['neg_theme']; + } + + if ($style) { + $support ['style'] = $lang ['admin'] ['maintain'] ['support'] ['pos_style']; + } else { + $support ['style'] = $lang ['admin'] ['maintain'] ['support'] ['neg_style']; + } + + if ($BLOG_BASEURL) { + $support ['plugins'] = $lang ['admin'] ['maintain'] ['support'] ['pos_plugins']; + $support ['output_plugins'] = 'Meh!'; + //echo @implode(', ', $fp_plugins); + //echo '

    '; + } else { + $support ['plugins'] = $lang ['admin'] ['maintain'] ['support'] ['neg_plugins']; + } + + /** + * prepare output "Core files" + */ + $support ['h2_permissions'] = $lang ['admin'] ['maintain'] ['support'] ['h2_permissions']; + + $support ['h3_core_files'] = $lang ['admin'] ['maintain'] ['support'] ['h3_core_files']; + + $support ['desc_setupfile'] = $lang ['admin'] ['maintain'] ['support'] ['desc_setupfile']; + if (file_exists($setupfile)) { + $support ['setupfile'] = $lang ['admin'] ['maintain'] ['support'] ['error_setupfile']; + } else { + $support ['setupfile'] = $lang ['admin'] ['maintain'] ['support'] ['success_setupfile']; + } + + $support['desc_defaultsfile'] = $lang ['admin'] ['maintain'] ['support'] ['desc_defaultsfile']; + $test_file = @fopen("{$BASE_DIR}/defaults.php", "a+"); + if ($test_file) { + $support ['defaultsfile'] = $lang ['admin'] ['maintain'] ['support'] ['attention_defaultsfile']; + } else { + $support ['defaultsfile'] = $lang ['admin'] ['maintain'] ['support'] ['success_defaultsfile']; + } + @fclose($test_file); + + $support['desc_admindir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_admindir']; + $test_file = @fopen("{$BASE_DIR}/admin/chmod-test-file", "a+"); + if ($test_file) { + $support ['admindir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_admindir']; + } else { + $support ['admindir'] = $lang ['admin'] ['maintain'] ['support'] ['success_admindir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/admin/chmod-test-file"); + + $support['desc_includesdir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_includesdir']; + $test_file = @fopen("{$BASE_DIR}/fp-includes/chmod-test-file", "a+"); + if ($test_file) { + $support['includesdir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_includesdir']; + } else { + $support ['includesdir'] = $lang ['admin'] ['maintain'] ['support'] ['success_includesdir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-includes/chmod-test-file"); + + /** + * prepare output "Configuration file for the webserver" + */ + $support ['h3_configwebserver'] = $lang ['admin'] ['maintain'] ['support'] ['h3_configwebserver']; + $support ['note_configwebserver'] = $lang ['admin'] ['maintain'] ['support'] ['note_configwebserver']; + $support ['serversoftware'] = $lang ['admin'] ['maintain'] ['support'] ['serversoftware']; + + $test_file = @fopen("{$BASE_DIR}/chmod-test-file", "a+"); + if ($test_file) { + $support['maindir'] = $lang ['admin'] ['maintain'] ['support'] ['success_maindir']; + } else { + $support['maindir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_maindir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/chmod-test-file"); + + // Do not create a .hthaccess file, otherwise the PrettyURLs plugin cannot create its own file. Better is .htaccess.txt + $test_file = @fopen("{$BASE_DIR}/.htaccess.txt", "a+"); + if ($test_file) { + $support['htaccessw'] = $lang ['admin'] ['maintain'] ['support'] ['success_htaccessw']; + } else { + $support['htaccessw'] = $lang ['admin'] ['maintain'] ['support'] ['attention_htaccessw']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/.htaccess.txt"); + + $htaccess = BASE_DIR . '/.htaccess'; + if (file_exists($htaccess)) { + $support['htaccessn'] = $lang ['admin'] ['maintain'] ['support'] ['attention_htaccessn']; + } else { + $support['htaccessn'] = $lang ['admin'] ['maintain'] ['support'] ['success_htaccessn']; + } + + /** + * prepare output "Themes and plugins" + */ + $support ['h3_themesplugins'] = $lang ['admin'] ['maintain'] ['support'] ['h3_themesplugins']; + + $support ['desc_interfacedir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_interfacedir']; + $test_file = @fopen("{$BASE_DIR}/fp-interface/chmod-test-file", "a+"); + if ($test_file) { + $support['interfacedir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_interfacedir']; + } else { + $support['interfacedir'] = $lang ['admin'] ['maintain'] ['support'] ['success_interfacedir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-interface/chmod-test-file"); + + $support ['desc_themesdir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_themesdir']; + $test_file = @fopen("{$BASE_DIR}/fp-interface/themes/chmod-test-file", "a+"); + if ($test_file) { + $support['themesdir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_themesdir']; + } else { + $support['themesdir'] = $lang ['admin'] ['maintain'] ['support'] ['success_themesdir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-interface/themes/chmod-test-file"); + + $support ['desc_plugindir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_plugindir']; + $test_file = @fopen("{$BASE_DIR}/fp-plugins/chmod-test-file", "a+"); + if ($test_file) { + $support['plugindir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_plugindir']; + } else { + $support['plugindir'] = $lang ['admin'] ['maintain'] ['support'] ['success_plugindir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-plugins/chmod-test-file"); + + $support ['h3_contentdir'] = $lang ['admin'] ['maintain'] ['support'] ['h3_contentdir']; + + $support ['desc_contentdir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_contentdir']; + $test_file = @fopen("{$BASE_DIR}/fp-content/chmod-test-file", "a+"); + if ($test_file) { + $support['contentdir'] = $lang ['admin'] ['maintain'] ['support'] ['success_contentdir']; + } else { + $support['contentdir'] = $lang ['admin'] ['maintain'] ['support'] ['error_contentdir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-content/chmod-test-file"); + + $support ['desc_imagesdir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_imagesdir']; + if (file_exists("{$BASE_DIR}/fp-content/images/")) { + $test_file = @fopen("{$BASE_DIR}/fp-content/images/chmod-test-file", "a+"); + if ($test_file) { + $support['imagesdir'] = $lang ['admin'] ['maintain'] ['support'] ['success_imagesdir']; + } else { + $support['imagesdir'] = $lang ['admin'] ['maintain'] ['support'] ['error_imagesdir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-content/images/chmod-test-file"); + } else { + $support['imagesdir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_imagesdir']; + } + + $support ['desc_thumbsdir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_thumbsdir']; + if (file_exists("{$BASE_DIR}/fp-content/images/.thumbs")) { + $test_file = @fopen("{$BASE_DIR}/fp-content/images/.thumbs/chmod-test-file", "a+"); + if ($test_file) { + $support['thumbsdir'] = $lang ['admin'] ['maintain'] ['support'] ['success_thumbsdir']; + } else { + $support['thumbsdir'] = $lang ['admin'] ['maintain'] ['support'] ['error_thumbsdir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-content/images/chmod-test-file"); + } else { + $support['thumbsdir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_thumbsdir']; + } + + $support ['desc_attachsdir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_attachsdir']; + if (file_exists("{$BASE_DIR}/fp-content/attachs/")) { + $test_file = @fopen("{$BASE_DIR}/fp-content/attachs/chmod-test-file", "a+"); + if ($test_file) { + $support ['attachsdir'] = $lang ['admin'] ['maintain'] ['support'] ['success_attachsdir']; + } else { + $support ['attachsdir'] = $lang ['admin'] ['maintain'] ['support'] ['error_attachsdir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-content/attachs/chmod-test-file"); + } else { + $support ['attachsdir'] = $lang ['admin'] ['maintain'] ['support'] ['attention_attachsdir']; + } + + $support ['desc_cachedir'] = $lang ['admin'] ['maintain'] ['support'] ['desc_cachedir']; + if (file_exists("{$BASE_DIR}/fp-content/cache/")) { + $test_file = @fopen("{$BASE_DIR}/fp-content/cache/chmod-test-file", "a+"); + if ($test_file) { + $support ['cachedir'] = $lang ['admin'] ['maintain'] ['support'] ['success_cachedir']; + } else { + $support ['cachedir'] = $lang ['admin'] ['maintain'] ['support'] ['error1_cachedir']; + } + @fclose($test_file); + @unlink("{$BASE_DIR}/fp-content/cache/chmod-test-file"); + } else { + $support ['cachedir'] = $lang ['admin'] ['maintain'] ['support'] ['error2_cachedir']; + } + + /** + * prepare output "PHP" + */ + $support ['h2_php'] = $lang ['admin'] ['maintain'] ['support'] ['h2_php']; + $support ['php_ver'] = $lang ['admin'] ['maintain'] ['support'] ['php_ver']; + + $support ['h3_extensions'] = $lang ['admin'] ['maintain'] ['support'] ['h3_extensions']; + + $support ['desc_php_intl'] = $lang ['admin'] ['maintain'] ['support'] ['desc_php_intl']; + if (function_exists("intl_error_name")) { + $support['php_intl'] = $lang ['admin'] ['maintain'] ['support'] ['success_php_intl']; + } else { + $support['php_intl'] = $lang ['admin'] ['maintain'] ['support'] ['error_php_intl']; + } + + $support ['desc_php_gdlib'] = $lang ['admin'] ['maintain'] ['support'] ['desc_php_gdlib']; + if (function_exists("gd_info")) { + $support['php_gdlib'] = $lang ['admin'] ['maintain'] ['support'] ['success_php_gdlib']; + } else { + $support['php_gdlib'] = $lang ['admin'] ['maintain'] ['support'] ['error_php_gdlib']; + } + + /** + * prepare output "Other" + */ + $support ['h2_other'] = $lang ['admin'] ['maintain'] ['support'] ['h2_other']; + $support ['desc_browser'] = $lang ['admin'] ['maintain'] ['support'] ['desc_browser']; + + // Browser recognition does not always work correctly. + // This also depends on whether a current browscap has been set in php.ini or not. + function browser() { + + $lang = lang_load('plugin:support'); + + $user_agent = $_SERVER ['HTTP_USER_AGENT']; + $browser = $lang ['admin'] ['maintain'] ['support'] ['no_browser']; + + $browsers = [ + '/msie/i' => 'Internet explorer', + '/trident/i' => 'Internet explorer', + '/edge/i' => 'Edge', + '/firefox/i' => 'Firefox', + '/safari/i' => 'Safari', + '/chrome/i' => 'Chrome', + '/opera/i' => 'Opera', + '/opr/i' => 'Opera', + '/mobile/i' => 'Mobile browser', + '/konqueror/i' => 'Konqueror' + ]; + + foreach ($browsers as $regex => $value) { + if (preg_match($regex, $user_agent)) { + $browser = $value; + } + } + return $browser; + } + $support ['detect_browser'] = $lang ['admin'] ['maintain'] ['support'] ['detect_browser']; + $support ['function_browser'] = browser(); + + $support ['desc_cookie'] = $lang ['admin'] ['maintain'] ['support'] ['desc_cookie']; + $support ['session_cookie'] = $lang ['admin'] ['maintain'] ['support'] ['session_cookie']; + if (function_exists("cookie_setup")) { + @cookie_setup(); + $support ['output_sess_cookie'] = SESS_COOKIE; + } else { + $support ['output_sess_cookie'] = $lang ['admin'] ['maintain'] ['support'] ['no_session_cookie']; + } + + $support ['h3_completed'] = $lang ['admin'] ['maintain'] ['support'] ['h3_completed']; + + $support ['symbols'] = $lang ['admin'] ['maintain'] ['support'] ['symbols']; + $support ['symbol_success'] = $lang ['admin'] ['maintain'] ['support'] ['symbol_success']; + $support ['symbol_attention'] = $lang ['admin'] ['maintain'] ['support'] ['symbol_attention']; + $support ['symbol_error'] = $lang ['admin'] ['maintain'] ['support'] ['symbol_error']; + + $support ['close_btn'] = $lang ['admin'] ['maintain'] ['support'] ['close_btn']; + + $this->smarty->assign('support', $support); + } + } + + // register stylesheet + add_action('wp_head', 'plugin_support_head'); + + // register to 'maintain' menu + admin_addpanelaction('maintain', 'support', true); +} diff --git a/fp-plugins/support/res/support.css b/fp-plugins/support/res/support.css new file mode 100644 index 0000000..54f1f84 --- /dev/null +++ b/fp-plugins/support/res/support.css @@ -0,0 +1,30 @@ +.support-data { + background-color: #ffffff +} + +.support-data ul li { + list-style-type: none; +} + +.support-data .error { + color: #990000; +} + +.support-data .attention { + color: #D35400; +} + +.support-data .success { + color: #0E7924; +} + +/* hidden code block - only becomes visible when pasted - onion juice ink - magic */ +.support-data h2 { + margin-bottom: 0 +} + +.support-data .codeblock { + background-color: #ffffff; + margin: 0; + font-size: 0px +} diff --git a/fp-plugins/support/tpls/admin.plugin.support.tpl b/fp-plugins/support/tpls/admin.plugin.support.tpl new file mode 100644 index 0000000..291b813 --- /dev/null +++ b/fp-plugins/support/tpls/admin.plugin.support.tpl @@ -0,0 +1,261 @@ +

    {$plang.title}

    +

    {$plang.intro}

    + +
    +

    + {$support.h2_general} +

    +

    [code]

    +

    + {$support.h3_setup} +

    + +

    [/code]

    + +

    + {$support.h2_permissions} +

    +

    [code]

    +

    + {$support.h3_core_files} +

    + +

    + {$support.desc_setupfile} +

    + + +

    + {$support.desc_defaultsfile} +

    + + +

    + {$support.desc_admindir} +

    + + +

    + {$support.desc_includesdir} +

    + + +

    + {$support.h3_configwebserver} +

    +

    + {$support.note_configwebserver} +

    +

    + {$support.serversoftware} +

    + + +

    + {$support.h3_themesplugins} +

    +

    + {$support.desc_interfacedir} +

    + + +

    + {$support.desc_themesdir} +

    + + +

    + {$support.desc_plugindir} +

    + + +

    + {$support.h3_contentdir} +

    +

    + {$support.desc_contentdir} +

    + + +

    + {$support.desc_imagesdir} +

    + + +

    + {$support.desc_thumbsdir} +

    + + +

    + {$support.desc_attachsdir} +

    + + +

    + {$support.desc_cachedir} +

    + +

    [/code]

    + +

    + {$support.h2_php} +

    +

    [code]

    +

    + {$support.php_ver} +

    +

    + {$support.h3_extensions} +

    + +

    + {$support.desc_php_intl} +

    + + +

    + {$support.desc_php_gdlib} +

    + +

    [/code]

    + +

    + {$support.h2_other} +

    +

    [code]

    +

    + {$support.desc_browser} +

    + + +

    + {$support.desc_cookie} +

    + +

    [/code]

    + +

    + {$support.h3_completed} +

    +

    + {$support.symbols} +

    + +
    + +
    + +