@@ -71,15 +71,15 @@ echo $this->getData('nav')->render(); ?>
- = $this->l11n->lang['Tasks']['Settings']; ?>
+ = $this->l11n->getText('Tasks', 'Settings'); ?>
- | = $this->l11n->lang['Tasks']['Received']; ?> | 0
- |
|---|
| = $this->l11n->lang['Tasks']['Created']; ?> | 0
- |
|---|
| = $this->l11n->lang['Tasks']['Forwarded']; ?> | 0
- |
|---|
| = $this->l11n->lang['Tasks']['AverageAmount']; ?> | 0
- |
|---|
| = $this->l11n->lang['Tasks']['AverageProcessTime']; ?> | 0
- |
|---|
| = $this->l11n->lang['Tasks']['InTime']; ?> | 0
+ |
|---|
| = $this->l11n->getText('Tasks', 'Received'); ?> | 0
+ |
|---|
| = $this->l11n->getText('Tasks', 'Created'); ?> | 0
+ |
|---|
| = $this->l11n->getText('Tasks', 'Forwarded'); ?> | 0
+ |
|---|
| = $this->l11n->getText('Tasks', 'AverageAmount'); ?> | 0
+ |
|---|
| = $this->l11n->getText('Tasks', 'AverageProcessTime'); ?> | 0
+ |
|---|
| = $this->l11n->getText('Tasks', 'InTime'); ?> | 0
|
|---|
diff --git a/Theme/Backend/task-single.tpl.php b/Theme/Backend/task-single.tpl.php
index 4ca4c5b..dcc726a 100644
--- a/Theme/Backend/task-single.tpl.php
+++ b/Theme/Backend/task-single.tpl.php
@@ -44,7 +44,7 @@ foreach ($elements as $key => $element) : $c++;
elseif($element->getStatus() === \Modules\Tasks\Models\TaskStatus::CANCELED) { $color = 'red'; }
elseif($element->getStatus() === \Modules\Tasks\Models\TaskStatus::SUSPENDED) { $color = 'yellow'; } ?>
- = $this->l11n->lang['Tasks']['S' . $element->getStatus()]; ?>
+ = $this->l11n->getText('Tasks', 'S' . $element->getStatus()); ?>
= $element->getCreatedBy(); ?> - = $element->getCreatedAt()->format('Y-m-d H:i'); ?>
getDescription() !== '') : ?>
@@ -73,17 +73,17 @@ foreach ($elements as $key => $element) : $c++;
diff --git a/Theme/backend/task-analysis.tpl.php b/Theme/backend/task-analysis.tpl.php
index 37c57bf..afadfb1 100644
--- a/Theme/backend/task-analysis.tpl.php
+++ b/Theme/backend/task-analysis.tpl.php
@@ -19,32 +19,32 @@
echo $this->getData('nav')->render(); ?>
- = $this->l11n->lang['Tasks']['Account']; ?>
+ = $this->l11n->getText('Tasks', 'Account'); ?>
- = $this->l11n->lang['Tasks']['Statistics']; ?>
+ = $this->l11n->getText('Tasks', 'Statistics'); ?>
- | = $this->l11n->lang['Tasks']['Received']; ?> | 0
- |
| = $this->l11n->lang['Tasks']['Created']; ?> | 0
- |
| = $this->l11n->lang['Tasks']['Forwarded']; ?> | 0
- |
| = $this->l11n->lang['Tasks']['AverageAmount']; ?> | 0
- |
| = $this->l11n->lang['Tasks']['AverageProcessTime']; ?> | 0
- |
| = $this->l11n->lang['Tasks']['InTime']; ?> | 0
+ |
| = $this->l11n->getText('Tasks', 'Received'); ?> | 0
+ |
| = $this->l11n->getText('Tasks', 'Created'); ?> | 0
+ |
| = $this->l11n->getText('Tasks', 'Forwarded'); ?> | 0
+ |
| = $this->l11n->getText('Tasks', 'AverageAmount'); ?> | 0
+ |
| = $this->l11n->getText('Tasks', 'AverageProcessTime'); ?> | 0
+ |
| = $this->l11n->getText('Tasks', 'InTime'); ?> | 0
|