Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Cleaned i18n
  • Loading branch information
xxsimoxx committed Apr 10, 2020
1 parent 431f2f0 commit 818ee5a
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 70 deletions.
2 changes: 1 addition & 1 deletion classes/ListTable.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => '<a href="'.admin_url('post.php?post='.$item['id'].'&action=edit">'.esc_html__('Edit', 'stats-for-update-manager').'</a>'),
Expand Down
2 changes: 1 addition & 1 deletion includes/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Binary file modified languages/stats-for-update-manager-en_US.mo
Binary file not shown.
43 changes: 22 additions & 21 deletions languages/stats-for-update-manager-en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <simone@gieffeedizioni.it>\n"
"Language-Team: Italian\n"
Expand All @@ -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 "
Expand Down Expand Up @@ -51,59 +52,59 @@ msgid ""
"\">Update Manager</a>."
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 ""

#. Author of the plugin
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 ""

Expand All @@ -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 ""

Expand All @@ -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 &#8211; Statistics"
msgstr ""

#: stats-for-update-manager.php:486
#: stats-for-update-manager.php:537
msgid "Update Manager statistics"
msgstr ""

Expand Down
Binary file modified languages/stats-for-update-manager-it_IT.mo
Binary file not shown.
43 changes: 22 additions & 21 deletions languages/stats-for-update-manager-it_IT.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <simone@gieffeedizioni.it>\n"
"Language-Team: Italian\n"
Expand All @@ -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 "
Expand Down Expand Up @@ -77,59 +78,59 @@ msgstr ""
"<b>Stats for Update Manager</b> richiede <a href=\"%1$s\" target=\"_blank"
"\">Update Manager</a>."

#: 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"

#. Author of the plugin
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"

Expand All @@ -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."

Expand All @@ -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 &#8211; Statistics"
msgstr "Update Manager &#8211; Statistiche"

#: stats-for-update-manager.php:486
#: stats-for-update-manager.php:537
msgid "Update Manager statistics"
msgstr "Statistiche per Update Manager"

Expand Down
Loading

0 comments on commit 818ee5a

Please sign in to comment.