diff --git a/StatisticsHandler.inc.php b/StatisticsHandler.inc.php
index 0bde9c9..3ff2c9a 100644
--- a/StatisticsHandler.inc.php
+++ b/StatisticsHandler.inc.php
@@ -52,7 +52,7 @@ function index($args, $request) {
function getStatisticsWeek() {
- $request = Application::getRequest();
+ $request = \Application::get()->getRequest();
$journal = $request->getJournal();
//statistics report
@@ -91,7 +91,7 @@ function getStatisticsWeek() {
*/
function getStatisticsByMonth() {
- $request = Application::getRequest();
+ $request = \Application::get()->getRequest();
$journal =& $request->getJournal();
$year = $request->getUserVar('year');
@@ -124,7 +124,7 @@ function getStatisticsByMonth() {
* Get statistics (download and abstract) by year from table METRICS
*/
function getStatisticsByYear() {
- $request = Application::getRequest();
+ $request = \Application::get()->getRequest();
$journal =& $request->getJournal();
$year = $request->getUserVar('year');
if (empty($year)) $year = date('Y');
@@ -154,7 +154,7 @@ function getStatisticsByYear() {
* Get statistics (abstract) by country from table METRICS
*/
function getStatisticsByCountryAbstract() {
- $request = Application::getRequest();
+ $request = \Application::get()->getRequest();
$journal =& $request->getJournal();
$year = $request->getUserVar('year');
if (empty($year)) $year = date('Y');
@@ -181,7 +181,7 @@ function getStatisticsByCountryAbstract() {
* Get statistics (download) by country from table METRICS
*/
function getStatisticsByCountryDownload() {
- $request = Application::getRequest();
+ $request = \Application::get()->getRequest();
$journal =& $request->getJournal();
$year = $request->getUserVar('year');
if (empty($year)) $year = date('Y');
@@ -206,7 +206,7 @@ function getStatisticsByCountryDownload() {
* Get statistics (download or abstract, request parameter) most popular articles from table METRICS
*/
function getStatisticsMostPopularDownload() {
- $request = Application::getRequest();
+ $request = \Application::get()->getRequest();
$journal =& $request->getJournal();
$primaryLocale = $journal->getPrimaryLocale();
@@ -235,7 +235,7 @@ function getStatisticsMostPopularDownload() {
* Get statistics (download) most popular articles from table METRICS
*/
function getStatisticsIssues() {
- $request = Application::getRequest();
+ $request = \Application::get()->getRequest();
$journal =& $request->getJournal();
$primaryLocale = $journal->getPrimaryLocale();
diff --git a/locale/en_US/locale.xml b/locale/en_US/locale.xml
index 95f2e7a..3ec8f17 100644
--- a/locale/en_US/locale.xml
+++ b/locale/en_US/locale.xml
@@ -36,7 +36,7 @@
Downloads
Views
Article abstract page views
- Donwloads
+ Downloads
Last 6 years
Last 12 months
For months of the year
diff --git a/locale/pt_BR/locale.po b/locale/pt_BR/locale.po
index 2d5f8e8..5f30cc8 100644
--- a/locale/pt_BR/locale.po
+++ b/locale/pt_BR/locale.po
@@ -85,7 +85,7 @@ msgid "plugins.generic.statistics.viewAbstractsByCountry"
msgstr "Visualizações da página de resumo do artigo"
msgid "plugins.generic.statistics.viewDownloads"
-msgstr "Donwloads"
+msgstr "Downloads"
msgid "plugins.generic.statistics.lastYears2"
msgstr "Últimos 6 anos"
diff --git a/locale/pt_BR/locale.xml b/locale/pt_BR/locale.xml
index a961c49..0e457b7 100644
--- a/locale/pt_BR/locale.xml
+++ b/locale/pt_BR/locale.xml
@@ -38,7 +38,7 @@
Downloads
Visualizações
Visualizações da página de resumo do artigo
- Donwloads
+ Downloads
Últimos 6 anos
Últimos 12 meses
Por meses do ano