use consistent capitalisation in the item actions menu
This commit is contained in:
parent
832cbbec15
commit
33cf83175d
@ -115,7 +115,7 @@ class Item extends BaseObject {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$filer = (($conv->get_profile_owner() == local_user()) ? t("save to folder") : false);
|
$filer = (($conv->get_profile_owner() == local_user()) ? t("Save to Folder") : false);
|
||||||
|
|
||||||
$profile_avatar = $item['author']['xchan_photo_m'];
|
$profile_avatar = $item['author']['xchan_photo_m'];
|
||||||
$profile_link = chanlink_url($item['author']['xchan_url']);
|
$profile_link = chanlink_url($item['author']['xchan_url']);
|
||||||
@ -164,9 +164,9 @@ class Item extends BaseObject {
|
|||||||
// FIXME we don't need all this stuff, some can be done in the template
|
// FIXME we don't need all this stuff, some can be done in the template
|
||||||
|
|
||||||
$star = array(
|
$star = array(
|
||||||
'do' => t("add star"),
|
'do' => t("Add Star"),
|
||||||
'undo' => t("remove star"),
|
'undo' => t("Remove Star"),
|
||||||
'toggle' => t("toggle star status"),
|
'toggle' => t("Toggle Star Status"),
|
||||||
'classdo' => (($item['item_flags'] & ITEM_STARRED) ? "hidden" : ""),
|
'classdo' => (($item['item_flags'] & ITEM_STARRED) ? "hidden" : ""),
|
||||||
'classundo' => (($item['item_flags'] & ITEM_STARRED) ? "" : "hidden"),
|
'classundo' => (($item['item_flags'] & ITEM_STARRED) ? "" : "hidden"),
|
||||||
'isstarred' => (($item['item_flags'] & ITEM_STARRED) ? "starred icon-star" : "unstarred icon-star-empty"),
|
'isstarred' => (($item['item_flags'] & ITEM_STARRED) ? "starred icon-star" : "unstarred icon-star-empty"),
|
||||||
@ -187,7 +187,7 @@ class Item extends BaseObject {
|
|||||||
// FIXME - check this permission
|
// FIXME - check this permission
|
||||||
if($conv->get_profile_owner() == local_user()) {
|
if($conv->get_profile_owner() == local_user()) {
|
||||||
$tagger = array(
|
$tagger = array(
|
||||||
'tagit' => t("add tag"),
|
'tagit' => t("Add Tag"),
|
||||||
'classtagger' => "",
|
'classtagger' => "",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -208,7 +208,7 @@ class Item extends BaseObject {
|
|||||||
$like = array( t("I like this \x28toggle\x29"), t("like"));
|
$like = array( t("I like this \x28toggle\x29"), t("like"));
|
||||||
$dislike = array( t("I don't like this \x28toggle\x29"), t("dislike"));
|
$dislike = array( t("I don't like this \x28toggle\x29"), t("dislike"));
|
||||||
if ($shareable)
|
if ($shareable)
|
||||||
$share = array( t('Share this'), t('share'));
|
$share = array( t('Share This'), t('share'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strcmp(datetime_convert('UTC','UTC',$item['created']),datetime_convert('UTC','UTC','now - 12 hours')) > 0)
|
if(strcmp(datetime_convert('UTC','UTC',$item['created']),datetime_convert('UTC','UTC','now - 12 hours')) > 0)
|
||||||
|
@ -1482,7 +1482,7 @@ function get_plink($item,$conversation_mode = true) {
|
|||||||
if(x($item,$key)) {
|
if(x($item,$key)) {
|
||||||
return array(
|
return array(
|
||||||
'href' => zid($item[$key]),
|
'href' => zid($item[$key]),
|
||||||
'title' => t('link to source'),
|
'title' => t('Link to Source'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -352,7 +352,7 @@ function events_content(&$a) {
|
|||||||
'is_first'=>$is_first,
|
'is_first'=>$is_first,
|
||||||
'item'=>$rr,
|
'item'=>$rr,
|
||||||
'html'=>$html,
|
'html'=>$html,
|
||||||
'plink' => array($rr['plink'],t('link to source'),'',''),
|
'plink' => array($rr['plink'],t('Link to Source'),'',''),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user