Commit ac6b9dc8 authored by Hugh Davenport's avatar Hugh Davenport Committed by Gerrit Code Review
Browse files

Merge "Bug #1051497 Changed journal entry to use plural"

parents 24eff3e9 588063dc
......@@ -96,6 +96,11 @@ $string['postedon'] = 'Posted on';
$string['postedbyon'] = 'Posted by %s on %s';
$string['posttitle'] = 'Title';
$string['posts'] = 'entries';
$string['nposts'] = array(
'1 entry',
'%s entries',
);
$string['publish'] = 'Publish';
$string['unpublish'] = 'Unpublish';
$string['publishfailed'] = 'An error occurred. Your entry was not published.';
......
......@@ -2,7 +2,7 @@
<tr class="{cycle name=rows values='r0,r1'}">
<td colspan="2">
<div class="fr">
<span class="entries"><a href="{$WWWROOT}artefact/blog/view/?id={$blog->id}">{$blog->postcount}{if $blog->postcount == 1}{str tag=post section=artefact.blog}{else}{str tag=posts section=artefact.blog}{/if}</a></span>
<span class="entries"><a href="{$WWWROOT}artefact/blog/view/?id={$blog->id}">{str tag=nposts section=artefact.blog arg1=$blog->postcount}</a></span>
<span class="newentry"><a href="{$WWWROOT}artefact/blog/post.php?blog={$blog->id}" class="btn">{str tag=addpost section=artefact.blog}</a></span>
<span class="btns2">
{if $blog->locked}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment