Use positional arguments everywhere where we put more than one

string into a translatable sentence to ease the work on more
exotic translations.
This commit is contained in:
Jean-Philippe Fleury
2011-12-02 01:13:54 +01:00
committed by Thomas Keller
parent bfc568967b
commit 7342566c6e
14 changed files with 42 additions and 41 deletions

View File

@@ -302,7 +302,7 @@ class IDF_Views_Source
throw new Exception('could not retrieve commit object for '. $commit);
}
$title = sprintf(__('%s Commit Details'), (string) $request->project);
$page_title = sprintf(__('%s Commit Details - %s'), (string) $request->project, $commit);
$page_title = sprintf(__('%1$s Commit Details - %2$s'), (string) $request->project, $commit);
$rcommit = IDF_Commit::getOrAdd($cobject, $request->project);
$diff = new IDF_Diff($cobject->diff, $scm->getDiffPathStripLevel());
$cobject->diff = null;