From bfc568967b265a01a256197d6e33c82710f9d21f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Fleury Date: Wed, 30 Nov 2011 18:06:36 +0100 Subject: [PATCH] Fix issue 765. --- src/IDF/Commit.php | 2 +- src/IDF/Issue.php | 4 ++-- src/IDF/IssueComment.php | 2 +- src/IDF/Review/Comment.php | 2 +- src/IDF/Review/Patch.php | 2 +- src/IDF/Upload.php | 2 +- src/IDF/WikiPage.php | 4 ++-- src/IDF/templates/idf/register/index.html | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/IDF/Commit.php b/src/IDF/Commit.php index 0e724ad..aea863c 100644 --- a/src/IDF/Commit.php +++ b/src/IDF/Commit.php @@ -235,7 +235,7 @@ class IDF_Commit extends Pluf_Model -
'.sprintf(__('Commit %s, by %s'), ''.$this->scm_id.'', $user).'
'; +
'.sprintf(__('Commit %s, by %s'), ''.$this->scm_id.'', $user).'
'; return Pluf_Template::markSafe($out); } diff --git a/src/IDF/Issue.php b/src/IDF/Issue.php index 8d1ed34..5817775 100644 --- a/src/IDF/Issue.php +++ b/src/IDF/Issue.php @@ -211,7 +211,7 @@ class IDF_Issue extends Pluf_Model $ic = (in_array($this->status, $request->project->getTagIdsByStatus('closed'))) ? 'issue-c' : 'issue-o'; $out .= sprintf(__('Issue %3$d, %4$s'), $url, $ic, $this->id, Pluf_esc($this->summary)).''; $out .= "\n".' -
'.sprintf(__('Creation of issue %d, by %s'), $url, $ic, $this->id, $user).'
'; +
'.sprintf(__('Creation of issue %d, by %s'), $url, $ic, $this->id, $user).'
'; return Pluf_Template::markSafe($out); } @@ -343,4 +343,4 @@ class IDF_Issue extends Pluf_Model } Pluf_Translation::loadSetLocale($current_locale); } -} \ No newline at end of file +} diff --git a/src/IDF/IssueComment.php b/src/IDF/IssueComment.php index dd4edd8..206f9f0 100644 --- a/src/IDF/IssueComment.php +++ b/src/IDF/IssueComment.php @@ -177,7 +177,7 @@ class IDF_IssueComment extends Pluf_Model } $out .= ''; $out .= "\n".' -
'.sprintf(__('Comment on issue %d, by %s'), $url, $ic, $issue->id, $user).'
'; +
'.sprintf(__('Comment on issue %d, by %s'), $url, $ic, $issue->id, $user).'
'; return Pluf_Template::markSafe($out); } diff --git a/src/IDF/Review/Comment.php b/src/IDF/Review/Comment.php index 762973d..e247808 100644 --- a/src/IDF/Review/Comment.php +++ b/src/IDF/Review/Comment.php @@ -138,7 +138,7 @@ class IDF_Review_Comment extends Pluf_Model $ic = (in_array($review->status, $request->project->getTagIdsByStatus('closed'))) ? 'issue-c' : 'issue-o'; $out .= sprintf(__('Review %3$d, %4$s'), $url, $ic, $review->id, Pluf_esc($review->summary)).''; $out .= "\n".' -
'.sprintf(__('Update of review %d, by %s'), $url, $ic, $review->id, $user).'
'; +
'.sprintf(__('Update of review %d, by %s'), $url, $ic, $review->id, $user).'
'; return Pluf_Template::markSafe($out); } diff --git a/src/IDF/Review/Patch.php b/src/IDF/Review/Patch.php index a98f49d..4acb772 100644 --- a/src/IDF/Review/Patch.php +++ b/src/IDF/Review/Patch.php @@ -150,7 +150,7 @@ class IDF_Review_Patch extends Pluf_Model $ic = (in_array($review->status, $request->project->getTagIdsByStatus('closed'))) ? 'issue-c' : 'issue-o'; $out .= sprintf(__('Review %3$d, %4$s'), $url, $ic, $review->id, Pluf_esc($review->summary)).''; $out .= "\n".' -
'.sprintf(__('Creation of review %d, by %s'), $url, $ic, $review->id, $user).'
'; +
'.sprintf(__('Creation of review %d, by %s'), $url, $ic, $review->id, $user).'
'; return Pluf_Template::markSafe($out); } diff --git a/src/IDF/Upload.php b/src/IDF/Upload.php index 2a78785..6a28c1b 100644 --- a/src/IDF/Upload.php +++ b/src/IDF/Upload.php @@ -201,7 +201,7 @@ class IDF_Upload extends Pluf_Model $out .= sprintf(__('Download %2$d, %3$s'), $url, $this->id, Pluf_esc($this->summary)).''; $out .= ''; $out .= "\n".' -
'.sprintf(__('Addition of download %d, by %s'), $url, $this->id, $user).'
'; +
'.sprintf(__('Addition of download %d, by %s'), $url, $this->id, $user).'
'; return Pluf_Template::markSafe($out); } diff --git a/src/IDF/WikiPage.php b/src/IDF/WikiPage.php index 23340f0..021115b 100644 --- a/src/IDF/WikiPage.php +++ b/src/IDF/WikiPage.php @@ -195,7 +195,7 @@ class IDF_WikiPage extends Pluf_Model $user = $stag->start($this->get_submitter(), $request, '', false); $out .= sprintf(__('%2$s, %3$s'), $url, Pluf_esc($this->title), Pluf_esc($this->summary)).''; $out .= "\n".' -
'.sprintf(__('Creation of page %s, by %s'), $url, Pluf_esc($this->title), $user).'
'; +
'.sprintf(__('Creation of page %s, by %s'), $url, Pluf_esc($this->title), $user).'
'; return Pluf_Template::markSafe($out); } @@ -221,4 +221,4 @@ class IDF_WikiPage extends Pluf_Model $tmpl = new Pluf_Template('idf/wiki/feedfragment.xml'); return $tmpl->render($context); } -} \ No newline at end of file +} diff --git a/src/IDF/templates/idf/register/index.html b/src/IDF/templates/idf/register/index.html index 8bf676a..a5f9f64 100644 --- a/src/IDF/templates/idf/register/index.html +++ b/src/IDF/templates/idf/register/index.html @@ -34,7 +34,7 @@ {if $form.f.terms.errors}{$form.f.terms.fieldErrors}{/if} {$form.f.terms|unsafe} {$form.f.terms.labelTag}
-{blocktrans}Read the terms and conditions – basically "Please be nice, we respect you".{/blocktrans} +{blocktrans}Read the terms and conditions – basically "Please be nice, we respect you".{/blocktrans}