summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-28 01:33:09 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-28 01:33:09 +0200
commitec83fef9b7ae84cd6f61b0caa4113e1bc7480e01 (patch)
tree59d0ec944f3c74a66e8ac4f44593b7b89335bc34 /scripts
parentec7ab3af4dc4d16e2e09205ce88671d7d48b1084 (diff)
Take trailing newline out of i18n.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/restoreuser.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/restoreuser.php b/scripts/restoreuser.php
index 363ef42fb..de3816dd5 100644
--- a/scripts/restoreuser.php
+++ b/scripts/restoreuser.php
@@ -57,7 +57,7 @@ function getActivityStreamDocument()
throw new Exception("File '$filename' not readable.");
}
- printfv(_("Getting backup from file '$filename'.\n"));
+ printfv(_("Getting backup from file '$filename'.")."\n");
$xml = file_get_contents($filename);
@@ -79,19 +79,19 @@ function importActivityStream($user, $doc)
if (!empty($subjectEl)) {
$subject = new ActivityObject($subjectEl);
- printfv(_("Backup file for user %s (%s)\n"), $subject->id, Ostatus_profile::getActivityObjectNickname($subject));
+ printfv(_("Backup file for user %s (%s)")."\n", $subject->id, Ostatus_profile::getActivityObjectNickname($subject));
} else {
throw new Exception("Feed doesn't have an <activity:subject> element.");
}
if (is_null($user)) {
- printfv(_("No user specified; using backup user.\n"));
+ printfv(_("No user specified; using backup user.")."\n");
$user = userFromSubject($subject);
}
$entries = $feed->getElementsByTagNameNS(Activity::ATOM, 'entry');
- printfv(_("%d entries in backup.\n"), $entries->length);
+ printfv(_("%d entries in backup.")."\n", $entries->length);
for ($i = $entries->length - 1; $i >= 0; $i--) {
try {