A free open source IT asset/license management system
adds translations to status label type column
Godfrey Ma0d57746353d
diff --git a/app/Models/Statuslabel.php b/app/Models/Statuslabel.phpindex 0f8a0b6075..66f22ada9c 100755--- a/app/Models/Statuslabel.php+++ b/app/Models/Statuslabel.php@@ -74,14 +74,14 @@ class Statuslabel extends SnipeModelpublic function getStatuslabelType(){if (($this->pending == '1') && ($this->archived == '0') && ($this->deployable == '0')) {- return 'pending';+ return trans('admin/statuslabels/table.pending');} elseif (($this->pending == '0') && ($this->archived == '1') && ($this->deployable == '0')) {- return 'archived';+ return trans('admin/statuslabels/table.archived');} elseif (($this->pending == '0') && ($this->archived == '0') && ($this->deployable == '0')) {- return 'undeployable';+ return trans('admin/statuslabels/table.undeployable');}- return 'deployable';+ return trans('admin/statuslabels/table.deployable');}/**