Merge remote branch 'origin/master'
This commit is contained in:
commit
2b869fa23f
@ -106,8 +106,10 @@ class OthersettingsAction extends AccountSettingsAction
|
|||||||
$services[$name]=$name;
|
$services[$name]=$name;
|
||||||
if($value['freeService']){
|
if($value['freeService']){
|
||||||
// TRANS: Used as a suffix for free URL shorteners in a dropdown list in the tab "Other" of a
|
// TRANS: Used as a suffix for free URL shorteners in a dropdown list in the tab "Other" of a
|
||||||
// TRANS: user's profile settings. This message has one space at the beginning. Use your
|
// TRANS: user's profile settings. Use of "free" is as in "open", indicating that the
|
||||||
// TRANS: language's word separator here if it has one (most likely a single space).
|
// TRANS: information on the shortener site is freely distributable.
|
||||||
|
// TRANS: This message has one space at the beginning. Use your language's word separator
|
||||||
|
// TRANS: here if it has one (most likely a single space).
|
||||||
$services[$name].=_(' (free service)');
|
$services[$name].=_(' (free service)');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -546,7 +546,10 @@ class ActivityObject
|
|||||||
if (!empty($this->title)) {
|
if (!empty($this->title)) {
|
||||||
$name = common_xml_safe_str($this->title);
|
$name = common_xml_safe_str($this->title);
|
||||||
if ($tag == 'author') {
|
if ($tag == 'author') {
|
||||||
$xo->element(self::NAME, null, $name);
|
// XXX: Backward compatibility hack -- atom:name should contain
|
||||||
|
// full name here, instead of nickname, i.e.: $name. Change
|
||||||
|
// this in the next version.
|
||||||
|
$xo->element(self::NAME, null, $this->poco->preferredUsername);
|
||||||
} else {
|
} else {
|
||||||
$xo->element(self::TITLE, null, $name);
|
$xo->element(self::TITLE, null, $name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user