diff --git a/classes/ListTable.class.php b/classes/ListTable.class.php index d49abcd..8e2b316 100644 --- a/classes/ListTable.class.php +++ b/classes/ListTable.class.php @@ -110,7 +110,7 @@ function column_default($item, $column_name) { return $item[$column_name]; } - // For "Name" column add row action and reformat it. + // For "Name" column add row actions and reformat it. function column_name($item) { $actions = [ 'edit' => ''.esc_html__('Edit', 'stats-for-update-manager').''), diff --git a/includes/constants.php b/includes/constants.php index c46b1c0..394edec 100644 --- a/includes/constants.php +++ b/includes/constants.php @@ -9,7 +9,7 @@ // Define constants. // Plugin version. -const VERSION = '1.1.3'; +const VERSION = '1.2.0'; // DB table name without prefix. const DB_TABLE_NAME = 'sfum_logs'; diff --git a/languages/stats-for-update-manager-en_US.mo b/languages/stats-for-update-manager-en_US.mo index e8e60a7..0018b62 100644 Binary files a/languages/stats-for-update-manager-en_US.mo and b/languages/stats-for-update-manager-en_US.mo differ diff --git a/languages/stats-for-update-manager-en_US.po b/languages/stats-for-update-manager-en_US.po index 1c604b7..303e522 100644 --- a/languages/stats-for-update-manager-en_US.po +++ b/languages/stats-for-update-manager-en_US.po @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: Stats for Update Manager 1.0.0-rc1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/stats-for-update-" "manager\n" -"POT-Creation-Date: 2020-04-07T15:09:00+00:00\n" +"POT-Creation-Date: 2020-04-10T11:50:25+00:00\n" "PO-Revision-Date: 2019-12-26 16:51+0100\n" "Last-Translator: root \n" "Language-Team: Italian\n" @@ -17,7 +17,8 @@ msgstr "" "X-Domain: stats-for-update-manager\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: stats-for-update-manager.php:566 +#. Translators: placeholders are just for styling. +#: stats-for-update-manager.php:618 msgid "" "\n" "\t\t\t\tThis plugin stores data about plugins/themes update requests in a " @@ -51,27 +52,27 @@ msgid "" "\">Update Manager." msgstr "" -#: classes/ListTable.class.php:37 +#: classes/ListTable.class.php:51 msgid "Active Installations" msgstr "" -#: classes/ListTable.class.php:141 +#: classes/ListTable.class.php:129 msgid "All" msgstr "" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "DATE" msgstr "" -#: stats-for-update-manager.php:461 +#: stats-for-update-manager.php:512 msgid "Debug information" msgstr "" -#: classes/ListTable.class.php:87 +#: classes/ListTable.class.php:116 msgid "Edit" msgstr "" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "FIRST 30 CHAR OF THE HASH" msgstr "" @@ -79,31 +80,31 @@ msgstr "" msgid "Gieffe edizioni srl" msgstr "" -#: stats-for-update-manager.php:463 +#: stats-for-update-manager.php:514 msgid "Latest updates" msgstr "" -#: classes/ListTable.class.php:34 +#: classes/ListTable.class.php:48 msgid "Name" msgstr "" -#: stats-for-update-manager.php:456 +#: stats-for-update-manager.php:507 msgid "No database entries." msgstr "" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "PLUGIN/THEME" msgstr "" -#: stats-for-update-manager.php:441 +#: stats-for-update-manager.php:492 msgid "Plugin" msgstr "" -#: classes/ListTable.class.php:142 +#: classes/ListTable.class.php:130 msgid "Plugins" msgstr "" -#: classes/ListTable.class.php:88 +#: classes/ListTable.class.php:117 msgid "Reset" msgstr "" @@ -113,7 +114,7 @@ msgid "Statistics" msgstr "" #. Translators: %1$s is plugin or theme name. -#: classes/ListTable.class.php:131 +#: stats-for-update-manager.php:447 msgid "Statistics for %1$s has been successfully reset." msgstr "" @@ -130,24 +131,24 @@ msgstr "" msgid "Stats for Update Manager" msgstr "" -#: stats-for-update-manager.php:441 +#: stats-for-update-manager.php:492 msgid "Theme" msgstr "" -#: classes/ListTable.class.php:143 +#: classes/ListTable.class.php:131 msgid "Themes" msgstr "" -#: classes/ListTable.class.php:38 +#: classes/ListTable.class.php:52 msgid "Type" msgstr "" -#: stats-for-update-manager.php:397 +#: stats-for-update-manager.php:442 msgctxt "Page Title" msgid "Update Manager – Statistics" msgstr "" -#: stats-for-update-manager.php:486 +#: stats-for-update-manager.php:537 msgid "Update Manager statistics" msgstr "" diff --git a/languages/stats-for-update-manager-it_IT.mo b/languages/stats-for-update-manager-it_IT.mo index 5588e1b..53f8e6a 100644 Binary files a/languages/stats-for-update-manager-it_IT.mo and b/languages/stats-for-update-manager-it_IT.mo differ diff --git a/languages/stats-for-update-manager-it_IT.po b/languages/stats-for-update-manager-it_IT.po index e88ff09..c4b100c 100644 --- a/languages/stats-for-update-manager-it_IT.po +++ b/languages/stats-for-update-manager-it_IT.po @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: Stats for Update Manager 1.0.0-rc1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/stats-for-update-" "manager\n" -"POT-Creation-Date: 2020-04-07T15:09:00+00:00\n" +"POT-Creation-Date: 2020-04-10T11:50:25+00:00\n" "PO-Revision-Date: 2019-12-26 16:51+0100\n" "Last-Translator: root \n" "Language-Team: Italian\n" @@ -17,7 +17,8 @@ msgstr "" "X-Domain: stats-for-update-manager\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: stats-for-update-manager.php:566 +#. Translators: placeholders are just for styling. +#: stats-for-update-manager.php:618 msgid "" "\n" "\t\t\t\tThis plugin stores data about plugins/themes update requests in a " @@ -77,27 +78,27 @@ msgstr "" "Stats for Update Manager richiede Update Manager." -#: classes/ListTable.class.php:37 +#: classes/ListTable.class.php:51 msgid "Active Installations" msgstr "Installazioni Attive" -#: classes/ListTable.class.php:141 +#: classes/ListTable.class.php:129 msgid "All" msgstr "Tutto" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "DATE" msgstr "DATA" -#: stats-for-update-manager.php:461 +#: stats-for-update-manager.php:512 msgid "Debug information" msgstr "Informazioni di debug" -#: classes/ListTable.class.php:87 +#: classes/ListTable.class.php:116 msgid "Edit" msgstr "Modifica" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "FIRST 30 CHAR OF THE HASH" msgstr "PRIMI 30 CARATTERI DELL'HASH" @@ -105,31 +106,31 @@ msgstr "PRIMI 30 CARATTERI DELL'HASH" msgid "Gieffe edizioni srl" msgstr "" -#: stats-for-update-manager.php:463 +#: stats-for-update-manager.php:514 msgid "Latest updates" msgstr "Ultimi aggiornamenti" -#: classes/ListTable.class.php:34 +#: classes/ListTable.class.php:48 msgid "Name" msgstr "Nome" -#: stats-for-update-manager.php:456 +#: stats-for-update-manager.php:507 msgid "No database entries." msgstr "Database vuoto." -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "PLUGIN/THEME" msgstr "PLUGIN/TEMA" -#: stats-for-update-manager.php:441 +#: stats-for-update-manager.php:492 msgid "Plugin" msgstr "Plugin" -#: classes/ListTable.class.php:142 +#: classes/ListTable.class.php:130 msgid "Plugins" msgstr "Plugin" -#: classes/ListTable.class.php:88 +#: classes/ListTable.class.php:117 msgid "Reset" msgstr "Azzera" @@ -139,7 +140,7 @@ msgid "Statistics" msgstr "Statistiche" #. Translators: %1$s is plugin or theme name. -#: classes/ListTable.class.php:131 +#: stats-for-update-manager.php:447 msgid "Statistics for %1$s has been successfully reset." msgstr "Le statistiche di %1$s sono state azzerate con successo." @@ -156,24 +157,24 @@ msgstr "Statistiche per Update Manager di Code Potent." msgid "Stats for Update Manager" msgstr "Stats for Update Manager" -#: stats-for-update-manager.php:441 +#: stats-for-update-manager.php:492 msgid "Theme" msgstr "Tema" -#: classes/ListTable.class.php:143 +#: classes/ListTable.class.php:131 msgid "Themes" msgstr "Temi" -#: classes/ListTable.class.php:38 +#: classes/ListTable.class.php:52 msgid "Type" msgstr "Tipo" -#: stats-for-update-manager.php:397 +#: stats-for-update-manager.php:442 msgctxt "Page Title" msgid "Update Manager – Statistics" msgstr "Update Manager – Statistiche" -#: stats-for-update-manager.php:486 +#: stats-for-update-manager.php:537 msgid "Update Manager statistics" msgstr "Statistiche per Update Manager" diff --git a/languages/stats-for-update-manager.pot b/languages/stats-for-update-manager.pot index d5b12be..a9677a0 100644 --- a/languages/stats-for-update-manager.pot +++ b/languages/stats-for-update-manager.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the Stats for Update Manager plugin. msgid "" msgstr "" -"Project-Id-Version: Stats for Update Manager 1.1.3\n" +"Project-Id-Version: Stats for Update Manager 1.2.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/stats-for-update-manager\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2020-04-07T15:09:00+00:00\n" +"POT-Creation-Date: 2020-04-10T11:50:25+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.4.0\n" "X-Domain: stats-for-update-manager\n" @@ -34,40 +34,35 @@ msgstr "" msgid "https://www.gieffeedizioni.it" msgstr "" -#: classes/ListTable.class.php:34 +#: classes/ListTable.class.php:48 msgid "Name" msgstr "" -#: classes/ListTable.class.php:37 +#: classes/ListTable.class.php:51 msgid "Active Installations" msgstr "" -#: classes/ListTable.class.php:38 +#: classes/ListTable.class.php:52 msgid "Type" msgstr "" -#: classes/ListTable.class.php:87 +#: classes/ListTable.class.php:116 msgid "Edit" msgstr "" -#: classes/ListTable.class.php:88 +#: classes/ListTable.class.php:117 msgid "Reset" msgstr "" -#. Translators: %1$s is plugin or theme name. -#: classes/ListTable.class.php:131 -msgid "Statistics for %1$s has been successfully reset." -msgstr "" - -#: classes/ListTable.class.php:141 +#: classes/ListTable.class.php:129 msgid "All" msgstr "" -#: classes/ListTable.class.php:142 +#: classes/ListTable.class.php:130 msgid "Plugins" msgstr "" -#: classes/ListTable.class.php:143 +#: classes/ListTable.class.php:131 msgid "Themes" msgstr "" @@ -90,48 +85,54 @@ msgctxt "Menu Title" msgid "Statistics" msgstr "" -#: stats-for-update-manager.php:397 +#: stats-for-update-manager.php:442 msgctxt "Page Title" msgid "Update Manager – Statistics" msgstr "" -#: stats-for-update-manager.php:441 +#. Translators: %1$s is plugin or theme name. +#: stats-for-update-manager.php:447 +msgid "Statistics for %1$s has been successfully reset." +msgstr "" + +#: stats-for-update-manager.php:492 msgid "Theme" msgstr "" -#: stats-for-update-manager.php:441 +#: stats-for-update-manager.php:492 msgid "Plugin" msgstr "" -#: stats-for-update-manager.php:456 +#: stats-for-update-manager.php:507 msgid "No database entries." msgstr "" -#: stats-for-update-manager.php:461 +#: stats-for-update-manager.php:512 msgid "Debug information" msgstr "" -#: stats-for-update-manager.php:463 +#: stats-for-update-manager.php:514 msgid "Latest updates" msgstr "" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "FIRST 30 CHAR OF THE HASH" msgstr "" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "DATE" msgstr "" -#: stats-for-update-manager.php:465 +#: stats-for-update-manager.php:516 msgid "PLUGIN/THEME" msgstr "" -#: stats-for-update-manager.php:486 +#: stats-for-update-manager.php:537 msgid "Update Manager statistics" msgstr "" -#: stats-for-update-manager.php:566 +#. Translators: placeholders are just for styling. +#: stats-for-update-manager.php:618 msgid "" "\n" "\t\t\t\tThis plugin stores data about plugins/themes update requests in a table.\n" diff --git a/stats-for-update-manager.php b/stats-for-update-manager.php index a262c66..a51dcb0 100755 --- a/stats-for-update-manager.php +++ b/stats-for-update-manager.php @@ -613,6 +613,7 @@ public function auto_deactivate() { // Register privacy policy. public function privacy() { + // Translators: placeholders are just for styling. $content = sprintf( esc_html__( '