|
@@ -114,20 +114,20 @@ trait PostFormTrait
|
|
|
if ($first) {
|
|
|
$fieldset['stick_topic'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => __('Stick topic'),
|
|
|
+ 'label' => 'Stick topic',
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['stick_topic'] ?? false),
|
|
|
];
|
|
|
$fieldset['stick_fp'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => __('Stick first post'),
|
|
|
+ 'label' => 'Stick first post',
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['stick_fp'] ?? false),
|
|
|
];
|
|
|
} elseif (! $edit) {
|
|
|
$fieldset['merge_post'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => __('Merge posts'),
|
|
|
+ 'label' => 'Merge posts',
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['merge_post'] ?? true),
|
|
|
];
|
|
@@ -140,7 +140,7 @@ trait PostFormTrait
|
|
|
) {
|
|
|
$fieldset['edit_post'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => __('EditPost edit'),
|
|
|
+ 'label' => 'EditPost edit',
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['edit_post'] ?? false),
|
|
|
];
|
|
@@ -164,7 +164,7 @@ trait PostFormTrait
|
|
|
} else {
|
|
|
$fieldset['subscribe'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => $subscribed ? __('Stay subscribed') : __('New subscribe'),
|
|
|
+ 'label' => $subscribed ? 'Stay subscribed' : 'New subscribe',
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['subscribe'] ?? ($subscribed || $this->user->auto_notify)),
|
|
|
];
|
|
@@ -178,7 +178,7 @@ trait PostFormTrait
|
|
|
) {
|
|
|
$fieldset['hide_smilies'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => __('Hide smilies'),
|
|
|
+ 'label' => 'Hide smilies',
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['hide_smilies'] ?? false),
|
|
|
];
|
|
@@ -204,7 +204,7 @@ trait PostFormTrait
|
|
|
|
|
|
$fieldset['poll_enable'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => __('Include poll'),
|
|
|
+ 'label' => 'Include poll',
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['poll_enable'] ?? false),
|
|
|
'disabled' => $vars['pollNoEdit'] ?? null,
|
|
@@ -220,7 +220,7 @@ trait PostFormTrait
|
|
|
];
|
|
|
$fieldset['poll[hide_result]'] = [
|
|
|
'type' => 'checkbox',
|
|
|
- 'label' => __(['Hide poll results up to %s voters', $term]),
|
|
|
+ 'label' => ['Hide poll results up to %s voters', $term],
|
|
|
'value' => '1',
|
|
|
'checked' => (bool) ($vars['poll']['hide_result'] ?? false),
|
|
|
'disabled' => $vars['pollNoEdit'] ?? null,
|