Skip to content

Commit 7126485

Browse files
committed
Merge branch '3.2.x' into 3.3.x
2 parents 72cd049 + e58b7dd commit 7126485

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

controller/manage/queue/queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function list_queues()
123123
{
124124
$this->template->assign_block_vars('categories', array(
125125
'U_VIEW_CATEGORY' => $this->get_queue_url($queue_type),
126-
'CATEGORY_NAME' => $this->types->get($queue_type)->lang,
126+
'CATEGORY_NAME' => $this->types->get($queue_type)->lang['langs'],
127127
'CATEGORY_CONTRIBS' => $counts[$queue_type],
128128
));
129129
}

controller/manage/queue_discussion.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}
@@ -115,7 +115,7 @@ public function display_type($queue_type)
115115

116116
// Add to Breadcrumbs
117117
$this->display->generate_breadcrumbs(array(
118-
$type->lang => $this->get_type_url($type),
118+
$type->lang['lang'] => $this->get_type_url($type),
119119
));
120120

121121
\topics_overlord::display_forums_complete('queue_discussion', false, array('topic_category' => $type->id));

controller/ucp/subscriptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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'],

language/en/types/translation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
'TRANSLATION_VALIDATION_TESTS' => 'Please review the results of the automatic translation validation before proceeding.',
5252

5353
'TRANSLATION' => 'Language Pack',
54+
'TRANSLATIONS' => 'Language Packs',
5455
'TRANSLATION_CONTRIB_CLEANED' => 'Cleaned',
5556
'TRANSLATION_CONTRIB_DISABLED' => 'Hidden + Disabled',
5657
'TRANSLATION_CONTRIB_HIDDEN' => 'Hidden',

0 commit comments

Comments
 (0)