This commit is contained in:
Mike Macgirvin 2023-10-09 17:11:45 +11:00
parent 3c2adab2df
commit 6afac199ef
8 changed files with 12 additions and 12 deletions

View file

@ -328,8 +328,8 @@ class ThreadItem
$embed = t('Share this');
}
if ($repeatable) {
$share = t('Repeat This');
if ($shareable) {
$share = t('Repeat this');
}
$dreport = '';
@ -340,7 +340,7 @@ class ThreadItem
}
if ((! get_config('system', 'disable_dreport')) && strcmp(datetime_convert('UTC', 'UTC', $item['created']), datetime_convert('UTC', 'UTC', "now - $keep_reports days")) > 0) {
$dreport = t('Delivery Report');
$dreport = t('Delivery report');
$dreport_link = gen_link_id($item['mid']);
}
$is_new = false;

View file

@ -321,7 +321,7 @@ class Cal extends Controller
'is_first' => $is_first,
'item' => $rr,
'html' => $html,
'plink' => [zid($rr['plink']), t('Link to Source'), '', ''],
'plink' => [zid($rr['plink']), t('Link to source'), '', ''],
];
}
}

View file

@ -724,7 +724,7 @@ class Events extends Controller
'is_first' => $is_first,
'item' => $rr,
'html' => $html,
'plink' => [zid($rr['plink']), t('Link to Source'), '', ''],
'plink' => [zid($rr['plink']), t('Link to source'), '', ''],
];
}
}

View file

@ -113,7 +113,7 @@ class Share extends Controller
$arr['uuid'] = new_uuid();
$arr['mid'] = z_root() . '/item/' . $arr['uuid'];
$arr['mid'] = str_replace('/item/', '/activity/', $arr['mid']);
$arr['parent_mid'] = $arr['mid'];
$arr['parent_mid'] = $item['mid'];
$mention = '@[zrl=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/zrl]';
$arr['body'] = sprintf(t('🔁 Repeated %1$s\'s %2$s'), $mention, $item['obj_type']);

View file

@ -709,7 +709,7 @@ function thread_action_menu($item, $mode = '')
if ((local_channel()) && local_channel() == $item['uid']) {
$menu[] = [
'menu' => 'view_source',
'title' => t('View Source'),
'title' => t('View source'),
'icon' => 'code',
'action' => 'viewsrc(' . $item['id'] . '); return false;',
'href' => '#'
@ -719,7 +719,7 @@ function thread_action_menu($item, $mode = '')
if ($item['parent'] == $item['id'] && (get_observer_hash() != $item['author_xchan'])) {
$menu[] = [
'menu' => 'follow_thread',
'title' => t('Follow Thread'),
'title' => t('Follow thread'),
'icon' => 'plus',
'action' => 'dosubthread(' . $item['id'] . '); return false;',
'href' => '#'
@ -728,7 +728,7 @@ function thread_action_menu($item, $mode = '')
$menu[] = [
'menu' => 'unfollow_thread',
'title' => t('Unfollow Thread'),
'title' => t('Unfollow thread'),
'icon' => 'minus',
'action' => 'dounsubthread(' . $item['id'] . '); return false;',
'href' => '#'

View file

@ -2152,7 +2152,7 @@ function get_plink($item, $conversation_mode = true)
if (x($item, $key)) {
return [
'href' => (($zidify) ? zid($item[$key]) : $item[$key]),
'title' => t('Link to Source'),
'title' => t('Link to source'),
];
} else {
return false;

View file

@ -1098,7 +1098,7 @@ msgstr ""
#: Code/Lib/Share.php:126 Code/Lib/Activity.php:3089 Code/Module/Share.php:119
#: include/items.php:3170
#, php-format
msgid "🔁 Repeated %1$s's %2$s"
msgid "↻ Repeated %1$s's %2$s"
msgstr ""
#: Code/Lib/Activity.php:473

View file

@ -156,7 +156,7 @@
<a class="dropdown-item" href="#" onclick="jotEmbed({{$item.id}},{{$item.item_type}}); return false"><i class="generic-icons-nav fa fa-fw fa-share" title="{{$item.embed}}"></i>{{$item.embed}}</a>
{{/if}}
{{if $item.share}}
<a class="dropdown-item" href="#" onclick="jotShare({{$item.id}},{{$item.item_type}}); return false"><i class="generic-icons-nav fa fa-fw fa-share" title="{{$item.share}}"></i>{{$item.share}}</a>
<a class="dropdown-item" href="#" onclick="jotShare({{$item.id}},{{$item.item_type}}); return false"><i class="generic-icons-nav fa fa-fw fa-bullhorn" title="{{$item.share}}"></i>{{$item.share}}</a>
{{/if}}
{{if $item.plink}}
<a class="dropdown-item" href="{{$item.plink.href}}" title="{{$item.plink.title}}" class="u-url"><i class="generic-icons-nav fa fa-fw fa-external-link"></i>{{$item.plink.title}}</a>