diff --git a/lang/wpuerrorlogs-fr_FR.l10n.php b/lang/wpuerrorlogs-fr_FR.l10n.php new file mode 100644 index 0000000..847788f --- /dev/null +++ b/lang/wpuerrorlogs-fr_FR.l10n.php @@ -0,0 +1,2 @@ +NULL,'plural-forms'=>NULL,'messages'=>['Make sense of your log files'=>'Donnez un sens à vos fichiers logs','Settings'=>'Réglages','Count'=>'Nombre','Date'=>'Date','Type'=>'Type','Text'=>'Texte','Filter results'=>'Filtrer les résultats','Check the last :'=>'Vérifiez les derniers :','1 day'=>'1 jour','%s days'=>'%s jours','Search in errors'=>'Rechercher dans les erreurs','Search'=>'Rechercher','Top errors'=>'Principales erreurs','No errors at the moment.'=>'Pas d’erreurs pour le moment.','Latest errors'=>'Dernières erreurs','Latest fatal errors'=>'Dernières erreurs fatales','Full error'=>'Erreur complète'],'language'=>'fr_FR','x-generator'=>'Poedit 3.4.2']; \ No newline at end of file diff --git a/wpuerrorlogs.php b/wpuerrorlogs.php index d066c1c..c3fda53 100644 --- a/wpuerrorlogs.php +++ b/wpuerrorlogs.php @@ -4,7 +4,7 @@ Plugin URI: https://github.com/WordPressUtilities/wpuerrorlogs Update URI: https://github.com/WordPressUtilities/wpuerrorlogs Description: Make sense of your log files -Version: 0.8.0 +Version: 0.8.1 Author: Darklg Author URI: https://github.com/Darklg Text Domain: wpuerrorlogs @@ -23,7 +23,7 @@ class WPUErrorLogs { public $settings_update; private $number_of_days = 10; - private $plugin_version = '0.8.0'; + private $plugin_version = '0.8.1'; private $plugin_settings = array( 'id' => 'wpuerrorlogs', 'name' => 'WPU Error Logs' @@ -116,17 +116,18 @@ public function page_content__main() { 'text' => __('Text', 'wpuerrorlogs') ); - echo '
'; + echo '
'; echo '' . __('Filter results', 'wpuerrorlogs') . ''; /* Select number of days */ echo '

'; echo '
'; - echo ''; for ($i = $this->number_of_days; $i > 0; $i--) { echo ''; } echo ''; + echo ''; echo '

'; /* Search bar */ @@ -184,6 +185,9 @@ function page_action__main() { if (isset($_POST['wpuerrorlogs_search'])) { $new_url = add_query_arg('s', urlencode($_POST['wpuerrorlogs_search']), $new_url); } + if (isset($_POST['wpuerrorlogs_search_action'])) { + $new_url = add_query_arg('has_action', 1, $new_url); + } wp_redirect($new_url); die;