aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-06-12 17:08:29 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-06-13 13:34:20 +0200
commitfb1c66fbc9705961454d86770511642b97b41c1a (patch)
treeb1dc55f9250cce0d4f23db9210aca6cfbff96dd9 /include
parentd02fa7c26805dd485b1d16e99a26a5b9a858deda (diff)
downloadvolse-hubzilla-fb1c66fbc9705961454d86770511642b97b41c1a.tar.gz
volse-hubzilla-fb1c66fbc9705961454d86770511642b97b41c1a.tar.bz2
volse-hubzilla-fb1c66fbc9705961454d86770511642b97b41c1a.zip
Fix warnings exposed by tests.
Mainly missing variables for templates, and channel entries.
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 3992f06f6..c631d53a2 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1183,6 +1183,7 @@ function hz_status_editor($x, $popup = false) {
'$modalerroralbum' => t('Error getting album'),
'$nocomment_enabled' => t('Comments enabled'),
'$nocomment_disabled' => t('Comments disabled'),
+ '$confirmdelete' => t('Confirm delete'),
'$auto_save_draft' => $feature_auto_save_draft,
'$reset' => $reset,
'$popup' => $popup
@@ -1263,7 +1264,7 @@ function hz_status_editor($x, $popup = false) {
'$poll_option_label' => t('Option'),
'$poll_add_option_label' => t('Add option'),
'$poll_expire_unit_label' => [t('Minutes'), t('Hours'), t('Days')],
- '$multiple_answers' => ['poll_multiple_answers', t("Allow multiple answers"), '', '', [t('No'), t('Yes')]],
+ '$multiple_answers' => ['poll_multiple_answers', t("Allow multiple answers"), '', '', [t('No'), t('Yes')],null,null],
'$consensus' => ((array_key_exists('item',$x)) ? $x['item']['item_consensus'] : 0),
'$nocommenttitle' => t('Disable comments'),
'$nocommenttitlesub' => t('Toggle comments'),