fix some double-escaped %s leading to broken links right smack on the main page
This commit is contained in:
parent
b54a25c895
commit
e929bdc2ba
|
@ -225,10 +225,10 @@ class PublicAction extends Action
|
||||||
function showAnonymousMessage()
|
function showAnonymousMessage()
|
||||||
{
|
{
|
||||||
if (! (common_config('site','closed') || common_config('site','inviteonly'))) {
|
if (! (common_config('site','closed') || common_config('site','inviteonly'))) {
|
||||||
$m = _('This is %%%%site.name%%%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
|
$m = _('This is %%site.name%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
|
||||||
'based on the Free Software [StatusNet](http://status.net/) tool. ' .
|
'based on the Free Software [StatusNet](http://status.net/) tool. ' .
|
||||||
'[Join now](%%%%action.register%%%%) to share notices about yourself with friends, family, and colleagues! ' .
|
'[Join now](%%action.register%%) to share notices about yourself with friends, family, and colleagues! ' .
|
||||||
'([Read more](%%%%doc.help%%%%))');
|
'([Read more](%%doc.help%%))');
|
||||||
} else {
|
} else {
|
||||||
$m = _('This is %%site.name%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
|
$m = _('This is %%site.name%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
|
||||||
'based on the Free Software [StatusNet](http://status.net/) tool.');
|
'based on the Free Software [StatusNet](http://status.net/) tool.');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user