@@ -93,7 +93,7 @@ public function toSlack()
9393
9494
9595 return (new SlackMessage )
96- ->content (':arrow_down: :computer: ' .trans ('mail.Asset_Checkin_Notification ' ))
96+ ->content (':arrow_down: :computer: ' .trans ('mail.Asset_Checkin_Notification ' , [ ' tag ' => '' ] ))
9797 ->from ($ botname )
9898 ->to ($ channel )
9999 ->attachment (function ($ attachment ) use ($ item , $ note , $ admin , $ fields ) {
@@ -112,21 +112,21 @@ public function toMicrosoftTeams()
112112 return MicrosoftTeamsMessage::create ()
113113 ->to ($ this ->settings ->webhook_endpoint )
114114 ->type ('success ' )
115- ->title (trans ('mail.Asset_Checkin_Notification ' ))
115+ ->title (trans ('mail.Asset_Checkin_Notification ' , [ ' tag ' => '' ] ))
116116 ->addStartGroupToSection ('activityText ' )
117117 ->fact (htmlspecialchars_decode ($ item ->display_name ), '' , 'activityText ' )
118118 ->fact (trans ('mail.checked_into ' ), ($ item ->location ) ? $ item ->location ->name : '' )
119- ->fact (trans ('mail.Asset_Checkin_Notification ' ) . " by " , $ admin ->display_name )
119+ ->fact (trans ('general.administrator ' ) , $ admin ->display_name )
120120 ->fact (trans ('admin/hardware/form.status ' ), $ item ->assetstatus ?->name)
121121 ->fact (trans ('mail.notes ' ), $ note ?: '' );
122122 }
123123
124124
125- $ message = trans ('mail.Asset_Checkin_Notification ' );
125+ $ message = trans ('mail.Asset_Checkin_Notification ' , [ ' tag ' => '' ] );
126126 $ details = [
127127 trans ('mail.asset ' ) => htmlspecialchars_decode ($ item ->display_name ),
128128 trans ('mail.checked_into ' ) => ($ item ->location ) ? $ item ->location ->name : '' ,
129- trans ('mail.Asset_Checkin_Notification ' ). " by " => $ admin ->display_name ,
129+ trans ('general.administrator ' ) => $ admin ->display_name ,
130130 trans ('admin/hardware/form.status ' ) => $ item ->assetstatus ?->name,
131131 trans ('mail.notes ' ) => $ note ?: '' ,
132132 ];
@@ -144,7 +144,7 @@ public function toGoogleChat()
144144 ->card (
145145 Card::create ()
146146 ->header (
147- '<strong> ' .trans ('mail.Asset_Checkin_Notification ' ).'</strong> ' ?: '' ,
147+ '<strong> ' .trans ('mail.Asset_Checkin_Notification ' , [ ' tag ' => '' ] ).'</strong> ' ?: '' ,
148148 htmlspecialchars_decode ($ item ->display_name ) ?: '' ,
149149 )
150150 ->section (
0 commit comments