File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function list_types()
7575 $ type = $ this ->get_type_from_id ($ id );
7676 $ this ->template ->assign_block_vars ('categories ' , array (
7777 'U_VIEW_CATEGORY ' => $ this ->get_type_url ($ type ),
78- 'CATEGORY_NAME ' => $ type ->lang ,
78+ 'CATEGORY_NAME ' => $ type ->lang [ ' langs ' ] ,
7979 'CATEGORY_CONTRIBS ' => $ counts [$ id ],
8080 ));
8181 }
Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ protected function get_queue_tpl_row($row)
560560
561561 return array (
562562 'SUBSCRIPTION_ID ' => $ queue_id ,
563- 'SUBSCRIPTION_TARGET ' => $ type ->lang ,
563+ 'SUBSCRIPTION_TARGET ' => $ type ->lang [ ' lang ' ] ,
564564 'SUBSCRIPTION_TIME ' => $ this ->user ->format_date ($ row ['watch_mark_time ' ]),
565565 'SUBSCRIPTION_TITLE ' => $ this ->user ->lang ['SUBSCRIPTION_QUEUE ' ],
566566 'SUBSCRIPTION_TYPE ' => $ row ['watch_object_type ' ],
You can’t perform that action at this time.
0 commit comments