mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 01:15:13 +00:00
string updates
This commit is contained in:
parent
627013f77b
commit
dea5e872a5
3 changed files with 1129 additions and 1098 deletions
|
@ -2342,7 +2342,7 @@ class Activity {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($p && $p[0]['obj_type'] === 'Question') {
|
if ($p && $p[0]['obj_type'] === 'Question') {
|
||||||
if ($item['obj_type'] === 'Note' && $item['title'] && (! $item['content']) && (! $item['summary'])) {
|
if ($item['obj_type'] === 'Note' && $item['title'] && (! $item['content'])) {
|
||||||
$item['obj_type'] = 'Answer';
|
$item['obj_type'] = 'Answer';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1796,10 +1796,10 @@ class Libzot {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($r[0]['obj_type'] === 'Question') {
|
if ($r[0]['obj_type'] === 'Question') {
|
||||||
// route checking doesn't work here because we've changed the privacy
|
// route checking doesn't work correctly here because we've changed the privacy
|
||||||
$r[0]['route'] = EMPTY_STR;
|
$r[0]['route'] = EMPTY_STR;
|
||||||
// If this is a poll response, convert the obj_type to our (internal-only) "Answer" type
|
// If this is a poll response, convert the obj_type to our (internal-only) "Answer" type
|
||||||
if ($arr['obj_type'] === 'Note' && $arr['title'] && (! $arr['content']) && (! $arr['summary'])) {
|
if ($arr['obj_type'] === 'Note' && $arr['title'] && (! $arr['content'])) {
|
||||||
$arr['obj_type'] = 'Answer';
|
$arr['obj_type'] = 'Answer';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2221
util/messages.po
2221
util/messages.po
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue