diff --git a/app/Models/Statuslabel.php b/app/Models/Statuslabel.php index 0f8a0b607..66f22ada9 100755 --- a/app/Models/Statuslabel.php +++ b/app/Models/Statuslabel.php @@ -74,14 +74,14 @@ class Statuslabel extends SnipeModel public 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'); } /**