File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2398,7 +2398,7 @@ public function agentList ($category_id)
23982398 public function changeRead (Request $ request )
23992399 {
24002400 $ result = "error " ;
2401- $ message = " Could not mark ticket as read / unread " ;
2401+ $ message = trans ( ' panichd::lang. read-validation-error ' ) ;
24022402
24032403 $ original_ticket = Ticket::findOrFail ($ request ->input ('ticket_id ' ));
24042404 $ ticket = clone $ original_ticket ;
@@ -2408,7 +2408,7 @@ public function changeRead(Request $request)
24082408 $ ticket ->save ();
24092409
24102410 $ result = "ok " ;
2411- $ message = " Ticket marked as " . ($ ticket ->read_by_agent == "1 " ? 'read ' : 'unread ' );
2411+ $ message = trans ( ' panichd::lang.read-validation-ok- ' . ($ ticket ->read_by_agent == "1 " ? 'read ' : 'unread ' ) );
24122412 }
24132413
24142414 return response ()->json ([
Original file line number Diff line number Diff line change 4141 'updated-by-other ' => 'Actualitzat per un altre membre ' ,
4242 'mark-as-read ' => 'Marcar aquest tiquet com a llegit ' ,
4343 'mark-as-unread ' => 'Marcar i bloquejar aquest tiquet com a no llegit ' ,
44+ 'read-validation-error ' => 'No s \'ha pogut marcar aquest tiquet com a llegit / no llegit ' ,
45+ 'read-validation-ok-read ' => 'Tiquet marcat com a llegit ' ,
46+ 'read-validation-ok-unread ' => 'Tiquet marcat com a no llegit ' ,
47+
4448 'table-info-attachments-total ' => ':num fitxers adjunts ' ,
4549 'table-info-comments-total ' => ':num comentaris totals. ' ,
4650 'table-info-comments-recent ' => ':num recents. ' ,
Original file line number Diff line number Diff line change 4141 'updated-by-other ' => 'Updated by other member ' ,
4242 'mark-as-read ' => 'Mark this ticket as read ' ,
4343 'mark-as-unread ' => 'Mark and lock this ticket as unread ' ,
44+ 'read-validation-error ' => 'Could not mark ticket as read / unread ' ,
45+ 'read-validation-ok-read ' => 'Ticket marked as read ' ,
46+ 'read-validation-ok-unread ' => 'Ticket marked as unread ' ,
47+
4448 'table-info-attachments-total ' => ':num attached files ' ,
4549 'table-info-comments-total ' => ':num Total comments. ' ,
4650 'table-info-comments-recent ' => ':num recent ones. ' ,
Original file line number Diff line number Diff line change 2222 'updated-by-other ' => 'Actualizado por otro miembro ' ,
2323 'mark-as-read ' => 'Marcar este tique como leído ' ,
2424 'mark-as-unread ' => 'Marcar y bloquear este tique como no leído ' ,
25+ 'read-validation-ok-read ' => 'Tique marcado como leído ' ,
26+ 'read-validation-ok-unread ' => 'Tique marcado como no leído ' ,
2527
2628 // Datatables
2729 'table-decimal ' => '' ,
You can’t perform that action at this time.
0 commit comments